Monthly Archives: May 2009

adding macruby to multiruby versions

Modified from Rob Seaman’s post. multiruby is a great way to make sure your ruby code runs on the multitude of ruby versions (it’s part of ZenTest). It doesn’t install macruby by default. Here are instructions on how to set it up. Since I installed macruby from the package installer my macruby files are in /Library/Frameworks/MacRuby.framework/Versions/0.4/. If [...]
Posted in ruby, tips | 1 Comment

tweet twitter util – cli feedback on tweet length

One of the nice things about the Twitter web-interface is that it gives you feedback on the number of characters you’ve typed so far. Since I use the command-line twitter gem (by John Nunemaker) I miss out on this feature and find myself using echo and wc to make sure I’m not over the limit. To [...]
Posted in ruby, shell, tips | Leave a comment

temporarily undo commit(s) on a remote server

I do not claim to be a wiz at git, and I do not ensure what I am writing about, but it seemed to work for me, and I appreciate any comments. My goal was to temporarily revert one or many commits that I had pushed to the remote server. http://cheat.errtheblog.com/s/git — specifically the “Fix mistakes / [...]
Posted in programming | Leave a comment