I get distracted easily, so I wrote a little script to toggle the visibility of the desktop icons on Mac OSX. Here it is: #!/bin/bash CURRENT=$(defaults read com.apple.finder CreateDesktop 2>/dev/null || echo 1) defaults write com.apple.finder CreateDesktop $((! $CURRENT)) killall …
Simple ‘watch’ command for Mac OS X
I've been disappointed that the Mac OS doesn't provide a watch command. It's a very useful command, so its absence from the operating system has always baffled me. Well, after using simple bash before, I finally implemented a better replacement in python. Here is version 0.1 …
HOW TO: Fix “Home” and “End” keys in the Mac Terminal
The Mac Terminal.app is one of the best Terminals I have used, but it has some annoying quirks like not supporting standard key definitions out of the box. The most frustrating ones are Home and End. In nearly every OS, Home has meant "go to the beginning of the line" and End has meant "go to the …
Continue Reading about HOW TO: Fix “Home” and “End” keys in the Mac Terminal
HOW TO: Create Custom Versions of TextWrangler or other Mac Applications
I maintain two separate workflows. On the one hand, I do a lot of writing, and I like to work in plain text for the most part. As a result TextWrangler is my favorite Mac text editor for that. I have it configured to be all black background, no margins, light color text, etc. It's perfect for …
Continue Reading about HOW TO: Create Custom Versions of TextWrangler or other Mac Applications