First steps to using jQuery with CoffeeScript

A colleague recently asked me how you typically write the jQuery DomReady and closure syntaxes with CoffeeScript. It’s actually quite simple but did require a bit of fiddling around to find the right recipe. So I thought I’d share this with you all just in case you’re wondering too! DomReady: # CoffeeScript jQuery ($) -> […]

jQuery Sticky Sidebar

This is something I wrote in a few hours so thought I’d share it with the world. It mimics the sidebar UX seen on Apple and Amazons purchase flows. I tried to keep this as simple as possible. There are two states the plugin determines – Sticky and non-Sticky. When the Sidebar is sticky its […]

jQuery Cycle and Fullscreen

jQuery Cycle is an excellent plugin and the most extensible jquery plugin I’ve seen thus far. It works surprisingly well and is very accommodating to all sorts of external html/css setups. However there is an itch to scratch when it comes to fullscreen sliding. The Cycle plugin doesn’t quite support this well enough. Fortunately the […]

Customizing the WordPress Admin Interface

Six Revisions have an excellent post on how to customize the WordPress admin area. However I was looking also at a way of removing the Plugin Editor menu and noticed you can’t remove it like you do with the Theme Editor menu because it’s not added via an action. So I added this to my […]

HowTo: Revert local changes in Git

Found this answer on Stack Overflow very useful, so thought I’d share it here: If you want to revert changes made to your working copy, do this: git checkout . If you want to revert changes made to the index (i.e., that you have added), do this: git reset If you want to revert a […]