Skip to content

Instantly share code, notes, and snippets.

View robertSahm's full-sized avatar

Robert Sahm robertSahm

View GitHub Profile
@robertSahm
robertSahm / jquery.replaceWith.example
Created April 27, 2012 19:02
jQuery replace with exampe
$('.guitarClick1 a').click(function() {
$('h2.chooseInstrument').replaceWith('<h2 class="chooseInstrument">Step 2: Choose a body style</h2>');
})
@robertSahm
robertSahm / gist:2571322
Created May 1, 2012 20:56 — forked from joncode/gist:2565964
uploading local git repo to github
git remote add origin [email protected]:joncode/wibble.git
you have to include the word 'origin' for this to work