Skip to content

Instantly share code, notes, and snippets.

@Ismael-VC
Forked from jbn/always_on_jupyter.sh
Last active September 11, 2015 16:57
Show Gist options
  • Save Ismael-VC/1a6748a796fd8c1e3c8e to your computer and use it in GitHub Desktop.
Save Ismael-VC/1a6748a796fd8c1e3c8e to your computer and use it in GitHub Desktop.
Always On Jupyter
# Installation:
# - Put this in your .bash_profile
# - Replace my directory with your exobrain directory on line 10
#
# What you get:
# A Jupyter notebook open on a well-defined port that is always
# on for exobrain-ing your ideas...
exec 6<>/dev/tcp/localhost/10000 || (
source activate py27 &&
cd ~/Projects/IdeaHopper &&
nohup ipython notebook --port 10000 &
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment