Roland's homepage

My random knot in the Web

Welcome

This is my home in the virtual world, where I write about things that I want to share. The freely available software that I've written as well as some of the photographs I've taken over the years can also be found here. Please use the navigation links on the right if you are looking for something.

Recent articles

  1. Stltools

    From the release of version 3.2, the py-stl software has been renamed to stltools. The reason I made this change mostly has to do with how FreeBSD handles packages. Programs that require an interpreter are prefixed with its name and version. So py-stl would become py27-py-stl, which would be ...

  2. Generate random passwords

    One way of making hard to guess passwords is to take random data and encode it with base64 to make it readable. This is what I've done in the genpw.py script.

    This is mainly useful for passwords that you can store in a secure manner (like in an ...

  3. Repairing a color laserjet 2550

    Some time ago, my trusty old color laserjet 2550L more or less stopped printing, or at least I thought so. It turned out that the printer only printed in yellow. Which is not particularly useful.

    At the time I bought this printer not because I print very much, but because ...

  4. Installing OpenProject on FreeBSD

    At work we want to run OpenProject. But since this a ruby-on-rails app and installation on Windows is not supported, I volunteered to set up a dedicated FreeBSD server for it.

    Server

    The server install was a basic FreeBSD 10 install done via the memory stick image. On the harddisk ...

  5. Keyword expansion with git

    Unlike systems like rcs, cvs and subversion, the git revision control system cannot provide keyword expansion. The cause for this is that you can't modify a file with information about the commit after you've committed, because git checksums the file first.

    Git git will let you inject text ...

  6. Initializing a new git repo for a project

    Create a directory for the new project:

    mkdir newproject
    cd newproject
    

    Initialize for git:

    git init
    

    Tell git which types of files to ignore, e.g. compiled Python files:

    printf '*.pyc\n*.pyo' >.gitignore
    

    Using filters we can change do keyword expansion during check-out. A filter named kw is defined ...

  7. Setting the terminal title with urxvt and tcsh

    Generally I use ssh from an urxvt terminal window running tceh to log into other machines. But since the title of all my urxvt windows defaults to “Shell”, it can get confusing.

    To set the terminal windows' title, I use the following command from the shell running in the terminal ...

  8. Compiling asymptote for TeXLive on FreeBSD

    When I try to use the version of asymptote that comes with TeXLive, it fails with an error:

    Shared object "libreadline.so.7" not found, required by "asy"

    So I decided to recompile asymptote. Here's how to do that.

    On my FreeBSD 9.2 system, the original asymptote program ...


Page 1 / 11 »