As I learn more about Jupyter and start fill up my bag of tricks, I'll put the nuggets in this project.
###Autorun Cells run automatically any time the notebook is loaded or the IPython kernel is restarted You make a cell autorun by editing it and clicking on the lightning button in the toolbar, or using the keyboard combination ALT-x
Shows how to create a Javascript button that will run all the cells in the notebook, above the button.
Shows how to download any file on your Jupyterhub filesystem, starting at your current Notebook's path.
###Are you working within a Readonly directory on Jupyterhub? Did you forget and make a lot of changes? Are you screwed because now all your changes are lost?
Don't worry. With this little Javascript snippet, you can save all your work to a new notebook called
UNSAVED.ipynb
Cleans any notebook in Jupyterhub's current working directory by removing output and execution counts.
For example, this is how the notebook Notebook Cleaner.ipynb
looked like
and