On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. I’m going to use Cask to install Java 7 and 8.
Install Homebrew Cask first if you haven’t:
brew update
brew tap caskroom/cask
#!/bin/bash | |
# installing erlang on ubuntu's | |
VERSION="18.2.1" | |
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev | |
sudo mkdir -p /opt/erlang/ | |
cd /usr/local/bin/ | |
sudo curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl && chmod a+x kerl |
Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following:
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf
to /usr/local/etc/nginx/
default.conf
and default-ssl.conf
to /usr/local/etc/nginx/sites-available
homebrew.mxcl.nginx.plist
to /Library/LaunchDaemons/
-----BEGIN PUBLIC KEY----- | |
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAon10gBWBgBvj3k9M2dLz | |
h1wSr0aeiX2Fs+Bx+e2T5JG/NQRaBiQBtMESCN+c0dldrgo/72Ayj/phOjW7CGNN | |
vpvCC/zzbnfSoT8NJQqiTw34OmuCOvMDiuCRpIe8Y9tdLJxIJP4gxDyPL7b4Ml5T | |
TaSpcuaGCbDYlRIY2N1tj0q8qFRxumXMemxcvHy2+IPURyVmRKGKyCKNVs8D6sy9 | |
d1cKBEE+ddIKYOA4R8ByghdxhLLhRyqRMsIdw0ON0GtYjQiPRMjHfvsJSOVFpZnT | |
FgLE+0WCeWEA2RhSvMOfD7hU2N1jgXnOZf5dGAiQ6YJc7TYdvdZ5IOqI/xMFDut2 | |
Ng3SuKDkFhUEQBSsoC4yXUiwDjdQJzBgnTXF/RLh2mqkd9v7NfdTIaPlYvWB4f5D | |
gNzpoCEqQKHiJVBI758WrFw1+C+IrbY5ZRN5vhvGsDso2NlwvQyrbMB8AafaZI/5 | |
cDBNwOFtn+B3dXS84y7+Pg1zQwEzQ+Ctkg8tS7TCAVvfJICj1TMtp+dDeNkqXGHg |
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.2' | |
# Use postgresql as the database for Active Record | |
gem 'pg' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' |
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.0' | |
gem 'pg' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' |
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.0' | |
# Use postgresql as the database for Active Record | |
gem 'pg' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' |
source 'https://rubygems.org' | |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
gem 'rails', '4.0.0' | |
# Use sqlite3 as the database for Active Record | |
gem 'sqlite3' | |
# Use SCSS for stylesheets | |
gem 'sass-rails', '~> 4.0.0' |