Tips & Tricks

Tips & Tricks

How to Link to a Specific Commit on GitHub

A quick post on how to link to a specific snapshot of code on GitHub.

Read
Tips & Tricks

Filter Arrays for Unique Values

Ever needed to remove all the duplicates from an `Array` in JavaScript? Well, there is a hard way, an easy way, and an elegant way.

Read

CNAME fix for Persistent Custom Domain with Gatsby and GitHub Pages

I am using GitHub Pages to host this blog, which was built with Gatsby. As you can probably see, I use a custom domain ([https://vanderbergh.com](https://vanderbergh.com)) which needs to be set in the GitHub Pages repository settings.

Read

Resize Multiple Images Quickly with the Mac Terminal

I recently had to resize several photos for my project page. Normally, I would use the excellent free image manipulation program GIMP. But I wondered whether there was an easier way to apply the same resizing to images without having to open GIMP.

Read