The Hidden Blog

As it turns out, I do have a hostname.

2014 Setting up a new Munin slave node

Filing this away for future reference.

Install munin from package sources

apt-get install munin-node

Add master node to allowed IPs

vim etc/munin/munin-node.conf

Unfortunately it’s only allowed to add IPs and not hostname. The format you’ll have to follow is:

allow ^xxx\.xxx\.xxx\.xxx$...

Read the post

2014 Nginx, Wildcard SSL and Subdomains

I just setup SSL on all my *.notmyhostna.me domains and here’s how I did it.

Buy certificate

First you need to buy a wildcard certificate, I bought one from cheapsslsecurity.com.

If you want to secure subdomains you’ll need to spend a little bit more and go for one of their wildcard...

Read the post

2014 Atlas of the Conflict

The Atlas of the Conflict is a beautiful book containing over 500 maps and diagrams providing both a great overview and very detailed information about the Israeli-Palestinian conflict.

The author of the book is Malkit Shoshan and the design was done by Joost Grootens who also designed a lot of...

Read the post

2014 Mass renaming files - now with more Vim!

As it happens you sometimes end up with a bunch of files which you would rather rename to something else and it’d be pretty sweet to just rename them like you would search and replace strings while working with Vim. Guess what, there’s a tool just like that and it’s fittingly...

Read the post

2014 Recover photos from storage devices

Today I got asked if I could recover some photos from an accidentally formatted CompactFlash memory card. I knew about TestDisk already because I used it in the past to recover some files from corrupted harddisks but I was looking for another, easier tool for the task.

I wasn’t able to find...

Read the post

2014 Have you ever heard of Austria? - Kangaroo!

Sometimes I interview people on IRC and one of the questions I’m asking is:

Have you ever heard of Austria? If you have, what are the first three words that come to your mind?

Because I have text files (IRC logs) of all these conversations it almost asks for being analysed so we’ll use...

Read the post

2014 Overwriting Textual's shortcuts

If you are anything like me, you are connected to a large number of IRC networks and the accompanying channels. As it happens, I’m also developing for the web at the same time which usually involves reloading your browser window from time to time. (Shortcut: cmd + R)

Coincidentally,...

Read the post

2014 Fixing things - the ugly way

Because sometimes it’s just easier to find a dirty workaround than actually fixing the underlying problem.

The problem:

For some unknown reason pywhatauto is replacing my working cookie file for BTN with an incomplete one. Probably due to a failed authentication with the site. (I blame...

Read the post

2014 Pick a random file from a directory

AKA. Which movie should I watch today?

Unfortunately the version of sort shipped with Mac OS doesn’t include the -R / --random-sort option and shuf doesn’t come by default. We’ll have to install GNU’s coreutils to use them.

If you are using homebrew it’s as simple as...

Read the post

2014 Running OpenVPN with OpenVZ

Just filing this away for future reference.

If you want to run OpenVPN within a OpenVZ container you’ll have to setup the iptables rules for the correct network interface (You don’t say!). Most likely it’s called venet0. You can double check this with ifconfig as root or just...

Read the post