Since 2012, all apps on the Mac App Store must run in an app sandbox, which restricts access to system resources unless explicitly required. The secure sandbox isolates the app and defines access controls, protecting users from malicious code with undesired behaviour.

Here's how to setup a sandbox for an app downloaded from outside the Mac App Store.

Continue reading...

Want to extract files from a macOS installer package with a .pkg extension?

Continue reading...

Wine 1.9.22 development (dated Oct 28, 2016) has been released! See the release notes for changes. Alas, I encountered errors trying to compile it "on top" of the Wine 1.9.21 installation, following the steps from my post Compiling Wine from scratch. I spent a whole day searching for the problem, and resolved it as below.

Continue reading...

So a couple of days ago, I documented how I compiled Wine 1.9.21 with Retina Mode from scratch on macOS Sierra. After that I though I might as well figure out how to bundle all these files into a .app bundle, which Finder presents as if it were a single file.

Continue reading...

I have been using WineBottler to run my favorite Windows applications in macOS. Here, I describe how I compiled Wine from scratch and configure for my MacBook Pro's Retina Display.

Continue reading...

Here is my list of free, macOS apps that I have installed and use often. Many are also open source! When I first got my Mac I searched the internet for lists of useful apps but found most outdated. I decided to compile this list as part of a cleanup and "audit" of what's useful IMHO.

Continue reading...

My Time Machine backups have started to take longer and longer to process and complete. I realized that excluding folders containing temporary, frequently changing and large files would quite dramatically speed it up.

Continue reading...

Recently I realized that the latest macOS Sierra 10.12 upgrade also updated Apache and PHP to newer revisions (2.4.23 and 5.6.24 respectively), but reverted to the default configurations. My previous post on Enabling Apache and PHP on OS X 10.11 needed a slight change too.

Continue reading...

I've been a long time iOS 1Password user, but recently started looking at alternatives. I discovered KeePass, KeeWeb and MiniKeePass, all open source.

Continue reading...

I recently discovered an alternative to remote control my Windows 7/10 desktop PC, instead of using Microsoft Remote Desktop. This method requires a computer with a modern NVIDIA graphics card with GameStream and works with iOS and macOS using a client called Moonlight!

Continue reading...

Safari 10 on macOS Sierra has a useful Picture-in-Picture (PiP) feature to playback HTML5 videos in a small "always-on-top" window, just like on iPads with iOS 9+. To activate, just right-click a playing video and select Enter Picture-in-Picture. However, not all web videos seem to allow this, as they pop up their own menus without the PiP option. Here are two ways to try to enable PiP.

Continue reading...

I've updated my MacBook to macOS Sierra, and it's rather underwhelming and half-hearted IMHO. And yes, dear eagle-eyed reader, Apple capitalizes the Mac in MacBook but not the Mac in macOS - what a confusing naming (lack-of-)convention. Still, macOS is a better name than OS X (can you say OS 10 10.X instead?)

Continue reading...

Apps, even after being removed from the Launchpad or Applications sidebar in Finder, do leave preferences and other files scattered around. Where are they, typically, and how does one find them?

Continue reading...

My previous Terminal Tweaks post had an incorrect prompt (PS1) setting, that caused lines to wrap on themselves! This is now corrected, with more details on the color options...

Continue reading...

A short list of free tools I find useful for blogging and web development! Includes Microsoft Visual Studio Code, ImageOptim, ForkLift 2 and Commander One.

Continue reading...

Forget the complex or manual steps, or costly tools to get screen shots scaled down from a retina display. I have a shell script that triggers an interactive window screen capture, saves the screen shot (assumed to be 2x retina display), re-sizes it to 1x and compresses the PNG further! Best of all, it does not require paid software or Automator.

Continue reading...

I opted to install Grav via the ZIP package, as documented here. My hosting provider does not give me shell access, so I would not be using git or the Grav Package Manager (GPM), but limiting myself to FTP or the cPanel File Manager.

Continue reading...

16 Oct 2015

OS X Terminal Tweaks

macos howto osx bash    

Some tweaks to my OS X shell (Terminal.app) that I've found useful.

Continue reading...