Use these commands to run a jupyter server on a remote server and access it locally in a browser. You must have SSH access to the browser. Use any port you want.
Do not forget to change username@server to the correct value!
| where | using | command |
|---|
| git init --bare $HOME/.dotfiles | |
| alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
| dotfiles config --local status.showUntrackedFiles no | |
| echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" >> $HOME/.bashrc | |
| dotfiles status | |
| dotfiles add .bashrc | |
| dotfiles add .i3/config | |
| dotfiles add .config/i3 | |
| dotfiles add .config/termite |
| # patched from nerdfonts https://github.com/ryanoasis/nerd-fonts | |
| "terminal.integrated.fontFamily": "'RobotoMono Nerd Font'" |
| for dep in $(pip show python-neutronclient | grep Requires | sed 's/Requires: //g; s/,//g') ; do sudo pip uninstall -y $dep ; done | |
| pip uninstall -y python-neutronclient | |
| Source: http://stackoverflow.com/a/32698209/4828478 |
| ``` | |
| git init <repo> | |
| cd <repo> | |
| git remote add -f origin <url> | |
| git config core.sparseCheckout true | |
| echo "some/dir/" >> .git/info/sparse-checkout | |
| echo "another/sub/tree" >> .git/info/sparse-checkout | |
| ```` |
cd - # go to previuos directory
pushd level-1/level-2
# do work ...
popd
# now we're back to the directory we started in
| $ cd ~/first | |
| $ virtualenv my-venv | |
| $ grep 'VIRTUAL_ENV=' my-venv/bin/activate | |
| VIRTUAL_ENV="/home/username/first/my-venv" | |
| $ virtualenv --relocatable my-venv | |
| Making script my-venv/bin/easy_install relative | |
| Making script my-venv/bin/easy_install-2.7 relative | |
| Making script my-venv/bin/pip relative | |
| Making script my-venv/bin/pip2 relative | |
| Making script my-venv/bin/pip2.7 relative |
This requires the bibtex-parser package also.
First, download the dependencies and package to the ~/.jupyter/custom location
#inside git folder
autoreconf -i && ./configure && make
sudo make instal
https://github.com/pavanjadhaw/betterlockscreen https://github.com/PandorasFox/i3lock-color https://github.com/PandorasFox/i3lock-color/issues/76