Mac command line gold!

Mac command line gold! Copy a file to the clipboard: $ cat ~/.zshrc | pbcopy The contents of my .zshrc are now on the clipboard and I can paste them into any other application (Mail.app, Word, whatever). Paste the clipboard contents to the shell: $ pbpaste > foo.txt Anything that was on the clipboard is […]

Fixing Java tools on Snow Leopard

I was attempting to work with VisualVM and Tomcat over the past few days on Snow Leopard and it was constantly failing. I was getting errors like this: “attach: task_for_pid(59980) failed (5)” I was also getting errors inside VisualVM and from the command like using jmap that went like this: Attaching to process ID 61218, […]

Fixing macbook wake up problems

One of the family Apple notebooks (a Macbook) was having some issues waking up from sleep periodically. It was also having issues when the lid was closed the fan would constantly spin as though the machine was overheating. I took the machine into the only Apple store I trust (the main tech there is pretty […]

Android review and iPhone comparison

Here’s a quick run-down and comparison between the G1 vs. iPhone and Andriod vs. OS X mobile. This is based on side-by-side evaluation with both phones. The phones Keyboard The winner: G1 The G1’s keyboard is awesome. I like it so much better than the iPhones mainly because I can see the whole screen while […]

git completion in zsh

Just figured out how to get git tab completion working in zsh on a Mac. Turns out that the completion scripts use a bunch of extra git commands such as git-ls-files. These commands need to be in your path for the completion to work. If you installed git using the OS X installer, you need […]

Android, iPhone, Java, Objective-C… madness

Russ Teabeault and I were just talking about our recent experiences with Objective-C and developing applications for either the iPhone or OS X. In general, we both agree that Objective-C is necessary, but painful. The language is quasi-dynamic, not very modern and poorly adopted. Let me clarify that a bit. Objective-C is dynamic but lacks […]