Skip to main content

Huntly Cameron ­//My blog type thing…

WordPress on Docker Quickstart

Super quick guide to getting the official WordPress Docker image running with HTTPS without the need for an additional image for https proxy.

Garden Hacking – Plant Monitor

Got some plants to take care of? A spare microcontroller? Spare resources on a server? An Amazon Echo? Well, step right up, this guide is for you!

Vim delete range

More powerful delete than “dd” or visual select and then “d”

html5 number field

Use the step attr to change how the value changes when the user selects the up or down buttons

Non greedy Regex

Overshooting the mark when trying to grab attribute values from HTML strings or text in tags? Here’s how to fix that

Git ignore file change

Those god dam database connections getting committed, pushed, and overwritten. Tell git to ignore the file.