Junho setting

setup github authentication

ssh-keygen -t rsa -C "junhocho@snu.ac.kr"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa

// add `~/.ssh/id_rsa` in github profile SSH keys.

ssh -T git@github.com


ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCwhlRIXw5eRPiBBe9eDprklLLQ2cjFmpv1/RY5zotDLaJ80SMQONoKufETWYTbGpk2QOji6uHME3MX9iz93sUj3wmLZJMPXC8TAmDlFNC80Q4kKY9XVZsJo5b8YxArawbKba+DYfGxjmKke10yYhEWh1zHtRJYW4+POsKx4obD95iJSLiIe7ezejyASCIP6sGtO6djEqBpX86L29dqTjL1eyV6O7D9KJ2NFJBKFbXfZYluYAJtUcFDtS75nzV9kXL4n8BrKTGkG7mZVOP7SO89XUUOe7GhGakJim0EOBaweZgmjo2IjJeTr7kKnDTj99qLSFabekoNaMMvHqBFWKFrxHhRUJWo/Qjqt6N2L+ABvACkeufava1C0XYN9H1dgP0VpWcKwEej6qRdwIH/75btc5MX4pvSDjyXQwGfj1aj7rITTeIgZjHpK6UpsY+iUR/12pvTb6iQnzREwbywJ0ym0ehqD/4LzCnf2Mi2afy2e845zMAVGoBQK20zsfIlcTtBvdcqbodEZzsW8+yDMi/xVINwbAalWvq1OZu0ufxdn2a8Gb4fI5+hb1sANfwdtSLoPLwYMbdZp7k2CMYIvqHIE19u3kEgm1uWGEcINTleFGsIjZpdIeHpX3CmUF+hDSDPhyvvnBWw5FqQ/WJvIQI7XgXdJSf+AWRrNPXYQO/INQ== junhocho@snu.ac.kr
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDFAMbZw7aebfWiF2oTcM80oqjbVThwwnanlAz/PfGe2+LhPqGB2bCo9tbN1dPOvC0dFN8EUAE+rsuSNbayVUDnJPV35tJGKQ5pDOnin5EH67f4b/OXfajTUh7vQiTS7LkM94un8fcu+Ju9jSe3km7hJDahFbl9Ifoiqs7Zo5Py6m0pu3y+l307MhJ87ypmoMge2XcEi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VjXUmnKoB74hOLPOTHYKvJqHrZaqCGO4xjTXyPODWLGzIJeQZKfhS0NvU0ka3EA+UI+UlgJo8QUqgUBSUWLW1f8CwqU2WyNdYLc94ip/4Qq5674u/E1lcIQIXEHpdCt/46Lfus/WNhp1HS6uJkjuNrZv6pLpOY5ajEydi4CtkdDdMZqLGd6osA9AtBcO8mdwVFlj3MkVQFyyfgtynnDhG2mhRO13ZuqqqmuI5e+x1z2QDpHtlSkzfKHDnKsWDLR/UuGGbH5YX8RxCWWdLbNrx4HiRUx30tdUJU7cfJYK6/8Ar3eGmepaSL7MaAzHTF3m2Fv6825rH3xf3ZI7/fXzxHR3X4196qm0WqfYYKiXJGQ2WC6+hf1KXQUf3E+DSnvU5x/wBz4xbZ8mMO9lQouSmfz0zJ32rXR48xBgjHmhtu1xuWe7xZzHeVwJ1ge7+f8wVAEgGirY+DaTsDuzyBgGLmhKseFzbRg8jvEhKTOwIErmwH5zmg/LleI4q0EZq49e50XNqkPUWml2a9QXoIvFAoTvzVKVzZw== junhocho@snu.ac.kr


// paste these public keys in `~/.ssh/authorized_keys`

git clone

For faster clone: git clone --depth 1 git@github.com:junhocho/junhosetting.git

you can configure zsh, tmux with ./setup-all.sh

  • It installs all zsh, vim , tmux firt
  • Run ./setup-all.sh then input passwords when needed.
  • exit at first zsh to proceed following installs.

Install anaconda3

  • Install python3. sh setup-anaconda.sh

Neovim

Help

Iterm-2 setup

  • Using Iterm2, show server name on tabe.
  • Disable all Iterm2 > Preferences > Appearance > Window & Tab Titles
  • include this code in zshrc:
DISABLE_AUTO_TITLE="true"
echo -ne "\e]1;serverName\a"

Install autojump

git clone git://github.com/wting/autojump.git
cd autojump
./install.py or ./uninstall.py

Some more explanations:

  • install_txt : what i normally install first
  • portforward : copy in /usr/bin or /usr/local/bin/ and $ portforward user@123.123.123.123 8888
  • imgcat : useful with iterm2
  • tmux.conf
  • vimrc
  • zshrc
  • my-zsh-setup : my useful alias
  • install-pytorch.sh : install anaconda3 and pytorch3

CLI environment presentation inspired from @nicknisi