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 →
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 →
One feature of Bootstrap that I like is the
tabbable content
,
which allows the user to create tabs of local content. One common use-case is to
show multiple syntax highlighted code blocks that showcase the same problem, and
how to achieve it in different languages.
Read more →
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 →
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 →