How To: Deploy Services with TLS Certificates in a Tailscale network
Perhaps you’ve been in this situation before. You have a home server which hosts an bunch of stuff. Possibly in VMs, containers, what have you. You want a way to address these servers from elsewhere so you configure a reverse proxy that routes to each of these based on hostname. Personally, I have Jellyfin, Adguard Home, Uptime Kuma and a few other things deployed on the same machine and wired-up this way. ...
How playing with Duplo led to some recreational maths
This is probably going to be the weirdest blog post I have ever written. If you’re up for it, let’s do this! I recently played with LEGO Duplo. Yes I am an adult, go figure. While building random stuff I came across something interesting (to me). I had a large green board and a small fence. The fence has two points at either end where it can be connected to the board and has a length of five. ...
Integrating analytics into my website
I’ve been blogging (on and off) for a while now. Originally, I just wanted a place to write down things I’d done, tutorials, idle thoughts, stuff like that. But since I’m also active on Mastodon (or recently GoToSocial) and link to my posts there I started wondering if anyone ever actually reads my posts or if I’m shouting into the void here. You know, idle curiosity. The obvious answer to that question comes in the guise of website analytics. ...
How To: Run shell scripts containing relative paths from anywhere
Have you ever had the problem that you want to run a script but because it handles relative paths it depends on the directory it’s called from? Well, today I learned about a shell function that helps with that, called dirname. It can be fed a path and will return it with the last non-slash component and trailing slash removed. So to refer to the location a script sits in you can do simply: ...
Reproducible development environments with Nix
A while ago I became aware of Nix, NixOS and people who actually use it. I was intrigued by the proposition: configure your whole system declaratively so you can avoid configuration drift and combat issues with reproducibility. I tried it out and found that Nix is not straightforward to learn. Also, the documentation is gruesome. I decided that knowing Nix and applying it might be nice but I just don’t want to learn it right now. ...