Snippets

Javascript sticky header magic

Some sticky header magic.  If a sticky header overlaps some content at the top of the page, this will move page content down a bit.

Google Event Tracking

Google gtag.js event code To be included in HEAD, replacing #### with UA identifier <!-- Global site tag (gtag.js) - Google...

Puppeteer dependencies

Installing Puppeteer on a computer without X11 can present a few issues.  There are a few dependencies that needs to be satisfied before it will...

Basic WordPress .htaccess

When Wordpress doesn't run as clockwork and gives you a bit of a headache in the form of Internal Server 500 errors, it's always helpful to be able...