Skip to content
Switch branches/tags
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

My new blog

This is my new hugo blog. Mental note: Document how stuff works because being unable to even operate this machinery when you want to write a post is not going to make you want to write more posts.

How to deploy

This blog is hosted on netlify, and it's set up to deploy the site whenever the master branch gets pushed.

How to test out stuff

The develop branch deploys to the test blog setup in netlify, definitely check that out too.


These live in static/_redirects; They follow netlify's scheme.

Custom Shortcodes


This allows embedding videos, screencasts. To ensure maximum compatibility, you have to provide both a webm and a mp4 video. You can do that via ffmpeg.

To create the compatible videos from a QuickTime screen recording, use:   # set this to your filename
WEBM="$(basename "$INPUT" .mov).webm"
MP4="$(basename "$INPUT" .mov).mp4"
ffmpeg -i "$INPUT" ~blog/static/assets/videos/"$MP4"
ffmpeg -i "$INPUT" -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis ~blog/static/assets/videos/"$WEBM"