The Hidden Blog

As it turns out, I do have a hostname.

2014 Push(over) notifications for Gentoo updates

This shell script will send you a push notification if there are new Gentoo updates available. It’s based on ftf’s Ruby script for Prowl.

Application Token

To get the Application token just create a new application on the Pushover website: https://pushover.net/apps/build.

User Token...

Read the post

2014 Automated and encrypted backups with duplicity

Automated and encrypted backups with duplicity, duply and Gentoo.

Read the post

2014 Calculate total filesize of multiple torrent files

Quick script which lets you check if you have enough storage space to download all these sweet Linux distributions you already grabbed the .torrent file for. Nested directories (*cough* collages) are no problem.

Usage

Install dependencies listed in the script, create a directory called torrent or...

2014 ScreenUpload: Automatically upload screenshots with scp

A simple tool to automatically move, rename and upload screenshots from a specific location to a remote server with SCP.

Read the post

2014 Backup ZNC Logs automatically

This is a short script to automatically backup the ZNC logs from multiple remote servers to a local directory.

If you want to run it on a system which isn’t Mac OS you’ll probably have to tweak a few things. Especially the lines containing terminal-notifier because they make use of the...

Read the post

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