I hereby claim:
- I am munhitsu on github.
- I am munhitsu (https://keybase.io/munhitsu) on keybase.
- I have a public key whose fingerprint is 8E51 F4D3 1C2A 8D8C 07F2 7039 B8D1 BB64 D360 DABA
To claim this, I am signing this object:
resource "aws_db_instance" "api" { | |
identifier = "api-${var.stack}" | |
allocated_storage = 100 | |
engine = "postgres" | |
engine_version = "9.3.6" | |
instance_class = "db.m3.medium" | |
storage_encrypted = true | |
apply_immediately = false | |
name = "${var.db_name}" | |
username = "${var.db_master_username}" |
from __future__ import print_function | |
def pprinttable(data, headers=None, print=print): | |
""" | |
prints data as a table assuming that data is a list of dictionaries (single level) | |
if headers are provided then they specify sequence of columns | |
example of data: | |
[{'slug': u'ams1', 'name': u'Amsterdam 1', 'region_id': 2}, | |
{'slug': u'sfo1', 'name': u'San Francisco 1', 'region_id': 3}, |
import os | |
"".join((chr(ord(os.urandom(1))/2) for x in range(64))) |
curl -XGET localhost:9200/_nodes/_all/process?pretty |
dig +noall +answer -x 8.8.8.8 | |
dig -x 8.8.8.8 |
python -m json.tool |
boot2docker.sh() { | |
$(boot2docker shellinit) | |
} |
top -Hp $(pgrep java -u logstash) | |
brew install go | |
brew install git | |
brew install mercurial | |
#go code analysis | |
go get golang.org/x/tools/cmd/vet | |
#to have offline docs using: godoc -http=:6060 | |
go get golang.org/x/tools/cmd/godoc |
I hereby claim:
To claim this, I am signing this object: