This snippet shows how to use the scrolling of one container (which isn’t the window or document) to perform some sort of action. This is useful for web apps that…
In this blog post I show how to imitate a long press/ taphold on the desktop. There’s not really any use cases for this that I can think of in…
This snippet is for deferring running of any jQuery code until jQuery is loaded onto the page. This function is useful if you need to call your jQuery somewhere on…
The below snippet shows how to load Google Fonts asynchronously. The main benefit of loading fonts asynchronously is that it speeds up the site extensively. (function ($, window, undefined) {…
This is a starter kit for creating a WordPress child theme. How many times have you begun to create a child theme and don’t remember what’s required? Is it just…
This is my setup for Mac OS X. Both for development and general use. Applications General LastPass (Password Manager) HandBrake (Video Transcoder) Google Chrome AdBlock (Ad Blocker) ColorZilla (Color Picker)…
In this blog post, I show how to create a custom pseudo selector with jQuery. This is useful in a few situations when you can avoid writing a long function…
In this post, I show how to setup a simple environment based configuration for your WordPress site. It’s useful in situations where you’re using minification/concatenation in your build depending on…