Capistrano Hangs on Mac OS X Leopard

I use Capistrano to deploy my webapps and have been for a while. I also deploy right from my laptop quite frequently. So I was a little taken aback when I could deploy in one place and not in another. It turned out that Capistrano was having issues with deploying to multiple servers. In fact, it turned out that the problem had the appearance of being Capistrano, but in actuality, it was Net-SSH. The whole issue can be tracked via the Lighthouse ticket here. I’m going to show you how to diagnose if you have this problem faster and how to fix it.
Read the rest of this entry »

Posted in Mac, Ruby. Tags: , , . View Comments

Count Instead of Sequence

I use Bash one liners a lot. I think they are an important part of any programmers and sysadmins toolkit. If you can’t write a bash one liner, even a simple iterator, then you really need to learn. I promise it will make your life infinitely more pleasant.

Frequently I find myself writing things that require a loop or an increment of numbers. A good example would be like something that would walk over my web servers and check their uptime, load averages, etc. Using seq, that’s easy. But since Mac OS X doesn’t come with the seq command, I would previously improvise.
Read the rest of this entry »

Posted in Mac. Tags: , . View Comments

Textmate Minimap Plugin

My editor of choice for most of what I do on the Mac (when I’m not in the shell using Vim) is Textmate. I recently came across a neat plugin called the Textmate Minimap. Essentially this plugin opens a map across the side of your Textmate window (like another drawer on the other side) and allows you to scroll full screens. You can move the editing window screen by screen in the minimap. This is equivalent to a visual page down.
Read the rest of this entry »

Posted in Mac. Tags: , , . View Comments

Apple Steps Up With Multitouch Mouse

A while ago I wrote about how Apple needed an external multi-touch solution and that you can use your iPhone until then. Apple did it and now released the Magic Mouse.

To quote Apple, “It’s the world’s first multi-touch mouse.” It’s a wireless mouse that attaches to any computer that has a keyboard, mouse and Bluetooth via Bluetooth. It’s sleek just like everything else Apple makes. But the best part is that (as of now), its only $69. Good work Apple.

I could go on and on about why I think its cool and what it can do, but why waste time on my website reading a summary, just check it out on Apple’s web site: http://www.apple.com/magicmouse/

Posted in Mac. Tags: , . View Comments