I hereby claim:
- I am danmrichards on github.
- I am smeghead (https://keybase.io/smeghead) on keybase.
- I have a public key ASAaiqxaFHHlsLYELiKmnxi6Zc8vqiVGBZy9qrNUfmyO8Ao
To claim this, I am signing this object:
| package main | |
| import ( | |
| "flag" | |
| "log" | |
| "log/slog" | |
| "math/rand" | |
| "net/http" | |
| "os" | |
| "os/signal" |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net" | |
| "net/http" | |
| "sync" |
| version: "3" | |
| services: | |
| roach1: | |
| container_name: roach1 | |
| image: cockroachdb/cockroach:v1.1.3 | |
| command: start --insecure | |
| ports: | |
| - "26257:26257" | |
| - "8080:8080" | |
| volumes: |
| $app->get('/test', function () use ($app) { | |
| $orders = \App\Models\Order::with('lineItems', 'payments', 'payments.metaData', 'totals', 'metaData')->get(); | |
| foreach ($orders as $order) { | |
| print "Spoofing order:" . $order->order_number . "\r\n"; | |
| event(new \App\Events\OrderCreated($order)); | |
| } | |
| }); |
| #!/usr/bin/expect -f | |
| # Filename: beanstalk-purge | |
| set timeout 1 | |
| spawn telnet [lindex $argv 0] [lindex $argv 1] | |
| sleep 1 | |
| send "use [lindex $argv 2]\n" | |
| expect "USING" | |
| for {set i 1} {$i < [lindex $argv 3]} { incr i 1 } { |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "net/http" | |
| ) | |
| func main() { | |
| passer := &DataPasser{logs: make(chan string)} |
| package jsonequals | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "reflect" | |
| ) | |
| // jsonEquals - Compare the equality of two JSON byte arrays. | |
| // |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "time" | |
| "cloud.google.com/go/pubsub" | |
| "golang.org/x/net/context" | |
| "google.golang.org/api/option" |
| <?php | |
| /** | |
| * @file | |
| * Example checksum calculation for Softbank. | |
| */ | |
| // Example only. Real hash key value is provided by Softbank. | |
| $hash_key = 'a2d8648d0246a924bed081433930f868c8100224'; |