View mkd.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to .zshrc or .bashrc | |
# Create a new directory and enter it | |
function mkd() { | |
mkdir -p "$@" && cd "$_"; | |
} |
View gist:1826923
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub CompareWordList() | |
' | |
' CompareWordList Macro | |
' Andrew Crook 2012 | |
' Based on - Highlight Words from a Word List | |
' http://word.tips.net/T000502_Highlight_Words_from_a_Word_List.html | |
' | |
Dim sCheckDoc As String | |
Dim docRef As Document | |
Dim docCurrent As Document |
View redirect.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = $.sammy( function() { | |
this.get('#/', function() { | |
$('#main').html('nothing to see here!'); | |
}); | |
this.get('#/test', function() { | |
$('#main').html('worked'); | |
}); |