Skip to content

Instantly share code, notes, and snippets.

@p1nox
Last active May 9, 2023 21:28
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 p1nox/ec5e9e61aad010b67ed6d87e3a131595 to your computer and use it in GitHub Desktop.
Save p1nox/ec5e9e61aad010b67ed6d87e3a131595 to your computer and use it in GitHub Desktop.
Jupyter notes
# install
pip install notebook

# launch
jupyter notebook

# jupyter remote access with password - https://towardsdatascience.com/how-to-share-your-jupyter-notebook-in-3-lines-of-code-with-ngrok-bfe1495a9c0c
sudo snap install ngrok
ngrok config add-authtoken xyz

jupyter notebook --generate-config
echo "c.NotebookApp.allow_remote_access = True" >> ~/.jupyter/jupyter_notebook_config.py
# prompt to generate a password
jupyter notebook password

ngrok http 8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment