Linux / Unix Hacks
I’ve got one of those fancy multimedia keyboards with a special key to pause/resume music. Unfortunately it didn’t seem to work properly with iTunes. It would pause iTunes but not resume, and irritatingly maximised iTunes in the process. This is a little program that does what I want instead. It toggles iTunes playing/pausing without maximising the window and seems more reliable (for me). Download
Somewhere in the upgrades to Windows 7 and the latest iTunes the key has started working properly so this is probably redundant.
A tool for Unix expatriates using Windows. Prints all it’s arguments with \ changed to /. If given a -e flag it executes the command following the -e with all the other arguments mapped. I use it to get Emacs and GNUServ integrating nicely with Visual Studio. Download.
One for the programmers out there. I kept finding I was debugging code using OLE Dates and so kept looking at numbers like 38830 in the debugger and wondering what it was human terms (23rd April 2006 if you must know). I got bored of running Excel and using it for converting the values. This is a command line tool to do the conversion, interpretting each of it’s arguments as a date and printing the human version.
>vbdate 38903 38790 38903 05/07/2006 38790 14/03/2006
This delays the execution of a program by a random amount of time. The time is limited by a the first argument value. There’s probably some shell commands that do this but they weren’t obvious so this is in C. Version 0.1.