-
preferences
- key repeat rate to max, delay to shortest
- Set key repeat rate faster than preferences pane allows:
defaults write -g KeyRepeat -int 1
- disable natural scrolling
- caps lock -> esc
- scroll speed to max
- disable notifications from 4:00AM to 3:59AM (there's no good way to kill them entirely)
- minimize and autohide the dock
- increase resolution
- remove siri from touchbar
- show volume in toolbar
- disable shake mouse pointer to locate
- key repeat rate to max, delay to shortest
-
install homebrew
-
brew install a bunch of stuff (python, ruby, openssl, etc etc)
brew install add-to-user-namespace awscli autoconf autoenv automake coreutils curl devd dos2unix fzf gcc git gpg go gpg-agent hub jq nmap vim numpy python openssl prometheus pyenv ripgrep sqlite tmux tree wget yarn
-
tell git to use osxkeychain, and set it up by cloning a repo
git config --global credential.helper osxkeychain
mkdir code
git clone <any https repo that requires authentication>
- I used
git clone https://github.com/adhocteam/ec2ssh ~/code/ec2ssh
- I used
- you have to use a "Personal Access Token", go to https://github.com/settings/tokens to generate one
-
copy homedir dotfiles
git clone https://github.com/llimllib/personal_code.git
cp personal_code/homedir/.* ~/
-
brew cask install
a bunch of stuff- java just necessary for selenium
brew cask install chromium firefox iterm2 selfcontrol vlc java
-
install chrome, alfred, slack, viscosity and lastpass manually
- disable lastpass auto-fill
- make ddg chrome default
- install ublock origin
- disable autofill and offer to save your passwords
-
rbenv install 2.4.0
-
install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`
:VundleInstall
pyenv install 3.5.3
- the bash version is too old for some nice options.
brew install bash
- now I need to make it my login shell
chsh -s /usr/local/bin/bash
- remove virtualenvwrapper from bash... will use virtualenv directly
- install base16
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
- download https://github.com/chriskempson/base16-iterm2/blob/master/base16-twilight.dark.256.itermcolors
- preferences -> profiles -> colors -> color presets -> import -> choose that file
- then select it from the dropdown (it doesn't get chosen automatically)
$ eval "$(.config/base16-shell/profile_helper.sh)"
$ base16_twilight
$ wget https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-twilight.vim -O .vim/colors/base16-twilight.vim
* now go into a new terminal and it seems to look good. Phew that's terrifying every time.
-
iterm profile -> silence bell
-
Manually install keybase
- copy ssh dir from old compy to /keybase/private/llimllib/ssh
cp -r /keybase/private/llimllib/ssh/* ~/.ssh/
-
clone plancompare! it works! woo
rbenv install 2.3.0; gem install bundler; bundle
-
need postgres
brew install postgres
brew services start postgresql
bundle exec rake db:create
bundle exec rails db:migrate RAILS_ENV=development
- have to
gem install foreman!
- TODO add to gemfile
-
add tmux.conf to homedir and copy it to ~
- but tmux isn't loading it? WTF
- session was running, so the tmux server wasn't reloading the conf file. kill all sessions and start tmux, works
- but tmux isn't loading it? WTF
-
dockerizing plancompare
- https://docs.docker.com/compose/rails/#build-the-project
- create Dockerfile
- create docker-compose.yml
- install docker for mac (remove homebrew docker stuff)
- fails on cloning plancompare-shared, doesn't have git creds >: TODO
-
export VPN files from viscosity
- put them into keybase
- download them onto new machine
-
copy ~/.gnupg dir from old to new
-
install selenium in plancompare
node_modules/.bin/webdriver-manager update