A list of terminal and bash commands and tweaks that I frequently use.
find . -name .ipynb_checkpoints -prune
find . -name .ipynb_checkpoints -prune -exec rm -rf {} \;
sudo sshfs -o allow_other,default_permissions user@remote_address:/path/to/remote_directory /path/to/local_directory
Connect remote localhost to my localhost (Usefull for running Jupyter Notebooks via remote connection )
ssh -N -f -L localhost:8890:localhost:8889 user@remote_address
jupyter notebook --no-browser --port=8887
Add the following line inside ~/.bash_aliases
alias jupyter-notebook-remote='ssh -N -f -L localhost:8890:localhost:8889 user@remote_address'
array=(*/)
for dir in "${array[@]}"; do cd $dir && pwd && cd ..; done