Skip to content

Instantly share code, notes, and snippets.

@llimllib llimllib/setup_notes.md
Last active Sep 29, 2017

Embed
What would you like to do?
  • 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
  • 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
    • 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

$ 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
  • dockerizing plancompare

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.