Skip to content

Instantly share code, notes, and snippets.

View opiuman's full-sized avatar

Wilson Wang opiuman

  • NBC News
  • Seattle
View GitHub Profile
@opiuman
opiuman / golang_job_queue.md
Created September 28, 2017 05:36 — forked from harlow/golang_job_queue.md
Job queues in Golang
version: '2'
services:
vsplunk:
image: busybox
volumes:
- /opt/splunk/etc
- /opt/splunk/var
splunk:
image: opiuman/splunk
hostname: splunk
version: "2"
services:
zookeeper:
image: wurstmeister/zookeeper
network_mode: "bridge"
container_name: zookeeper
ports:
- "2181:2181"
kafka:
@opiuman
opiuman / gist:18419bb9e652ef10360c
Created February 13, 2016 20:33
go get via ssh
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!