Skip to main content

Enough is Enough - Killing the Annoying macOS Word Definition Pop-Up Once and For All

Ever been deep in your workflow on your Mac, meticulously selecting text in Apple Mail or iTerm, only to be ambushed by some random word definition pop-up? Yeah, me too. And frankly, it’s been driving me up the wall. It’s like playing Whac-A-Mole with dictionary entries you never asked for – the same annoyance as right-clicking a word and accidentally …

Read More

Securing and exposing local services with Tailscale and Nginx

Securing and encrypting communication on local network devices is a hard problem. Plenty of people tried, including myself in our now sunsetted company WoTT. The root of the problem is a combination of DNS and routing to local IPs, which means you can’t use automated certificate issuers, like Let’s Encrypt. The solution, it seems, comes from an …

Read More

Wordpress, 'The response is not a valid JSON response' and Cloudflare

In the last 24 hours, I’ve spent an embarrassing amount of time trying to debug a simple WordPress installation. When saving any changes, I received The response is not a valid JSON response. In addition, I also received weird symptoms I received was: Getting 404s on requests to /wp-json Presumably the root cause for The response is not a valid JSON …

Read More

How to grant SSH access to a 'regular' user on OPNsense

I was working on trying to grant a ‘regular’ user SSH access in OPNsense last night. After banging my head against the wall for some time (partially because the official documentation is outdated), I was able to figure it out. (Do however note that this is different than how you grant a user SSH access in pfSense, where the steps do align with …

Read More

Solving 'dpkg-divert error unable to change ownership of target file' on Raspberry Pi

I’ve run into the following error myself a number of time in recent time, and just wanted to document the solution for this in case other people run into it too: Here’s the problem: You are trying to upgrade your Raspberry Pi to the latest version When you upgrade the kernel, it chokes with an error like this: > $ sudo apt upgrade Reading …

Read More

Solving NUC USB boot issue with PXE boot

I recently wanted to reinstall my trusty old Linux workstation with Debian 10. I imagined this would be a straight-forward thing to do. Just download the ISO and flash it out to a USB stick and be off to the races. Well. It wasn’t. As it turns out, some NUCs do not like modern USB sticks. After trying two or three different USB sticks I had laying …

Read More

Databat is back!

A few years ago, I created a people tracker called Sonar and open sourced it. The goal of the project was to monitor foot traffic in retail environments. After deploying it and more or less forgetting about it for almost two years, I was reminded about it last month and decided to resurrect it. The good news is that the device that I deployed in a retail …

Read More

Achieving success with Home Assistant, Flux and sensors

My philosophy for home automation from the start has been that the best UI is no UI, meaning that I just want things to work automagically. I don’t want to fiddle buttons or software on a day-to-day basis. Sensors and automations should do most of the work. In addition to automation, I wanted f.lux/Flux/Night Shift for my lights, meaning that the lights …

Read More

Restoring access to PosgreSQL after Helm upgrade

If you’ve used PostgreSQL in Kubernetes with Helm, chance are you’ve locked yourself out after performing an upgrade. The reason for this is that if you do not specify a password explicitly using postgresqlPassword, Helm will rotate this password for you when you run helm upgrade. Not ideal. This has happened to me a few times over the years. To …

Read More

VMWare Fusion error - cannot open /dev/vmmon

This weekend I needed to use Fusion for the first time since I upgraded to macOS Mojave. Having run Fusion 8 for many years and being happy with it, I was somewhat annoyed with needing to upgrade to Fusion 11. At least that appeared to be the consensus on the interwebs. In retrospect, I’m not 100% sure. That said, I’ve received great value from …

Read More