Skip to content

Instantly share code, notes, and snippets.

@panthole
Created April 11, 2018 13:28
Show Gist options
  • Save panthole/59b31dc0e2b26174089eb73cf0dcdca8 to your computer and use it in GitHub Desktop.
Save panthole/59b31dc0e2b26174089eb73cf0dcdca8 to your computer and use it in GitHub Desktop.
c = get_config()
# Kernel config
c.IPKernelApp.pylab = 'inline' # if you want plotting support always in your notebook
# Notebook config
c.NotebookApp.certfile = u'/home/ubuntu/certs/mycert.pem' #location of your certificate file
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False #so that the ipython notebook does not opens up a browser by default
c.NotebookApp.password = u'sha1:4a023b5f6d3e:bf90fad3935aaec912516f356710755612bd0164' #the encrypted password we generated above
# Set the port to 8888, the port we set up in the AWS EC2 set-up
c.NotebookApp.port = 8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment