boakes.org

Archive for the “Aside” Category

Analysing SVN Checkins

Posted on April 16th, 2009 by Rich

Are there any tools out there that can be used to analyse SVN check-ins? I thinking it would be interesting to run a series to checks to be able to understand metrics such as how many characters of code per day does each developer on a project commit; what percentage of committed content is comment, [...]

iPhone Power Converter

Posted on April 8th, 2009 by Rich

I’ve been using a Scosche Power Converter in the car for just over a month now. It converts the power output provided by from an older “auxiliary input” that connects an iPod to the stereo, into a power source that’s compatible with the iPhone 3G. Apple, in their wisdom, decided the old mechanism was too [...]

Reset MySQL

Posted on April 3rd, 2009 by Rich

Sometimes you forget the root password for your MySQL instance (because you don’t write it down, that would be silly). When this happens it’s useful to be able to disable the authentication and authorization engine. On Debian Linux I recommend a small script. /etc/init.d/mysql stop /etc/init.d/mysql start –skip-grant-tables It can also be useful to have [...]