Skip to content

Instantly share code, notes, and snippets.

@sher
sher / localhost.ini
Last active October 28, 2016 04:45
Sample Ansible playbook for Vultr servers
[localhost]
127.0.0.1 ansible_connection=local ansible_python_interpreter=python
@sher
sher / install-erlang-elixir.sh
Created December 29, 2016 04:18
Install erlang and elixir on CentOS 7
yum update
yum install epel-release
yum install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git wget wxBase.x86_64
wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
yum update
yum install erlang
cd /usr/local/lib
git clone https://github.com/elixir-lang/elixir.git
cd elixir
@sher
sher / readme.md
Created May 24, 2017 03:36
Self-signed SSL cert on macOS
$ cat > openssl.cnf <<-EOF
[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_ca
prompt = no
[req_distinguished_name]
CN = example.local
[v3_ca]
keyUsage = digitalSignature, keyEncipherment