Skip to content

Instantly share code, notes, and snippets.

View cmars's full-sized avatar

Casey Marshall cmars

View GitHub Profile
https://twitter.com/davecheney/status/447523678561898496
Why do I think Go is more 'distributed' than other languages, and why do I think that is a good thing ?
1. Go does not have a BDFL, there is no Guido Van Rossem, no Theo De Ralt, etc. We have our spiritual leaders like Rob Pike and Ken Thompson, but their influence is much less immediate.
2. The very nature of the development of the Go standard library discourages adding new stuff to the standard library.
2a. I believe this is a good thing
@gdey
gdey / create_changelog_entry.sh
Last active August 29, 2015 13:57
This is a quick shell script to generate an changelog entry.
#!/bin/bash
# This should be a perl/ruby/python/go program,
# but for now it's going to be in Bash.
DIRNAME=$( dirname $0 )
## First some configuration
if [[ -z "$MASTER_BRANCH" ]]; then
MASTER_BRANCH=master
@nstielau
nstielau / send_metric_to_statsd.sh
Created May 11, 2011 16:41
Send a metric to StatsD from bash
# Send a metric to statsd from bash
#
# Useful for:
# deploy scripts (http://codeascraft.etsy.com/2010/12/08/track-every-release/)
# init scripts
# sending metrics via crontab one-liners
# sprinkling in existing bash scripts.
#
# netcat options:
# -w timeout If a connection and stdin are idle for more than timeout seconds, then the connection is silently closed.