Index · Archives · Atom

Update to Debian Buster

The server running this blog has been updated to Debian Buster.



  • 1kg roast beef, cubed
  • .3l red wine or red grape juice
  • .3l beef stock
  • 6 large onions
  • 6 red bell peppers
  • 2 tablespoon tomato purée
  • 1 tablespoon dijon mustard
  • salt
  • black pepper
  • rose pepper
  • sweet paprika
  • smoked paprika
  • 1 bay leaf
  • clarified butter


Cut the beef into cube …

Summer salad


  • 600g watermelon, diced
  • 500g cucumber, diced
  • Juice from 1 lime
  • Sugar
  • Salt
  • 1 handful Moroccan mint, finely chopped


Add watermelon and cucumber to a bowl, season with a pinch of sugar and salt. Add lime juice and mint, mix thoroughly. Put into the fridge for about an hour …

Migration test

If you can see this blog post, the blog has been successfully migrated. Also, it now uses git as backend.

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 …

Installing Livestreamer with ustream support on Ubuntu 14.04

Lots of interesting events are being streamed live on the web these days. Unfortunately, most streaming providers use flash players with annoyingly complicated protocols to distribute the video, which makes it hard to view the stream in your favorite player. Luckily for us, there's Livestreamer. Given a URL, it extracts …

Watching Amazon Prime Instant Video in Firefox on Ubuntu

Since a few days, Amazon's video streaming service is available in Germany. If you're on Linux, you'll be greeted with an error message and will be unable to view videos in your browser, though. This is because Amazon uses Microsoft's Silverlight to deliver the videos. Fortunately for us, there's Pipelight …

Quit Firefox gracefully from the command line

Since Firefox has problems handling SIGTERM gracefully, here's another way of quitting a running instance from the command line:

wmctrl -c firefox

firefox is the pattern used to match the window title against.

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 …

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 …

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 …

Rebuilding debian packages with custom options

Let's assume foo is a package that I want to configure differently than the package maintainer does, but I don't want to go through the hassle of creating my own build scripts. Luckily, Debian (and Ubuntu) provide a way to use the package maintainer's scripts without the need to do …

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 …

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 …

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 …

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 …

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 …

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.

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 …

On intelligence and dissenting opinions

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 …

© drc. Built using Pelican. Theme by Giulio Fidente on github.