Posts

  • Office super-tool: pdftk

    If you scan or print a lot of documents, you have probably used PDF files. They are very nice, but it can be tricky to modify and otherwise handle them. Enter pdftk: great (but small), free (but valuable) and powerful (but simple). It's also open source, which means you can learn it now, and use it the same way in five, ten, or twenty years.

  • Drakensang on Ubuntu 10.04

    Goal: Run Drakensang Gold Edition (AFAIK, version 1.2) German on Ubuntu 10.04 with 5.1 surround sound and nice graphics. As always, YMMV and RTFM apply.

  • SVG example code

    While trying to reduce the size of the CERN Central Library bookmark and getting away from the messy Inkscape SVG, I'll post the resulting parts separately.

  • Library bookmark redesign

    Here's a little hobby project that I've been working on at the CERN Central Library (Update: sorry, the link is dead). Instead of the familiar blue bookmark with only a title, the idea is to add anything that can be useful to library guests (and even strangers) that will fit inside the space of the bookmark. Hopefully it can give more people an idea of what we can do for them, what they can do on their own, how to find us and provide a simple way to send feedback.

  • cvs2git2svn

    After discovering Ohloh (Update: sorry, the link is dead), cleaning up and publishing repositories of yore seemed like a good idea. One of them was established back in the CVS newbie days, and contained lots of external binaries - Not the kind of thing you want to version control. Having used CVS, Subversion and Git (in that order), there was only one choice: Interactive rebase with Git. Also, the software was created while at CERN, so it should continue to be hosted there. And they had started a Subversion service (Update: sorry, the link is dead) in the meantime, so it was time to upgrade as well.

  • Usable security tokens

    Security tokens are pretty common these days. You know the kind: A credit card-sized piece of plastic with an RFID chip and maybe a magnetic strip to boot. Touch and go! But besides the credit card form factor, are they actually practical? They are brittle, and they can't be attached to anything without drilling (which would make them even more fragile). Here's an idea: Get a small RFID chip, and put it into a small piece of ABS plastic with a metallic ring that goes into the middle of the ABS and extrudes just enough to include the whole thing on a key ring (see below). Now if you have an RFID reader somewhere on your desktop, it should be enough to sit close to the desk for it to read the chip. So you won't end up with a broken card, you won't have to put your entire wallet (or some other container) in your pocket to protect the card, and you won't have to leave it on the desk at all.

  • Tag cloud shell script

    As an interesting challenge, I wanted to output a tag cloud (aka. word cloud) for a text file using standard shell tools. The result is surprisingly fast (2 minutes to create the tag cloud for War and Peace (Update: sorry, the link is dead)), and surprisingly short: As you can see, less than 10 lines doing anything more complex than echo. The latest version is much more flexible, but the main work is still just some 20 lines (tr -s … and below), and it's still fast.

  • LibraryThing daily backup

    LibraryThing Export, The Next Generation is now on GitHub! Please go there for any future updates (and more export/backup scripts).

  • Google Reader feeds daily backup

    Google Reader Export, The Next Generation is now on GitHub! Please go there for any future updates (and more export/backup scripts).

  • Delicious daily backup

    Delicious Bookmarks Export, The Next Generation is now on GitHub GitLab! Please go there for any future updates (and more export/backup scripts).