Archive for the ‘howto’ Category
TL;DR Using SSH keys is already a big part of the git/GitHub experience, and now they can be used for signing commits, which saves having to deal with GPG keys. Background For a while I’ve been signing my git commits with a GPG key (at least on my primary desktop), and GitHub has some nice […]
Filed under: howto, technology | Leave a Comment
Tags: git, github, howto, SSH
Managing GitHub Labels
I was on a sprint planning call last week where it felt like we spent way too much time getting the labels in our various repos straightened out. After a little Googling I found various scripts that use the GitHub API to manage labels. But nothing that seemed easy enough. So… I pulled together my […]
Filed under: howto | 2 Comments
Tags: action, github, labels, open source, python, script
The @ Company uses a lot of SSL certificates, and we’ve been using ZeroSSL and its Certbot wrapper zerossl-bot to automate how we manage certs. But we wanted more control over the process, which has driven us towards the ZeroSSL API. Sadly the docs don’t provide usage examples, which has made it quite a journey […]
Filed under: howto, software | 2 Comments
Tags: API, automation, bash, certificate, curl, Digital Ocean, jq, json, python, script, SSL, ZeroSSL
Multiple single pages in Hugo
TL;DR Replace layouts/index.html with layouts/_default/single.html in your chosen theme. The home page for the site will be created from content/_index.md and additional pages can be created at content/pagename/index.md (NB no _ before index that time). Background $daughter0 has offered to build web sites for some friends and family members, which means she’s learning various aspects […]
Filed under: howto | Leave a Comment
Tags: development, Hugo, Hyde, index.md, multiple, single page, static, web, _index.md
Saturday was very rainy, so I thought I’d finally get around to upgrading my home lab from ESXi 5.5 to 6.5. I started with my #2 Gen 8 Microserver as I don’t have any live VMs on it, and thus began many wasted hours of reboot after reboot failing to get anything to work. Slow […]
Filed under: howto | Leave a Comment
Tags: Flash, Gen 8, HP, HPE, iLO, iLO 4, ILO4, Microserver, NAND, reformat, slow, USB
AutoSSH in Screen from systemd
I like to have permanent SSH connections from (a VM on) my home network to the various virtual private servers (VPSs) that I have scattered around the globe as these give me SOCKS proxies that I can use to make my web traffic appear from the US or the Netherlands or wherever (as mentioned in […]
Filed under: howto, networking | 1 Comment
Tags: autossh, screen, SOCKS, SSH, systemd, tunnel, unit, VPS
TL;DR Getting a Midas Plus squirting properly again is very easy once you learn the secret of removing and cleaning the thermostatic cartridge. A simple procedure due to some great design, but one that isn’t documented anywhere that I could find. Background In just over a year since I had a new shower fitted as […]
Filed under: howto | 2 Comments
Tags: Aqualisa, cartridge, flow, Midas, Plus
Why? Everything you access on the Internet starts with a Domain Name System (DNS) query to turn a name like google.com into an IP address like 216.58.218.14. Typically the DNS server that provides that answer is run by your Internet Service Provider (ISP) but you might also use alternative DNS servers like Google (8.8.8.8). Either way […]
Filed under: howto, networking, Raspberry Pi | 40 Comments
Tags: 1.1.1.1, CloudFlare, DNS, privacy, Raspberry Pi, tls, Unbound
Using 1.1.1.1
TL;DR One of the best features of Cloudflare’s new 1.1.1.1 DNS service is the privacy provided by DNS over TLS, but some setup is required to make use of it. I put Unbound onto the OpenWRT routers I use as DNS servers for my home network so that I could use it. Background Yesterday Cloudflare […]
Filed under: howto, networking | 2 Comments
Tags: 1.1.1.1, Bind, CloudFlare, DNS, OpenWRT, privacy, Unbound