Skip to main content

Blogs

2012


Perl, Wildcards and the Windows Command Line

·1 min

When developing for multiple platforms, its always the little things that catch you out.

Heres one example I found while developing gcal, a Command Line Interface to Google Calendar. On Unix (including Mac OS X shells) wildcard expansion is done by the shell, and then the expanded list of files is passed on to the program being run. On Windows, the shell doesn’t do any expansion, and it’s up to programs to do the expansion1.

2011


mp4meta - Apply iTunes-like metadata to an mp4 file

·2 mins

Recently I decided to digitise all my DVD’s and add them to iTunes, so I can view them on my iPad and my (soon to be purchased) Apple TV. Getting the videos off a DVD is easy with Handbrake, but iTunes has no idea what video file I have just imported, and therefore just uses its filename as the title. Not great.

Natural Scrolling

·1 min

It’s not that I can’t learn the new “natural scrolling”. But I don’t just use a Mac, and I wan’t to scroll the same way on my Mac, Linux and Windows PC’s.

Completed the London to Cambridge Bike Ride 2011

·1 min

Last weekend I completed the 2011 London to Cambridge Bike Ride in roughly 4 hours 30 mins, including a half hour stop about half way. So I guess thats an average of 15 Mph while cycling, which is pretty good :-)