Gavin Panella

Shell FTW!

without comments

Ha, do this with a GUI:

lsof -p $(ps ux | egrep [/]opt/local | awk '{print $2}' | xargs | sed 's/ /,/g') | fgrep opt/local | awk '{print $9}' | sort -u | xargs port provides | sed 's/.*: //' | sort -u | xargs port -f upgrade

The command line rules!

Read the rest of this entry »

Written by Gavin Panella

September 3rd, 2007 at 9:05 am

Disable Java

without comments

A few weeks ago I disabled Java in every browser I use. No more applets. It feels liberating. Flash might be next.

Read the rest of this entry »

Written by Gavin Panella

July 31st, 2007 at 4:59 pm

WiFi in Luxembourg hospital is expensive, and doesn’t work

without comments

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.

Read the rest of this entry »

Written by Gavin Panella

February 4th, 2007 at 12:39 pm

Convert all your Apple Lossless files to FLAC

without comments

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).

Read the rest of this entry »

Written by Gavin Panella

February 2nd, 2007 at 10:10 pm

Google Sitemap Gen v1.4 ebuild

without comments

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 :-)

Written by Gavin Panella

February 1st, 2007 at 1:06 pm