#Git Commands I Love
##Reset & Clean
git reset HEAD --hard
A hard reset may leave files behind which are now untracked because of a removal.
To check whether anything needs cleaning up do a trial clean like so:
/** | |
* TouchConvert: Converts touch co-ordinates to mouse co-ordinates | |
*/ | |
fb.touchconvert = function (e) { | |
var e = e.originalEvent.touches.item(0); | |
return e; | |
} | |
/** | |
* Touchmove handler for iPad, iPhone etc |
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<opml version="1.0"> | |
<head> | |
<title>playlist.xml</title> | |
<dateCreated>Thu, 27 Jul 2000 03:24:18 GMT</dateCreated> | |
<dateModified>Fri, 15 Sep 2000 09:01:23 GMT</dateModified> | |
<ownerName>Dave Winer</ownerName> | |
<ownerEmail>dave@userland.com</ownerEmail> | |
<expansionState>1,3,17</expansionState> | |
<vertScrollState>1</vertScrollState> |
<ul id="opml-output"> | |
<li>Background | |
<ul> | |
<li>I've started to note the songs I was listening to as I was writing DaveNet pieces. </li> | |
</ul> | |
</li> | |
<li>The Last Napster Sunday? | |
<ul> | |
<li type="song" f="Blondie - Heart of Glass.mp3">Heart of Glass.mp3</li> | |
<li type="song" f="Bangles - Manic Monday.mp3">Manic Monday.mp3</li> |
$(function(){ | |
function callback(){ | |
//console.log( 'OPML to List Finished!' ); | |
} | |
function error(e){ | |
//console.error( 'AJAX ERROR!' ); | |
} |
#Git Commands I Love
##Reset & Clean
git reset HEAD --hard
A hard reset may leave files behind which are now untracked because of a removal.
To check whether anything needs cleaning up do a trial clean like so:
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="agnoster" | |
source $ZSH/oh-my-zsh.sh | |
plugins=(git git-extras git-flow git-remote-branch gitfast node npm nyan osx pip python screen jira lol osx colored-man colorize zsh-syntax-highlighting vagrant web-search) | |
# I Like History :) | |
export HISTFILE=~/.histfile |
Verifying myself: My Bitcoin username is +alistairmacdonald. https://onename.io/alistairmacdonald |
Verifying myself: My Bitcoin username is +alistairmacdonald. https://onename.io/alistairmacdonald |
<?xml version='1.0' encoding='UTF-8' ?> | |
<?charles serialisation-version='2.0' ?> | |
<rewriteSet-array> | |
<rewriteSet> | |
<active>true</active> | |
<name>Script Loader</name> | |
<hosts> | |
<locationPatterns> | |
<locationMatch> | |
<location> |