I hereby claim:
- I am dgrijalva on github.
- I am dgrijalva (https://keybase.io/dgrijalva) on keybase.
- I have a public key whose fingerprint is 7725 D335 6856 8840 D2F4 6E40 86C1 1802 3E61 AFCD
To claim this, I am signing this object:
| // Like printf, but then it dies | |
| func fatal(msg string, more ...interface{}) { | |
| fmt.Fprintf(os.Stderr, msg+"\n", more...) | |
| os.Exit(1) | |
| } |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "github.com/fitstar/falcore" | |
| "github.com/fitstar/falcore/filter" | |
| "sync" | |
| ) |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| var A = []byte(`{"foo": "bar"}`) | |
| var B = []byte(`{"bar": "baz"}`) |
| require 'thread' | |
| class WaitGroup | |
| def initialize | |
| @count = 0 | |
| @done = false | |
| @cond = ConditionVariable.new | |
| @lock = Mutex.new | |
| end |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "strings" | |
| "go/parser" | |
| "go/token" | |
| "go/ast" | |
| "go/printer" |
| package main | |
| import ( | |
| "github.com/fitstar/falcore" | |
| _ "github.com/fitstar/falcore/compression" | |
| _ "github.com/fitstar/falcore/etag" | |
| _ "github.com/fitstar/falcore/upstream" | |
| _ "github.com/fitstar/falcore/static_file" | |
| ) |
| package main | |
| import ( | |
| "launchpad.net/mgo/v2" | |
| "launchpad.net/mgo/v2/bson" | |
| ) | |
| type insertType struct { | |
| Foo bson.ObjectId `bson:"foo,omitempty"` | |
| } |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/edsrzf/fineline" | |
| ) | |
| func main(){ | |
| lr := fineline.NewLineReader(nil) | |
| package main | |
| import ( | |
| "fmt" | |
| "runtime" | |
| "time" | |
| ) | |
| func main() { | |
| go count() |