Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.