Skip to content

Instantly share code, notes, and snippets.

View canhlinh's full-sized avatar
🇻🇳
Working from home

Kyo Nguyen canhlinh

🇻🇳
Working from home
View GitHub Profile
@canhlinh
canhlinh / jwtRS256.sh
Created August 18, 2016 02:32 — forked from ygotthilf/jwtRS256.sh
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@canhlinh
canhlinh / gist:bed2e9d66e46831a7f5f2b46cb5a132f
Created July 15, 2016 04:14 — forked from imkarthikk/gist:772f86858f90efa55687
Graphite, UWSGI and nginx setup on Ubuntu 14.04
# update packages
sudo apt-get update
# install python and graphite dependencies
sudo apt-get install -y python python-dev python-virtualenv libevent-dev python-pip python-cairo python-django-tagging python-twisted python-memcache python-pysqlite2
# install web server
sudo apt-get install -y nginx uwsgi uwsgi-plugin-python
# install postgresql and dependencies
@canhlinh
canhlinh / gist:5bf404d155741195382847e942c61a5d
Created July 11, 2016 03:53 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch