Other articles


  1. 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.

    gtk-theme-name="Your-Theme"
    gtk-cursor-theme-name="Your-Cursor-Theme"
    

    Setting the GTK3 theme is as simple, but the ...

    read more
  2. 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
    user:~:%
    

    just ...

    read more
  3. 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
  4. 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
  5. 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 ...

    read more
  6. 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.

    Ingredients

    • 300ml apple juice
    • 4cl Amaretto
    • cinnamon

    Preparation

    Pour apple juice into a pot, add cinnanom (either a pinch, or if ...

    read more
  7. Chili con carne

    Ingredients

    • 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
  8. 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 ...

    read more
  9. Peanut soy sauce marinade

    Ingredients

    • 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

    Preparation

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

    read more
  10. 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
  11. 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 ...

    read more

social