This file contains hidden or 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
package main | |
import ( | |
"github.com/llgcode/draw2d/draw2dimg" | |
"image" | |
"image/color" | |
"math" | |
"math/rand" | |
"time" | |
) |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6JMR70S9ATuU0CbwAp1emWoQXaDfU8lsM8UO74NnkwjDT9ayBWv5YC90nweLRyFn+1B8IlLwpuTIqJs1Zl0szL6dt9PbiJISA7jDQNfMoNN6TLO/hHKH/oyjd2B8mP6YDxV3b/iI4FKUjRMxiA1+LlfQf7GbbSKQ3wEZPVVUenXiX8u5Gb1TSJsOvH2GL49cF3zqjGM7CtCJuXEPdM4BZw9yGtwXVmdmdpHk6R+vpGFHzb/ew4lezeqWKq6CU1hofirMGRlzayuddQqXmY/qGp0dDDSQeWaiXcXO78c0RskLc51o7gOoYaVAfKs21aeyfF/QWnJ5+SdViKGH+moUew== [email protected] |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"math" | |
"math/rand" | |
"runtime" | |
"sort" | |
"strconv" | |
"strings" |
This file contains hidden or 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
#!/bin/bash | |
# fgit 48 commit -a -m "I am 48 hours into the future! For amusement only." | |
# For daring madmen or sleazy conmen, try: | |
# git fetch && git rebase | |
function fgit() { | |
local NOWEPOCH=$(date +%s) | |
local INTO_FUTURE=$(($1*60*60)) | |
shift | |
local COMMIT_DATE=$(($NOWEPOCH + $INTO_FUTURE)) |
This file contains hidden or 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
mydb:PRIMARY> db.mycollection.find({propOne:869}).explain() | |
{ | |
"cursor" : "BtreeCursor propOne_1_propTwo_1_propThree_1", | |
"nscanned" : 8889642, | |
"nscannedObjects" : 8889642, | |
"n" : 804382, | |
"millis" : 11683, | |
"nYields" : 152, | |
"nChunkSkips" : 0, | |
"isMultiKey" : true, |