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 →

Switching to Hugo

in   , ,

After a few years of silence on the blog front, I tried to switch my website to use HTTPS everywhere. However, the existing Middleman based website had references to insecure HTTP resources, which caused a blanket switch to HTTPS to cause the site to fail to load correctly.

Read more →