It’s time for the third iteration of this blog! 🥳 Since 2013 I’ve been using Tinkerer to power this blog but it seems unmaintained and it rendered horribly on mobile devices. Also it used the RST ...
Check if LXC container OS version matches the host system on Debian
As part of my daily cron jobs I thought it would be nice to get an overview of which Debian version the system is running and if all LXC containers have a matching version. The script below will ch...
Lack of updates
As you might have noticed, this blog has not been updated in quite a while. Sorry about that! In the mean time, my focus has changed from C++ development to iOS development using Swift and SwiftUI...
View iOS device console in Terminal
I think the macOS console app is a bit overkill to watch the console output of an attached iOS device. So how to get the same data to show up in your Terminal? Thats quite easy. First install the ...
Fix verification of every video file on macOS
When you open a video file (MP4, MKV, MPEG, etc.) in macOS, is GateKeeper (macOS Security) attempting to “verify” the file on first open? Run this in Terminal: defaults write com.apple.LaunchServi...
Using local VNC connections on Mac to access other user accounts
If you have multiple user accounts on your Mac but don't want to use the Fast User switching functionality, here is a small trick to quickly access them. First step: SSH to your local machine and ...
Re-using the last bash command argument
Tired of re-typing the same argument twice for different commands? For bash there is an easy solution: mkdir testdir cd !$ The '!$' maps to the last argument of the previous command, a real time...
Extracting mp4 files from AVCHD without transcoding
My new Sony digital camera stores movies inside an AVCHD container. Luckily this format is supported on OSX natively and you can at least browse all clips inside with ease. However, if you want to ...
Simple UDP relay with NAT latching in Python
When you're building a VOIP server you soon encounter the problem that a client is behind a NAT (instead of a directly reachable public IP). In this scenario the server can't send packets directly ...
Magnet handler script for Firefox on OSX
One thing I was missing when downloading torrents with 'magnet:' links was an easy way to transfer this link to my bittorent client (which is running on a different server). After copy-pasting many...