I hereby claim:
- I am bketelsen on github.
- I am bketelsen (https://keybase.io/bketelsen) on keybase.
- I have a public key whose fingerprint is 7A8D B8F9 0631 2D4C AC70 9998 868F E979 3736 6F45
To claim this, I am signing this object:
type Package struct { | |
Authors []Author | |
ImportPath string | |
SourceURL string | |
License string | |
Keywords []string | |
Description string | |
Versions []Version | |
} |
I hereby claim:
To claim this, I am signing this object:
1.7.4 | |
bketelsen@dune:[~] echo "GET http://dev.brianketelsen.com:3000/" | vegeta attack -duration=10s | tee results.bin | vegeta report | |
Requests [total, rate] 500, 50.10 | |
Duration [total, attack, wait] 10.0324512s, 9.9799993s, 52.4519ms | |
Latencies [mean, 50, 95, 99, max] 48.393322ms, 46.8469ms, 56.0995ms, 61.5624ms, 90.1626ms | |
Bytes In [total, mean] 2918000, 5836.00 | |
Bytes Out [total, mean] 0, 0.00 | |
Success [ratio] 100.00% | |
Status Codes [code:count] 200:500 | |
Error Set: |
ng=0x771f4)}, FoodSensors:[]qpid.Sensor(nil)} | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.262317058 +0000 UTC: [INFO] Pi Grill Controller - Temp: 102, Integral: 53.741699 | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.262417211 +0000 UTC: [INFO] Pi Grill Controller - Turning on Blower | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.263110108 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.263573896 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.264012165 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.26431674 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.264754592 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.265010313 +0000 UTC: [INFO] Pi Grill Controller - Leaving Blower On | |
2016/09/25 16:54:54 LOG: 2016-09-25 16:54:54.265387334 |
on local and remote machine: | |
go get github.com/pocke/lemonade (if you have Go installed, if not download lemonade binary from github) | |
make sure $GOPATH/bin is in your path on both machines | |
-- or move $GOPATH/bin/lemonade to a place already in your path like /usr/local/bin | |
on your local machine add a script like this: | |
cat ~/bin/remote |
package design | |
import ( | |
"github.com/goadesign/gorma" | |
. "github.com/goadesign/gorma/dsl" | |
) | |
var _ = StorageGroup("CongoStorageGroup", func() { | |
Description("This is the global storage group") | |
Store("postgres", gorma.Postgres, func() { |
root@gopheracademy:/opt/caddy# cat Caddyfile | |
gophercon.com, www.gophercon.com { | |
root /opt/caddy/gc15/public | |
gzip | |
tls [email protected] | |
git { | |
repo https://github.com/gophercon/gc15 | |
path ../ | |
interval 60 | |
then hugo --theme=gophercon --destination=public |
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/goadesign/goa/dslengine" | |
"github.com/goadesign/goa/goagen/codegen" | |
"github.com/goadesign/goa/goagen/gen_app" |
kit.Endpoint(server.AddService, func(){ // first parameter is the Go interface representing the service | |
kit.GRPC("pb/add.proto") | |
kit.Thrift("thrift/add.thrift") | |
kit.NetRPC("?") | |
}) |