[Google]

Poor mans offsite backup

Before I got some proper offsite backup space* I used to make tarballs of files and dump them in my gmail. Not the most elegant solution but it worked and is free (I know about gmailfs, but I could never get it to work reliably).

This is the script I used to send the files:

#!/usr/bin/env [...]

Convert files to UTF-8

I occasionally come across text files with weird squiggles or numbers in them were there should be characters. Usually it’s accented characters, but in extreme cases I’ve seen it happen with speech marks.

The problem of course is that the files are not ASCII, and text files don’t store what character set they were created [...]

Twitter to XMPP (Jabber)

The other day I noticed that irssi (the IRC client I use) had a XMPP plugin. It occurred to me that since I’m on IRC a lot it would be really cool to pull microblog feeds into irssi via this plugin.

For identi.ca this was a doddle, since laconica supports XMPP natively. Twitter however [...]

Backup script v2

I’ve rewritten my backup script in python (it was in bash) in order to make the old backup handling date-based rather than a simple iteration. So it now renames dirs to daily.1, daily2, weekly1, monthly1 for old backups that are one day, two days, one week, one month old etc.

Not being able to use [...]

OPML support for rss2file

I’ve added OPML import/export functions to my little aggregator program rss2file. Was quite a bit more awkward than it should be due to the braindeadness of the format. I’ve no idea whether the import will work beyond the examples I’ve tried it with, because there are no standard attributes. You basically have [...]