Linux: sudo apt-get install git
Windows: https://git-scm.com/download/win
ssh-keygen -t rsa -b 4096 -C mymail@adress.com
git config --global user.name “name”
git config --user.email “mail”
git clone git@github.com:<user>/<project>.git
git pull (gets new code from github)
git add <file> (add your work to next commit [stage])
git commit -m “changelog” (add all staged files to repo)
git push (upload your changes to github)
git checkout -b <name-of-branch> (create new branch)
git checkout <name-of-branch> (get existing branch)
- Adding a Remote (on real GitHub)
(Requires you already created a repo on github.com with name repo)
git remote add release git@github.com:<user>/<repo>.git
git push -u release master (copies master branch)
python3 -m pip install ipykernel --user
python3 -m ipykernel install --user
install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()
- Install Jupyter Lab (new frontend for notebooks)
python3 -m pip install jupyterlab --user
- Run Notebook Server Locally
jupyter notebook
jupyter lab
Run Notebook Server from outside/home
ssh -L 8889:localhost:8889 <user>@geniux.molgen.mpg.de
ssh -L 8889:localhost:8889 elcattivo (or other)
jupyter notebook --port 8889
Useful shortcuts
<Shift> + <Enter> run Cell/Block
<Ctl> + <Shift> + <D> single document mode (in jupyter lab)
<Ctl> + <Tab> infos for the current variable