You’re a programmer? You need Consolas Thu, 4 May 2006 

Microsoft has released the Consolas font for users of Visual Studio 2005. As far as I’m concerned this is a must-have if you spend any time programming.

And now for an extra trick: how to use Consolas as your console window font on XP. Run this command to add Consolas as a valid console font:

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont
" /v 00 /d Consolas

Then reboot, and choose Consolas in the console window preferences.

Batch-editing JPEG headers Fri, 27 Jan 2006 

I am going through the >3000 pictures we took in Antarctica, and noticed that some of them were way out of order. It turns out that one of the cameras’ clocks was set 12 hours off. Then I realized the other camera was set to Pacific time anyway, so really it was five hours off.

A few minutes of searching around later, I found jhead, a command-line JPEG header tool with a very convenient function:

jhead -ta+5:00 *.jpg

This adds five hours to the Date Taken of all the JPG files in a directory. Spiffy. A shout out to Matthias Wandel for making this free tool available. His pipe organ looks pretty neat too! There’s something about computer folks and pipe organs…