...
 
Commits (3)
Host heroku.personal
HostName heroku.com
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
Host heroku.work
HostName heroku.com
IdentityFile ~/.ssh/work_rsa
IdentitiesOnly yes
Host wf
Hostname web340.webfaction.com
User adambrenecki
Host wf-mum
Hostname jobrenecki.webfactional.com
User jobrenecki
Host sbtc
Hostname 108.59.11.108
User stbarnabas
Host sbtc-git
Hostname sbtc.org.au
User git
IdentityFile ~/.ssh/sbtc_git_rsa
Host sbtc-xen1
Hostname xen1.lan.sbtc.org.au
User root
Host sbtc-auth
Hostname auth.lan.sbtc.org.au
User abrenecki
Host diocese-old
Hostname 203.123.59.210
User anglica1
Host diocese
Hostname web339.webfaction.com
User anglicanadl
Host csem
Hostname lofty.csem.flinders.edu.au
User bren0094
Host cis
Hostname cis-lab.ml.unisa.edu.au
User breal001
Host *.sbtc.org.au
IdentityFile ~/.ssh/work_rsa
Host heroku.com
IdentityFile ~/.ssh/work_rsa
Host 192.168.56.101
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host *
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/work_rsa
RemoteForward 32123 localhost:32123
......@@ -19,6 +19,7 @@ end
'jshint',
'jsxhint',
'less',
'license',
'react-native-cli',
'rnpm',
'nativefier',
......@@ -37,6 +38,7 @@ end
'boom',
'foreman',
'mailcatcher',
'lolcommits',
].each do |pkg|
gem_package pkg
end
......
......@@ -2,6 +2,7 @@
# 'android-sdk',
# 'apg',
'ctags',
'dash',
# 'coconutbattery',
# 'docker', # superceded by Docker app
# 'docker-compose',
......@@ -11,10 +12,13 @@
'fish',
'ghostscript',
'git',
'gitlab-runner',
'gpg',
'go',
# 'heroku-toolbelt', # installed in heroku.rb
# 'keybase', # now installed as a cask
'imagemagick',
'jq',
'kotlin-compiler',
# 'md5sha1sum', # there is a builtin shasum now
'mobile-shell',
......@@ -33,9 +37,10 @@
# 'python34',
'rtmpdump',
'redis',
'ripgrep',
'ruby',
'rustup',
'sqlite',
'the_silver_searcher',
'tree',
'watchman',
'wget',
......@@ -49,6 +54,7 @@ end
[
'1password',
'1password-cli',
'adobe-creative-cloud',
'aerial',
# 'android-studio',
......@@ -80,6 +86,7 @@ end
'font-source-sans-pro',
'font-source-serif-pro',
'font-work-sans',
'fontstand',
# 'genymotion',
'gog-galaxy',
'gitup',
......@@ -99,6 +106,7 @@ end
# 'minecraft',
# 'mono-mdk', # Required for Xamarin Studio
# 'microsoft-office',
'keybase',
'moom',
'ngrok',
# 'nylas-n1',
......@@ -107,6 +115,7 @@ end
'opera',
'psequel',
# 'pycharm',
'rambox',
'sketch',
# 'slack',
# 'smart-scroll', # package seems to be broken
......@@ -120,6 +129,7 @@ end
'vagrant',
'virtualbox',
'vlc',
'vmware-fusion',
'wkhtmltopdf',
# 'xamarin-ios',
# 'xamarin-studio',
......
HOME = Dir.home(ENV['SUDO_USER'] || node['current_user'])
PYTHON_VERSION = "3.6.2"
PYTHON_VERSION = "3.7.1"
PYTHON_HOME = "#{HOME}/.pyenv/versions/#{PYTHON_VERSION}"
PYTHON_BIN = "#{PYTHON_HOME}/bin/python"
......@@ -7,10 +7,16 @@ package 'pyenv'
execute 'git clone https://github.com/momo-lab/pyenv-install-latest.git "$(pyenv root)"/plugins/pyenv-install-latest' do
creates "#{HOME}/.pyenv/plugins/pyenv-install-latest"
end
execute 'git clone https://github.com/pyenv/pyenv-virtualenv.git "$(pyenv root)"/plugins/pyenv-virtualenv' do
creates "#{HOME}/.pyenv/plugins/pyenv-virtualenv"
end
execute "CFLAGS=\"-I$(brew --prefix openssl)/include\" LDFLAGS=\"-L$(brew --prefix openssl)/lib\" pyenv install #{PYTHON_VERSION}" do
creates PYTHON_HOME
end
execute "pyenv global #{PYTHON_VERSION}"
execute "pyenv virtualenv #{PYTHON_VERSION} default" do
creates "#{PYTHON_HOME}/envs/default"
end
execute "pyenv global #{PYTHON_VERSION}/envs/default"
execute "curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python"
creates "#{HOME}/.local/venvs/pipsi"
end
......@@ -18,6 +24,7 @@ end
# Python packages
[
'autopep8',
'black',
'cookiecutter',
'httpie',
'isort',
......@@ -26,6 +33,7 @@ end
'pep257',
'pep8',
'pre-commit',
'tox',
'unp',
'yapf',
'youtube-dl',
......
directory "/Users/adam/.ssh"
cookbook_file "ssh_config" do
path "/Users/adam/.ssh/config"
action :create
end
# [
# 'id_rsa',
# 'id_rsa.pub',
# 'work_rsa',
# 'work_rsa.pub',
# ].each do |f|
# link "/Users/adam/.ssh/#{f}" do
# to "/Users/adam/config/private/#{f}"
# action :create
# end
# end