##// END OF EJS Templates
base default cookie name on request host+port...
base default cookie name on request host+port instead of random. The random cookie name meant that every time you restarted the notebook it would get a new key in the cookie for the same host, resulting in an ever-growing cookie full of obsolete data.

File last commit:

r2058:7e8fc59a
r10783:6a60e531
Show More
pycolor
6 lines | 183 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple wrapper around PyColorize, which colorizes python sources."""
import IPython.utils.PyColorize
IPython.utils.PyColorize.main()