Git – getting started

Git is a great tool. Its changed the way I develop. Combine it with git flow and you can accomplish 95% of daily development.

Git Cheat Sheet

19 Tips For Everyday Git Use

brew install git-flow

Continue reading Git – getting started

jQuery global event

Simple and easy. Took me about 5 minutes to figure that jQuery could do this.

$("#A").on("click", function(){
$(document).on("custom", function(e){
$(document).on("custom", function(e){

Best to namespace events, use jQuery’s namespacing or on your own (examples below).

I used it for something more like this:


$(document).on('paymentmethod:successfulSave', function(){
    //refresh payment methods

$(document).on('paymentmethod:cancel', function(){

Continue reading jQuery global event