Skip to content

Instantly share code, notes, and snippets.

View hoogenm's full-sized avatar

Marc van den Hoogen hoogenm

  • The Netherlands
View GitHub Profile
@hoogenm
hoogenm / set_livereveal_theme.py
Last active February 5, 2017 16:19
Set livereveal theme in Jupyter
# Run from an Jupyter IPython 3 Notebook cell (recent Jupyter version)
from IPython.paths import locate_profile
profile_path = locate_profile(get_ipython().profile)
from notebook.services.config import ConfigManager
cm = ConfigManager(profile_dir=profile_path)
cm.update('livereveal', {
'theme': 'solarized',
'transition': 'linear',
@hoogenm
hoogenm / install_rise.sh
Last active June 20, 2019 19:30
Add Live slideshow to Jupyter (thru Conda, using RISE)
#!/bin/bash
# Add live slideshow to Jupyter (thru Conda, using RISE)
# RISE is based on reveal.js, can (also) be found on https://github.com/damianavila
conda install -y -c damianavila82 rise==4.0.0b1
jupyter nbextension install rise --py --sys-prefix
jupyter nbextension enable rise --py --sys-prefix
import pip
pip.main(['install', '-q', 'mobilechelonian'])
import os
os.symlink('/home/users/jads-shared/programming2018spring', 'shared')