Skip to content

Instantly share code, notes, and snippets.

View Cyan101's full-sized avatar
💭
Looking for work/projects!

Cyan Cyan101

💭
Looking for work/projects!
  • Perth, Australia
View GitHub Profile
@Cyan101
Cyan101 / install-libsodium.sh
Created February 16, 2017 11:37 — forked from jonathanpmartins/install-libsodium.sh
Install Libsodium on Ubuntu 14.04.3 LTS Trusty
#!/bin/bash
sudo add-apt-repository ppa:chris-lea/libsodium;
sudo echo "deb http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list;
sudo echo "deb-src http://ppa.launchpad.net/chris-lea/libsodium/ubuntu trusty main" >> /etc/apt/sources.list;
sudo apt-get update && sudo apt-get install libsodium-dev;
@Cyan101
Cyan101 / gen_keys.sh
Created November 19, 2016 06:54 — forked from hvasconcelos/gen_keys.sh
Create an Sinatra SSL Server
# Generate a self-signed Certificate and a Private Key
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout pkey.pem -out cert.crt