Skip to content

Instantly share code, notes, and snippets.

View t-c-k's full-sized avatar

Tom t-c-k

  • Salon App
  • Brighton
View GitHub Profile
@ticktricktrack
ticktricktrack / .0rails_installation_ubuntu.sh
Last active August 29, 2015 14:16
Ruby on Ubuntu Installation
# general dependencies
sudo apte-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
# git
sudo apt-get install curl git-core bash-completion
# rbenv in one go
curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
# bashrc + rbenv
@hvasconcelos
hvasconcelos / gen_keys.sh
Last active July 18, 2024 18:47
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