Okay, I’ll admit it. I’m pretty terrible at getting up in the morning. (Actually, it’s probably that I’m terrible at going to bed in the evening, but that’s semantics.) I knew that I was totally unable to wake up on a morning, so I’d set my radio alarm for an hour before I needed to [...]
Read MoreFacebook Events in Google (Apps) Calendar
I subscribe to a number of third-party calendars in my own Google Calendar, one of which being my Facebook events. However, there are a couple of issues to work around to get everything working perfectly. If a friend has marked an event as “private”, Google Calendar only shows free/busy information because the iCal event has [...]
Read MoreHow I Use Smart Playlists to Manage My iTunes Library
I have a fair amount of music in my library, and because I’m a massive nerd I like to keep it in some sort of order. (My pre-iTunes library has some 20,000 tracks, half of which are utter garbage. I’m slowly moving over the good stuff.) All of my tracks are managed in my iTunes [...]
Read MoreUsing Ant and Phing in the same repository
Here’s the scenario: you use Apache Ant for some of your automated build process, but you also have some tools in Phing. You run both ant and phing from your repository root. Because you use Ant most, the Ant targets are in build.xml, and Phing has to use phing.xml. Sure, you can run phing -f [...]
Read MoreCrooked Ways
Yesterday was Crooked Ways festival at Pontefract racecourse — and what a great festival it was! Plenty of music, plenty of beer, and plenty of sun! It’s the first time they’ve held the festival, but Ponte racecourse was a great venue, and it certainly sounds like it’ll be on again next year — so let’s [...]
Read MoreEverything Changes
Motivated by a number of reasons, I’ve begun to move everything from my old VPS to what has been my development server until recently. It’s been a complete digital spring-clean of all the old sites I used to maintain and hopefully the result should be an improvement. Here’s a list of the main changes: Good [...]
Read MoreLeeds Festival 2010
Just recovered, so thought I’d post some ramblings for this year. Various high points were: Colin; gin jam; Jacob and Alf shopping for nothing but sweets; the wind and its army of shopping bags; back on form with brie and crackers; staying at the main stage missing plenty of good bands; acting like we were [...]
Read MoreWord Clock v2
I’ve seen a few nice-looking representations of clocks around, but when I saw Gumuz’s word clock I though I could make some improvements to it. Here’s a couple of the changes: Rewrote using MooTools (only because I know it better, I’m currently developing in it, and it gave me a chance to play with Google’s [...]
Read MoreMootools Hash.setFromPath
MooTools More implements a getFromPath method in Hash.Extras, but doesn’t provide a corresponding setter. Here’s an implementation: Hash.implement({ setFromPath: function(path, value) { var source = this; var prop = ”; path.replace(/[([^]]+)]|.([^.[]+)|[^[.]+/g, function(match) { if (!source) return; prop = arguments[2] || arguments[1] || arguments[0]; if (!(prop in source)) source[prop] = {}; lastSource = source; [...]
Read More