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
# This is file ~/.gitconfig | |
[merge] | |
tool = extMerge | |
[mergetool "extMerge"] | |
cmd = ~/bin/extMerge.sh \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\" |
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
// https://gist.github.com/Yaffle/1287361 | |
var crc32table = null; | |
crc32 = function(s) { | |
s = String(s); | |
var polynomial = 0x04C11DB7, | |
initialValue = 0xFFFFFFFF, | |
finalXORValue = 0xFFFFFFFF, | |
crc = initialValue, | |
i, j, c; |
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
module CustomColumnTypes | |
def double(*args) | |
if !args.last.is_a? Hash | |
args.push({}) | |
end | |
args.last[:limit] = 53 | |
float *args | |
end |