Skip to content

Instantly share code, notes, and snippets.

L.Control.Button = L.Control.extend({
options: {
position: 'bottomleft'
},
initialize: function (options) {
this._button = {};
this.setButton(options);
},
module CustomColumnTypes
def double(*args)
if !args.last.is_a? Hash
args.push({})
end
args.last[:limit] = 53
float *args
end
// 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;
@esromneb
esromneb / .gitconfig
Created June 14, 2012 23:13 — forked from roolo/.gitconfig
git-merge with KDiff3 on Mac OS X Lion
# This is file ~/.gitconfig
[merge]
tool = extMerge
[mergetool "extMerge"]
cmd = ~/bin/extMerge.sh \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"