Created
November 2, 2017 11:52
-
-
Save anonymous/0ffaf37e2e24fab7c1859bc66b29fccf to your computer and use it in GitHub Desktop.
This file contains 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
from jupyter_core.paths import jupyter_data_dir | |
import subprocess | |
import os | |
import errno | |
import stat | |
c = get_config() | |
c.NotebookApp.ip = '*' | |
c.NotebookApp.port = 8888 | |
c.NotebookApp.certfile = u'/srv/keys/jupyter.crt' | |
c.NotebookApp.keyfile = u'/srv/keys/jupyter.key' | |
c.NotebookApp.token = u'Choa2ahch7Ieshie4thoh0ahleivoo' | |
c.NotebookApp.open_browser = False | |
c.NotebookApp.tornado_settings = { 'headers': { 'Content-Security-Policy': "frame-ancestors *" } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment