Tagged with geek

Install Mysql Gem on Leopard

- 2009-01-21 17:09:41

So, I keep having to reinstall mysql5 and rubygems from time to time for various reasons. I always install mysql5 through MacPorts as a dependency for the php5 port (along with various other bits for the LA*P stack).

--More--

GTranslate

- 2009-01-04 09:40:59

I finally wrapped up some code I've been meaning to write for a while, its a wrapper for the Google Translate API. Its also the first serious time I've used method_missing in a class, in this case its to add methods for translating between all the various languages.

--More--

The Shell Meme

- 2008-12-30 18:29:35

I ran across The Shell Meme on Lincoln Stoll's blog, and figured I'd, uh, borrow it.

--More--

Sending Array elements as individual arguments in Ruby

- 2008-12-26 07:25:15

Lets imagine we've got an array of strings, and we want to print it out as a list of strings using printf. (If you're complaining about my logic here, hold fire for just a second good sir/madam.)

--More--

Merry Testing

- 2008-12-25 15:01:54

Just a few examples of the same test written in a few languages. Its testing setting the date on an object that is created in the tests' setup method already. These fall under the unit testing, rather than full-stack testing.

--More--