Last active
December 28, 2020 16:39
-
-
Save priancho/b9f90396157e78fd938fda21f970ab7a to your computer and use it in GitHub Desktop.
Jupyter Lab config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following command to create Jupyter-lab config file under | |
# ~/.jupyter/jupyter_notebook_config.py | |
# $ jupyter-lab --generate-config | |
# | |
############################ | |
### Some custom settings ### | |
############################ | |
# Make it accessible from localhost only | |
c.NotebookApp.ip = '127.0.0.1' | |
# Use custom port 22334 | |
c.NotebookApp.port = 22334 | |
# Don't launch a Web browser | |
c.NotebookApp.open_browser = False | |
# To prevent someone accidently access my notebooks. | |
# If you concern security, setup SSL. | |
# | |
# Generate hashed password as follows: | |
# >>> from notebook.auth import passwd | |
# >>> passwd("mypassword") | |
# >>> sha1:c0298f182adc:d11d59ff44a092b22853c61e3492ef855e863ec0 | |
# | |
c.NotebookApp.password = 'sha1:c0298f182adc:d11d59ff44a092b22853c61e3492ef855e863ec0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment