I hereby claim:
- I am ian-kent on github.
- I am iankent (https://keybase.io/iankent) on keybase.
- I have a public key whose fingerprint is 1B05 9770 DF07 6B2F DADB 42C4 4625 6A72 3651 FBC8
To claim this, I am signing this object:
| package main | |
| import( | |
| "log" | |
| "net/http" | |
| "github.com/gorilla/pat" | |
| ) | |
| func main() { | |
| p := pat.New() |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "github.com/crowdmob/goamz/aws" | |
| "github.com/crowdmob/goamz/elasticache" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "github.com/crowdmob/goamz/aws" | |
| "github.com/crowdmob/goamz/elasticache" | |
| ) | |
| package config | |
| import "flag" | |
| var BindAddress string | |
| var SMTPHost string | |
| var SMTPPort int | |
| func Configure() { | |
| flag.StringVar(&BindAddress, "bind", ":9650", "Bind address") |
| func (i *inMemory) Get(key string) (interface{}, bool) { | |
| // This doesn't work ("not enough arguments to return") | |
| return i.data[key] | |
| // But this does | |
| v, ok := i.data[key] | |
| return v, ok | |
| } |
| package com.github.iankent.sshd; | |
| import com.google.common.jimfs.Configuration; | |
| import com.google.common.jimfs.Jimfs; | |
| import org.apache.sshd.common.file.FileSystemFactory; | |
| import org.apache.sshd.common.scp.ScpTransferEventListener; | |
| import org.apache.sshd.common.session.Session; | |
| import org.apache.sshd.server.SshServer; | |
| import org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator; | |
| import org.apache.sshd.server.command.ScpCommandFactory; |
| { | |
| "Name": "external", | |
| "Tasks": [{ | |
| "Name": "kafka", | |
| "Command": "docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=`docker-machine ip \\`docker-machine active\\`` --env ADVERTISED_PORT=9092 spotify/kafka", | |
| "Executor": ["/bin/sh", "-c"], | |
| "Service": true | |
| }, { | |
| "Name": "kafka-manager", | |
| "Command": "docker run -p 9000:9000 -e ZK_HOSTS=\"192.168.99.100:2181\" -e APPLICATION_SECRET=letmein sheepkiller/kafka-manager", |
| import Html exposing (..) | |
| import Html.App as Html | |
| import Html.Events exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Http | |
| import Task | |
| import Json.Decode as Json | |
| import String exposing (length) | |
| import Time exposing (Time, second) |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| ) | |
| func main() { | |
| m := new(sync.Mutex) |