Skip to content

Instantly share code, notes, and snippets.

View AlexandreBonaventure's full-sized avatar

Alexandre Bonaventure Geissmann AlexandreBonaventure

View GitHub Profile
@vladimirtsyupko
vladimirtsyupko / gist:10964772
Created April 17, 2014 08:32
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/master
git pull origin master
@psobot
psobot / jquery.punchout.js
Created December 16, 2012 19:03
Punching out text with HTML5 canvas
// Some really hacky code being used in my next blog redesign.
// by Peter Sobot (psobot.com) on December 16, 2012
;(function ( $, window, document, undefined ) {
var pluginName = 'punchout',
defaults = {
};
function Plugin( element, options ) {
this.element = element;