Tue, 24 Nov 2009
- An Aussie
- Living in Frankfurt am Main (well, Klein-Karben actually, but who would know where that is?)
- Working in IT, network operations.
[2009/11/24 / meta permanent link]
Thu, 12 Jun 2008
Daily Links Automated
As can be seen from the previous post
I'm back!
The best bit is that post was created automatically. I use del.icio.us to bookmark
interesting things I read day to day. It has support for daily links posted to your blog but
that requires XML-RPC support which Blosxom doesn't have out of the box.
So I wrote a small
perl script which downloads links daily and creates a post if there are any
for that day. Most of the heavy lifting is done by Net::Delicious (which I
turned into a deb package
for Ubuntu Hardy) and to save time a lot of inspiration was drawn from Edward de Leau's WordPress
script.
Final problem. I want it to run at midnight UTC (del.icio.us' "get by date" API
works in UTC) in order to grab all the links for an entire day when they are
fresh, fresh, fresh. But how do you run this out of CRON on a system that is in
timezone "Australia/Sydney" with all it's daylight savings fun, fun, fun?
# Only want this to run just before midnight GMT 59 9 * * * /bin/date +\%z | /bin/grep -q 1000 && /path/to/delicious2blosxom.pl 59 10 * * * /bin/date +\%z | /bin/grep -q 1100 && /path/to/delicious2blosxom.pl
Run it twice a day but check for the current UTC offset first. The first covers
normal Sydney time, the second daylight savings. Sweet!
[2008/06/12 / meta permanent link]
Sat, 02 Feb 2008
Contacting Marty
Easiest is probably email: marty@supine.com.
There is also my presence on the various social networking sites: Twitter; Facebook; LinkedIn.
[2008/02/02 / meta permanent link]
Wed, 30 Jan 2008
Back blogging again...
So, it's been a few years. A few things got in the way of having enough spare
time to write anything down. Little things, like no longer being a student and
starting a full time job. Meeting a girl and marrying her. Buying a house.
Having a baby. Little things...
It's taken me a little whilst to even get started again because of the old
manky MovableType install which had been my previous platform. I've tossed that
all aside in favour of Blosxom. When I find the time (!) I'll try to extract
some of the old entries out and put them here.
[2008/01/30 / meta permanent link]











