All our Gists now work in AMP & WordPress

A while ago, we started using Gists for code snippets in this site, and this has been a great way to share code and give back to Open Source.

However, since implementing AMP, this has not always played nicely when viewing pages on a mobile, via AMP.

That is now fixed! Any Gist you see in this site will now show up just fine when you visit the AMP version, too. Win.

Read more

How to Find & Replace in MySQL

Sometimes, we need to find and replace certain strings or pieces of data in MySQL on the fly, for example if we’ve changed a Top Level domain (TLD) and want to update a bunch of links all in one go. For those times, the following command can be issued: The code from the Gist above …

Read more