Our local hospital – Hôpital Kirchberg in Luxembourg – has WiFi access available to patients, provided by P&T. Sadly it costs an unseductive €28 per day, or €7.50 per hour. As contrast, P&T offer home broadband from €29 per month.
Convert all your Apple Lossless files to FLAC
I’ve written a Python script that converts audio files from Apple Lossless (.m4a) to FLAC (.flac) format. Crucially, it copies meta-data, with the exception of the cover art (for now at least).
Google Sitemap Gen v1.4 ebuild
It’s over a year since it was released, but for Gentoo users, I’ve posted an ebuild for version 1.4 of the Google Sitemap Generator in my Portage overlay. You’ll find it at www-misc/goog-sitemapgen.
In other news, I want to apologise for my content-free blatherings about the Apple iPhone. I don’t think anyone reads this blog so I’m talking to myself, but I want to make my contrition public even so, for future readers :-)
Expire Junk script
Here is a small Python script to expire junk mail in an IMAP mailbox.
Apple Mail can automatically delete old junk mail, but I also use KMail and SquirrelMail, and it’s often a long wait between the times I load up Mail, so I need something else. It requires Python 2.4 (perhaps earlier, but I’ve not tried it), and that’s it. Run it with a --help to get started.
Incidentally, the script is also in a Bazaar repository, and you can branch it if you want:
bzr branch \http://www.premolo.net/~gavin/Scripts
Right now the script doesn’t care about SSL (I run it on the same box as my Courier IMAP server) and it uses CRAM-MD5 authentication which may not be to your taste. It’s not had a lot of testing either, so be careful, and take some backups first :-) It’s in the public domain though, so happy hacking, and I’m more than willing to merge patches.
At first sight, the Apple iPhone is a work of genius
I just read the announcement of the Apple iPhone and my head is spinning. The device is jammed packed with good ideas and is beautifully styled. Here’s a bunch of clever people radically and bravely thinking about the problems we all have not just with phones and music players, but mainstream portable electronics.