I broke it

So here's how I fixed it

There's currently a lot of discussion around the use of language in tech, and particularly so given the recent announcement from GitHub that they are renaming the "master" branch. While the etymologies of terms like "master", "blacklist", and "whitelist" are unrelated to race, we can't escape the...

Continue reading...

Grav's theme inheritance system is great, but how do you retain the configuration options of the parent theme?

Grav's documentation suggests just copying the parent theme's blueprints.yaml into your new theme if you want to retain the configuration options. But the problem here is that this bre...

Continue reading...

Ryzen is great, and the low-end chips are ideal for home servers, but there's a compatibility issue with Linux. When the server idles, the CPU switches to the C6 power state and causes a hard lock; nothing gets logged, the server just freezes and has to be rebooted.

Fortunately, you can disable th...

Continue reading...

Alpine Linux is great, and its stripped-down, light-weight design is part of its appeal. However, that also means that sometimes things that "just work" on every other distro, present a few challenges on Alpine, and often need multiple steps to get them to work. BTRFS is one of those things, and its...

Continue reading...

I just encountered an issue on my Manjaro installation that prevented me from installing any software from Pacman due to key signing errors (eg. ERROR: 962DDE58 could not be locally signed.). This results from an error with the GnuPG local master key, which becomes unable to sign other keys. Fortu...

Continue reading...

I accidentally committed some changes to my master branch on a forked GitHub repo (exercism/python, if you're interested) and pushed them to my fork. I needed a way to undo these changes, so I did the following:

Continue reading...

I use Manjaro with i3 on my laptop and I have my laptop set to suspend when I close the lid. However, a few days ago, I realised that when it suspended in this way, it didn't lock - when I open the lid again, I'm just presented with an unlocked session!

After a bit of searching, I found that some...

Continue reading...

I run Manjaro i3 on my desktop with both a 4K monitor connected via DisplayPort and a 1080p monitor connected via HDMI. When I suspend my machine, the DisplayPort monitor shuts off and fails to correctly turn back on when the system resumes - everything is moved to the 1080p monitor and the 4K monitor remains off.

I've so far found two workarounds for this issue, the first is simply power-cycling the monitor before resuming the system and the second uses xrandr. Neither of these is a perfect solution, but it's better than rebooting!

Continue reading...

My University emails are run through Office365 and I was trying to set up access to them via Exchange Web Services (EWS) in Evolution. I managed it before, but I've since reinstalled my computer. Unfortunately, I kept getting 404 errors every time I tried to set it up because outlook.office365.com couldn't be found and Evolution EWS (helpfully?) guesses at other possible paths if the one you specify fails - it was ultimately trying to connect to my University's domain, which then issued a 404.

Continue reading...

I wanted a page that would list all of my projects, but I didn't want to have the additional effort of maintaining it and I didn't want to risk it going out of date. Fortunately, with Twig, it's prety easy to have a page be automatically generated based on it's children.

Now, all I need to do is create child page within my "Projects" folder, give it a short summary to describe what the project is, which is useful anyway, and then the entry will be automatically added to the main Projects page.

At some point, I might make this a bit more complex, with sections for different types of projects (eg. Python, Grav, Raspberry Pi) but for now this suits my needs.

Continue reading...