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 ...read more
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.read more
Getting awesome to use the GTK2 and cursor theme you want it to is a matter of simply creating a file named
.gtkrc-2.0in your home and setting the theme there.
Setting the GTK3 theme is as simple, but the ...read more
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 user:~:%
just ...read more
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 ...read more
Usually, when writing a shell script that relies on parsing the output of some other program — usingread more
awkor 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 ...
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 ...read more
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
Pour apple juice into a pot, add cinnanom (either a pinch, or if ...read more
- 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
- olive oil
Heat olive ...read more
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 ...read more
- 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
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
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