#Git - Cheatsheet
###Create Repo
git init
###Fork (Copy) existing Repo
git clone repo name
###Branching You should create a branch per feature. Create a branch.
#Git - Cheatsheet
###Create Repo
git init
###Fork (Copy) existing Repo
git clone repo name
###Branching You should create a branch per feature. Create a branch.
#Vim
###Índice
| ____ _ ____ _ _ ____ _ _ _ _ | |
| | __ ) / \ / ___|| | | | / ___| |__ ___ __ _| |_ ___| |__ ___ ___| |_ | |
| | _ \ / _ \ \___ \| |_| | | | | '_ \ / _ \/ _` | __/ __| '_ \ / _ \/ _ \ __| | |
| | |_) / ___ \ ___) | _ | | |___| | | | __/ (_| | |_\__ \ | | | __/ __/ |_ | |
| |____/_/ \_\____/|_| |_| \____|_| |_|\___|\__,_|\__|___/_| |_|\___|\___|\__| | |
| kelvinchan.ca | |
| Comparison | |
| ========== |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #! /usr/bin/env bash | |
| # http://smirnov-am.blogspot.com/2015/04/installation-of-python-279-in-ubuntu.html | |
| # http://davebehnke.com/python-pyenv-ubuntu.html | |
| # https://renoirboulanger.com/blog/2015/04/upgrade-python-2-7-9-ubuntu-14-04-lts-making-deb-package/ | |
| # install dependencies | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install build-essential |
| # IPython Notebook Launcher | |
| # Adopted from the Rstudio upstart script | |
| # | |
| # | |
| # upstart docs: http://upstart.ubuntu.com/getting-started.html | |
| # http://manpages.ubuntu.com/manpages/karmic/man5/init.5.html | |
| # | |
| # (note that embedding a script and pre-start and post-start actions are supported) | |
| # |
| # to be put to "/etc/init/" | |
| description "ipython" | |
| start on runlevel [2345] | |
| stop on runlevel [016] | |
| respawn limit 10 5 | |
| script | |
| exec sudo -u randy ipython notebook --profile=nbserver --ipython-dir=/home/randy/.ipython/ | |
| end script |