title | date | draft |
---|---|---|
Macbook Setup |
2017-07-19 18:57:02 -0700 |
true |
Turns out I have a really custom setup ... Here is what I had to do to install everything I need to get started
- Chrome
Quicksilver- deprecated in favor of Spotlight Search- Add Russian language for input sources
- Remove all Apple software from doc except preferences
- Git/XCode (type
git
and mac OS Sierra knows you're a coder and installs tools for you) - PyCharm
- Set margin columns to 79
- Markdown Navigator plugin
- Enable soft wrapping
.ignore
plugin- Solarized theme: https://github.com/jkaving/intellij-colors-solarized
- oh my zsh: https://github.com/robbyrussell/oh-my-zsh
- Add a few plugins:
plugins=(git osx python)
- Uncomment a few lines:
- Add a few plugins:
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
... more options ...
# Preferred editor for local and remote sessions
# Changed to `emacs`
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='mvim'
fi
... more options ...
# ssh
export SSH_KEY_PATH="~/.ssh/rsa_id"
Add alias for Triton Supercomputing Cluster (TSCC):
# Alias to Triton Supercomputing Cluster (TSCC)
alias tscc="ssh [email protected]"
Never use vi
/vim
:
# >:)
alias vim=emacs
alias vi=emacs
ssh
keys- Create a new
ssh
key - Add
ssh
key to GitHub - Log on to TSCC and add ssh key to accepted keys with [one line](http://www.linuxproblem.org/art_9.html]:
- Create a new
cat .ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'
~/code
folder- GitHub repos from grad school that I'm still working on
- Terminal settings
- Mac OS Sierra's high contrast I-beam is on point. I've lost that cursor so many times in El Capitan
- Solarized scheme
- Inconsolata font, 14 point
- Set
option
as theMeta
key foremacs
: Preferences > Settings > Keyboard > Use option as meta key
- Anaconda Python
- Make sure to copy the lines added to
~/.bash_profile
to~/.zshrc
since Anaconda doesn't know you useoh-my-zsh
- Make separate environments for each github repo
- Add kernels to Jupyter notebooks
- For each environment, need to do:
- Make sure to copy the lines added to
source activate kvector-env
conda install ipykernel
python -m ipykernel install --user --name myenv --display-name "Python 3.6 (kvector-env)"
- Homebrew
hub
brew install hub
: mislav/hub#978- Add token for command line access so you can do
git pull-request
on the command line: mislav/hub#978 brew install git-lfs
for git large file storage
tree
to view directory trees from the command linewatch
to rerun commands forever
- Caffeine - Turn off the screen dimming on your mac - keep it "awake" :)
- Toggl for time tracking so I know how long I spend on projects. This was especially useful for seeing how long formatting my dissertation took
- VLC - Watch videos in something other than .mov or .mp4 format
- Flux - Dim the blue light in your screen at night so you sleep better