Skip to content

Instantly share code, notes, and snippets.

@jcPOLO
jcPOLO / Install Openssh from Source
Created April 24, 2020 22:46 — forked from imagescape/Install Openssh from Source
Install openssh in an alternate location from source
# We will assume installation in the /opt/ directory
mkdir /opt/openssh/
cd /opt/openssh/
# gather and install the dependencies
wget http://zlib.net/zlib-1.2.7.tar.bz2
tar jxvf zlib-1.2.7.tar.bz2
cd zlib-1.2.7
./configure --prefix=/opt/openssh/dist/
@jcPOLO
jcPOLO / index.md
Created October 5, 2017 18:58 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one