This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /share/ | |
mkdir certs | |
cd certs | |
curl https://letsencrypt.org/certs/lets-encrypt-r3.pem -k -O | |
curl https://letsencrypt.org/certs/isrgrootx1.pem -k -O | |
for filename in *.pem;do mv $filename `openssl x509 -hash -noout -in $filename`.0; done; | |
cp *.0 /etc/ssl/certs/ | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir myapp | |
cd myapp | |
cat > Gemfile << EOF | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails' | |
EOF | |
bundle install | |
bundle exec rails new . --minimal --edge --database=postgresql | |
# conflict Gemfile | |
# Overwrite /Users/user/myapp/Gemfile? (enter "h" for help) [Ynaqdhm] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am docemmetbrown on github. | |
* I am gwinter (https://keybase.io/gwinter) on keybase. | |
* I have a public key ASBDpQlY5OuMVBtf_IkQGHXweEhnc3Vrl2h-WSygaC1m2Qo | |
To claim this, I am signing this object: |