macOS Quick Look plugins for JavaScript, Markdown, JSON, …

The repository sindresorhus/quick-look-plugins has gathered a collection of some handy macOS Quick Look Plugins. Pictured above is a quick look preview of a JSON file. Installation of the plugins is possible via Homebrew. sindresorhus/quick-look-plugins → (via Freek, quite some time ago)

Mission Control – Remote Config Utility for iOS, OSX, …

Have you ever wished you could change some config parameter for your app without deploying a new version? Of course you have! Wouldn’t it be great if you had whole config for your app in the cloud and change it as you see fit? Of course it would! Well, go ahead, just put some config …

Drobo vs OS X Mavericks

After upgrading to Mavericks your Drobo might not show up in Finder (here it did just fine, using a Drobo FS800 (aka 2nd gen Drobo) connected over Firewire). If that happens, do either one of these to get your Drobo visible in Finder again: Unmount the Drobo from Disk Utility (where it by magic will …

Autocomplete git branch name

Turns out it’s possible to enable autocompletion of git branch names when working on the command line. The script can be automatically installed on OS X using these commands: $ curl -G https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.sh $ echo ‘source ~/.git-completion.sh’ >> ~/.bash_profile Don’t forget to re-open any already open Terminal windows. (via @decthomas) UPDATE: I’ve been …

Face Detection on OS X and iOS

Recently I realized that Apple added support for face detection in OS X Lion and iOS 5. Apple’s face detection is exposed through Core Image, the super-useful image manipulation library. Two classes are important: CIDetector and CIFeature (along with its subclass, CIFaceFeature). With a little experimenting one night, I was able to get a sample …

Zero-config development with Apache’s VirtualDocumentRoot and xip.io

# Use name-based virtual hosting. NameVirtualHost *:80 UseCanonicalName Off # ~/Sites/ vhost configuration – sends foo.bar.dev to ~/Sites/bar/foo <VirtualHost *:80> VirtualDocumentRoot /Users/dave/Sites/%2/%1 <Directory "/Users/dave/Sites"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> What that VirtualDocumentRoot does is map the above company and project to the %2 and %1 variables, respectively. …