Skip to content

Instantly share code, notes, and snippets.

View petervanderdoes's full-sized avatar

Peter van der Does petervanderdoes

View GitHub Profile
@petervanderdoes
petervanderdoes / filter-flow-hotfix-start-version
Created June 5, 2012 22:20
gitflow hooks and filter for gitflow development
#!/bin/sh
#
# Runs during git flow release start
#
# Positional arguments:
# $1 Version
#
# Return VERSION - When VERSION is returned empty gitflow
# will stop as the version is necessary
#
@petervanderdoes
petervanderdoes / filter-flow-release-start-version
Created June 5, 2012 19:12
gitflow hooks and filters for WordPress theme development
#!/bin/sh
#
# Runs during git flow release start
#
# Positional arguments:
# $1 Version
#
# Return VERSION - When VERSION is returned empty gitflow
# will stop as the version is necessary
#
@petervanderdoes
petervanderdoes / Javascript
Created February 10, 2012 22:21 — forked from andrewdh/Javascript
Colour Picker PHP
jQuery(document).ready(function($) {
$('.colorpicker').hide();
$('.colorpicker2').hide();
$('.colorpicker').farbtastic('.color');
$('.colorpicker2').farbtastic('.color2');
$('.color').click(function() {
$('.colorpicker').fadeIn();
});
$('.color2').click(function() {