Skip to content

Instantly share code, notes, and snippets.

@rs9899
Last active June 2, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rs9899/be0a2828502b4e56a93e15ff61b73f0f to your computer and use it in GitHub Desktop.
Save rs9899/be0a2828502b4e56a93e15ff61b73f0f to your computer and use it in GitHub Desktop.
Jupyter notebook starter code
jupyter notebook --generate-config
jupyter notebook password
vi ~/.jupyter/jupyter_notebook_config.py
# # Set ip to '*' to bind on all interfaces (ips) for the public server
# c.NotebookApp.allow_origin = '*'
# c.NotebookApp.ip = '0.0.0.0'
# c.NotebookApp.open_browser = False
# jupyter notebook --no-browser
## detaching and running in a terminal
alias jupyter-detach='tmux new-session -d -s jupyter "jupyter notebook;sleep 5"'
jupyter-detach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment