Posts

  • WordPress update script

    This is a script to update a WordPress blog with the latest stable version from Subversion.

  • Re: Let That Be a Lesson To You, Son: Never Upgrade.

    Background: Jeff Atwood uses anecdotal evidence to show that Linux audio capabilities suck.

  • Subversion checkout script

    Here's a simple script to check out all subversion repositories on a remote host. It requires that you have SSH access on the host, to be able to fetch the repository names (otherwise you can hardcode them in $repositories). You'll also need to have Perl installed.

  • Subversion backup script

    Following up on the good work of Jean-Francois Roy, here's my slightly extended version of his script (Update: sorry, the link is dead) to backup all Subversion repositories to a remote host.

  • Recursive symbolic link creation script

    This might be useful if you keep your settings (.bashrc, .subversion/config, etc.) outside the home directory, like in a Subversion repository. Just copy the following script to the repository directory corresponding to $HOME and run
    /path/to/make-links.sh
    to create symlinks from ~ to each file in the repository, recursively.

  • HOWTO: Synchronizing vCard address books with Nokia 6300 via Bluetooth on Ubuntu Linux

    Edit: After learning a bit of sed magic, this is now a single script.

  • ISO mount script for Nautilus & shell

    Final update: This stuff has moved to GitHub - There's better code and information there.

  • Reader's diggest: 2001, 2010, 2061 and 3001 by Arthur C. Clarke

    2001: Aliens have left a monolith to monitor and help mankind's evolution towards intelligence.

  • How to serve vCards with the right encoding

    It seems that some programs which recognize vCards only support the ISO-8859-1 character set. So if you're serving vCards on your web site, you might want to check if the encoding is correct. Try inserting a non-ASCII character like "å" in a note or address, and see if it comes out as a strange character when loading it from the web site.

  • Convert XHTML to HTML with XSLT

    After fiddling a bit with the "copy-no-ns" XSLT template, I've ended up with a style sheet which converts XHTML to HTML 4.01 (Update: Unfortunately this site is long gone. Sorry for the inconvenience!), so you can use it as a post-processing step when serving to Internet Explorer. Note that this has not been tested with alternative namespaces such as SVG or MathML.