Vegetable Foccacia

in   Recipes   ,

Being in lockdown, I have had the chance to experiment more with my food. This is my latest creation in a vegetable foccacia-style bread, which is good enough for a weekend dinner.

Read more →

Configuring Address Family for SSH Connections

in   networking   ,

I recently enabled IPv6 on my home router and decided it was a good time to try and connect to my server using IPv6, rather than IPv4. However, on my Macbook, running High Sierra (the highest version supported), the SSH client would default to using IPv4 to connect.

Read more →

Golang Vanity URLs in nginx

in   code   ,

Go has a nice way of importing packages, just use go get and it automatically appears in your $GOPATH/src directory. The backing store can be any supported VCS, but most often is GitHub. This means that your custom package will be namespaced under github.com/<user>/package. Wouldn’t it be nice if you could just namespace it similar to rsc.io/quote?

Read more →

Custom Error Pages in Hugo

in   Hugo  

Hugo is a well known static-site generator, which is what I’m using to generate this website. I also like to have a custom error page for different HTTP errors, such as 404, 403, etc., and I like them to be in the same style as the rest of the website.

Read more →