Execute Command on All Files in Directory Structure by Extension

Monday, December 29th, 2008

I’ve been looking into converting a bunch of OGG files to MP3 files for a friend using BASH.  As the files are organised in a directory structure, I need to traverse the directory structure, and run lame against each file to convert it.  Having a look around for BASH scripts to traverse a directory structure, [...]

TetroGL - OpenGL/C++ tutorial

Sunday, August 31st, 2008

I’m currently planning on a career in games programming and was looking for some beginners’ tutorials in OpenGL using C++ and found a goodun over at code project.  It’s a 3 part tutorial, and as I’m writing this the first two parts have been posted, complete with code and Visual Studio project files.  As a [...]

When a Leap Year Isn’t a Leap Year

Monday, August 18th, 2008

Have you ever had one of those moments when you realise that something you held as a fundamental law of the universe doesn’t work the way you thought it did?  Well I have, today in fact, while writing a batch script that needed to be aware of leap years.  Multiple choice question (I promise it’s [...]

Andrew McCluskey’s home on the web