Now this is handy. Never open the “Mac App Store” app again: mas-cli is a simple command line interface for the Mac App Store. Designed for scripting and automation. Installation possible via Homebrew: brew install mas mas-cli – Mac App Store command line interface →
Tag Archives: osx
macOS Quick Look plugins for JavaScript, Markdown, JSON, …
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 …
Continue reading “Mission Control – Remote Config Utility for iOS, OSX, …”
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 …
Fluid
OS X hardlink
UPDATE 2013.02.09: Via the comments I’ve come to know that it is possible with ln after all as long as you don’t combine a tilde (˜) and quotes in the source path (which I did because some of my folders have spaces in their name). Just escape any spaces with a \ and the tilde …
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 …
Napkin for Mac
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. …
Continue reading “Zero-config development with Apache’s VirtualDocumentRoot and xip.io”