Other articles

  1. zed, the ZFS event daemon

    ZoL 0.6.3 introduced the ZFS event daemon, zed. It can execute scripts for every event ZFS generates (see zpool events). A basic, but pretty useful example: Get a mail including a detailed report every a pool scrub finishes. Of course, anything you can script, you can do. The …

    read more
  2. Fixing awesome's mouse cursor

    Getting awesome to use the GTK2 and cursor theme you want it to is a matter of simply creating a file named .gtkrc-2.0 in your home and setting the theme there.


    Setting the GTK3 theme is as simple, but the file is ~/.config/gtk-3.0 …

    read more
  3. Multi-line ZSH prompts

    Not that I'd be using something like this, but since the question came up in #zsh and I couldn't find any post listing the most sensible solutions, I decided to document the results.

    In order to get a prompt that looks like

    host – 13:33:37

    just set your …

    read more
  4. Use nginx as SSL reverse proxy for almir

    almir is a bacula frontend, but its embedded web server does not (as of the time of writing) support SSL. So, in order to get at least a token amout of security, I decided to use nginx to add SSL capabilities. After instructing almir to only accept connection from localhost …

    read more
  5. Creating language agnostic shell scripts

    Usually, when writing a shell script that relies on parsing the output of some other program — using grep, awk or whatever the text manipulation tool of your choise is — I check the output of the command on my machine and write my regex accordingly. What I — and lots of other …

    read more
  6. Fixing a 'connection reset by peer' error in bacula

    This is probably a very setup-specific bug, but since it took me quite a while to figure out, I though I'd blog about it anyway. The problem was one specific bacula client — connected to both director and storage daemon via VPN — not completing any backup larger than a few megabyte …

    read more
  7. Winter glogg

    Since the leaves seem to think it's autumn, here's a simple yet tasty glogg that'll compensate for the rainy weather and digging out the winter clothes.


    • 300ml apple juice
    • 4cl Amaretto
    • cinnamon


    Pour apple juice into a pot, add cinnanom (either a pinch, or if you're feeling fancy …

    read more
  8. Chili con carne


    • 500g ground meat
    • 500g (1 can) tomatoes
    • 500g (drained weight, 2 small cans) kidney beans
    • 2-4 onions
    • 3 garlic cloves
    • 1 piece of dark chocolate
    • 2 large chilis (I usually use Habaneros, but adjust to taste)
    • 1 bottle (dark) beer
    • cumin
    • oregano
    • salt
    • pepper
    • paprika
    • olive oil

    Heat olive …

    read more
  9. Install pelican on Ubuntu

    Static blogs are all the rage now, and while setting up one of these is not as easy as registering an account on tumblr, it still isn't rocket surgery.

    In addition to using the latest and greatest in publishing technology, you have the added benefit of not needing any executable …

    read more
  10. Peanut soy sauce marinade


    • 1 tablespoon soy sauce
    • 1 tablespoon rice wine
    • 1 teaspoon peanut butter (unsweetened)
    • 1 teaspoon lime juice (about ¼ lime)
    • 1 pinch of sugar
    • 1 pinch of salt


    Stir together, use to marinate chicken for at least ½ hour, fry.

    read more
  11. Restart stuck printers on remote CUPS servers

    Our CUPS servers tend to, from time to time, get stuck sending data to a printer. Once this has happended, the server pauses the printer, which leads to angry calls, since the server continues to accept jobs for said printer without notifying the Windows client machines of its status. Instead …

    read more
  12. On intelligence and dissenting opinions

    Published: Sun 09 September 2012
    By drc

    In misc.

    tags: rant

    You probably know some of those people — yeah, exactly those — who are sure their and only their opinion about, their explanation for or their belief in something is true is and cannot be persuaded, even if presented with overwhelming evidence to the contrary, that they might be wrong on this …

    read more