duncan­lock­.net

How apy keys work, what .source files are and how to fix Key is stored in legacy trusted.gpg keyring Warnings


The Python Black formatter outputs to stderr, not stdout


Windows PowerShell does support aliases, but doesn't support commands with parameters in aliases - you have to create a function


How to template out JSON in Bash


How to find a git repositories default branch name


cssmin is unmaintained & has a bug with complex :is selectors


You can use the new CSS :is selector to write complex CSS selectors in a much more compact way


They will dig up your garden to get them.


How to allow python (or anything else) to listen/bind to port 80 without being root


Ninja is a surprisingly nice build system for tiny projects. That's more or less the opposite of what it's designed for, but it works really well for tiny things.