Last active
October 24, 2016 09:45
-
-
Save mikepea/903a6dea24dfd38e7d14d9c3a7831fca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z "$GOPATH" ]; then | |
echo "Doh, GOPATH not set. Bailing"; exit 1 | |
fi | |
BASE=$(mktemp -d /tmp/diagbuild.XXXXXX) | |
cd $BASE | |
# Nice way of visualising network latencies with an http call | |
# "shameless ripoff" of https://github.com/reorx/httpstat | |
go get -u github.com/davecheney/httpstat | |
# http://mylg.io - ping, traceroute, BGP LG, web dashboard | |
# - ripe for additions? | |
git clone https://github.com/mehrdadrad/mylg.git | |
cd mylg | |
go get | |
go build mylg | |
cd $BASE | |
# cinf - container cgroup/namespace low level inspection | |
# https://github.com/mhausenblas/cinf | |
git clone https://github.com/mhausenblas/cinf.git | |
cd cinf | |
go get github.com/olekukonko/tablewriter | |
go get github.com/mhausenblas/cinf | |
go get github.com/buger/goterm | |
GOOS=linux go build | |
godoc -http=":6060" | |
cd $BASE | |
## HONOURABLE MENTIONS | |
# SJSON - makes setting json values super easy | |
# https://github.com/tidwall/sjson | |
# Not golang but still pretty darn useful (i.e, get porting :P) | |
pip install dnsyo --upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment