Blog

Convert HEIC Images to JPG

My wife needed to upload a couple hundred pictures, from her Mac, to an online service that makes photo albums. The service didn’t accept images with the .heic extension, so she needed to convert them to .jpg. This would take many hours to do one-by-one, so thankfully ImageMagick supports conversion of HEIC images. Here’s how to do it.

Hit localhost on macOS From VirtualBox Windows 7 VM

At work, everyone on my team has Macs, but the users of one of our apps use Internet Explorer 11 (IE). We obviously need to test in IE, but how? This is where a VirtualBox Win7 VM comes in handy. Our app has a React front-end, so local development/testing is done on http://localhost:3000. But how do we hit this URL from the Win7 VM? I’ll show you, but first let’s setup the VM.

Generate Lorem Ipsum With a Hugo Shortcode

Inspired by this discussion, I thought it’d be useful to generate Lorem Ipsum with a Hugo shortcode.

File Variables in Hugo

Hugo’s .File variables (see the docs) are useful for getting filesystem data on your content files.

Create an HTML Table From a TOML Data File in Hugo

This post was inspired by a recent Hugo discussion. In a nutshell: instead of writing the table in markdown, the user wanted to build the table from a TOML data file. Below is one way to solve this.

Current page: 37 of 44
Total blog posts: 219