Archive for January, 2008

SOLVED: Opening a .DMG file in Finder won’t mount it

Monday, January 14th, 2008

Recently, my MacBookPro decided that the only way I was allowed to open .DMG disk image files was by manually starting Disk Utility.app, and opening the DMG file from there.

I finally discovered the solution: Simply do a “Get Info” on any DMG file, and set the default application to DiskImageMounter.app, and your problems will be solved.

Elbow Room, and ez_temp_conversion: a tiny Rails Plugin

Tuesday, January 8th, 2008

It feels good to stretch out.

Also, I committed an almost-worthless plugin for Rails called ez_temp_conversion which allows for basic Fahrenheit-to-Celsius (and vice versa) temperature conversion.

>> 32.f_to_c
=> 0.0
>> 37.c_to_f
=> 98.6

./script/plugin install http://svn.halogenlabs.com/rails_plugins/ez_temp_conversion/

It’s really a dead-simple monkeypatch to Numeric, so it’s not really specific to Rails. It should probably be bundled up as a gem or something, so I will get to that soon.