Skip to content

Instantly share code, notes, and snippets.

nstielau /
Created May 11, 2011
Send a metric to StatsD from bash
# Send a metric to statsd from bash
# Useful for:
# deploy scripts (
# 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.
ryu1kn / Makefile
Last active Apr 27, 2021
Encrypt/decrypt with AWS KMS using AWS cli
View Makefile
# How to encrypt/decrypt your text/blob secret with AWS KMS with AWS cli
SECRET_TEXT="my secret text"
DECRYPTED_SECRET_AS_BLOB=decrypted_secret_blob # Result of decrypt-blob target