Guides, scripts and tips & tricks

Add Nginx headers if not already set

How to conditionally add HTTP response headers via Nginx if they aren’t already set and avoid duplicate headers.

Worx Landroid installation tips

Installation tips for laying the boundary wire for the Worx Landroid robotic lawn mower.

Recover from a RAID1 failure with btrfs

How to recover from a single RAID1 disk failure with btrfs, and remove RAID1 until a new drive is available.

Setting up RAID1 with btrfs

Using btrfs for RAID1 storage & rotated volume snapshots.

User-defined bash_completion.d

Create & manage your own bash_completion.d directory & scripts in your user directory.

An introduction to WireGuard VPN

WireGuard is open source, faster and simpler that any other solution I have used, and extremely stable.

Mp3 converter script

Convert or resample your audio files to Mp3 using this simple script, ffmp3g and id3cp.

Completely purge files from a git repository

Completely purge files or directories from a git repository, including all history and references to them.

Install Photoshop CS6 with wine

A simple guide of how to install Photoshop CS6 with wine on Ubuntu 20.04.

Track outbound links with Google Analytics (gtag.js)

Automatically track all outgoing links using Google Analytics (global site tag aka: gtag.js).