Blog

Script to Install Latest Hugo Release on Linux and Mac

Running this script will install the latest (non-extended) hugo release. It was originally written for Linux. To make it work for Mac, find/replace occurrences of Linux with macOS.

Quotes on Endurance

Nietzsche is one hell of a wordsmith.

Copy Command Line Output to the Clipboard on Mac and Windows

In each example below, the contents of a file are copied to the clipboard.

Script to Add a Page-Level Variable to Content Front Matter in Hugo

This was originally a question posed on the hugo discussion forums. The user wanted to loop through all her content files and add a weight page-level variable to the front matter. The value of weight needed to be the first 2 characters of the content filename, since her content was named like 01_content.md, 02_content.md, etc.

Barbell Training to Get Me Through the Day

For some, barbell training gives them loads of energy for their day. For me, it does something just as good: it gets me through my day.

Current page: 39 of 44
Total blog posts: 218