{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import os\n", "import subprocess\n", "import urllib" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "theme_names = ['3024-dark',\n", " '3024-light',\n", " 'atelierdune-dark',\n", " 'atelierdune-light',\n", " 'atelierforest-dark',\n", " 'atelierforest-light',\n", " 'atelierheath-dark',\n", " 'atelierheath-light',\n", " 'atelierlakeside-dark',\n", " 'atelierlakeside-light',\n", " 'atelierseaside-dark',\n", " 'atelierseaside-light',\n", " 'bespin-dark',\n", " 'bespin-light',\n", " 'chalk-dark',\n", " 'chalk-light',\n", " 'default-dark',\n", " 'default-light',\n", " 'eighties-dark',\n", " 'eighties-light',\n", " 'grayscale-dark',\n", " 'grayscale-light',\n", " 'greenscreen-dark',\n", " 'greenscreen-light',\n", " 'isotope-dark',\n", " 'isotope-light',\n", " 'londontube-dark',\n", " 'londontube-light',\n", " 'marrakesh-dark',\n", " 'marrakesh-light',\n", " 'mocha-dark',\n", " 'mocha-light',\n", " 'monokai-dark',\n", " 'monokai-light',\n", " 'ocean-dark',\n", " 'ocean-light',\n", " 'paraiso-dark',\n", " 'paraiso-light',\n", " 'railscasts-dark',\n", " 'railscasts-light',\n", " 'shapeshifter-dark',\n", " 'shapeshifter-light',\n", " 'solarized-dark',\n", " 'solarized-light',\n", " 'tomorrow-dark',\n", " 'tomorrow-light',\n", " 'twilight-dark',\n", " 'twilight-light']" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_3024-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierdune-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierforest-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierheath-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierlakeside-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_atelierseaside-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_bespin-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_chalk-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_default-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_eighties-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_grayscale-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_greenscreen-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_isotope-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_londontube-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_marrakesh-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_mocha-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_monokai-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_ocean-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_paraiso-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_railscasts-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_shapeshifter-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_solarized-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_tomorrow-light/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-dark/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-dark/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-dark/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-dark/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-dark/ipython_nbconvert_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-light/ipython_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-light/ipython_kernel_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-light/ipython_console_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-light/ipython_notebook_config.py'\n", "[ProfileCreate] Generating default config file: u'/Users/cranmer/.ipython/profile_twilight-light/ipython_nbconvert_config.py'\n" ] } ], "source": [ "for i in theme_names:\n", " !ipython profile create $i\n", " profile_dir = !ipython locate profile $i\n", " url = \"https://raw.githubusercontent.com/nsonnad/base16-ipython-notebook/master/base16-\" + i + \".css\"\n", " tgt = os.path.join(profile_dir[0], 'static', 'custom', \"custom.css\")\n", " urllib.urlretrieve (url, tgt)" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": true }, "outputs": [], "source": [ "for i, name in enumerate(theme_names[:3]):\n", " port = str(9000 + i) \n", " subprocess.Popen([\"ipython\", \"notebook\", \"--profile=\" + name, \"--port=\" + port, \"\"])" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "http://127.0.0.1:9000/notebooks/48-themes-for-your-ipython-notebook.ipynb 3024-dark\n", "http://127.0.0.1:9001/notebooks/48-themes-for-your-ipython-notebook.ipynb 3024-light\n", "http://127.0.0.1:9002/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierdune-dark\n", "http://127.0.0.1:9003/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierdune-light\n", "http://127.0.0.1:9004/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierforest-dark\n", "http://127.0.0.1:9005/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierforest-light\n", "http://127.0.0.1:9006/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierheath-dark\n", "http://127.0.0.1:9007/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierheath-light\n", "http://127.0.0.1:9008/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierlakeside-dark\n", "http://127.0.0.1:9009/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierlakeside-light\n", "http://127.0.0.1:9010/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierseaside-dark\n", "http://127.0.0.1:9011/notebooks/48-themes-for-your-ipython-notebook.ipynb atelierseaside-light\n", "http://127.0.0.1:9012/notebooks/48-themes-for-your-ipython-notebook.ipynb bespin-dark\n", "http://127.0.0.1:9013/notebooks/48-themes-for-your-ipython-notebook.ipynb bespin-light\n", "http://127.0.0.1:9014/notebooks/48-themes-for-your-ipython-notebook.ipynb chalk-dark\n", "http://127.0.0.1:9015/notebooks/48-themes-for-your-ipython-notebook.ipynb chalk-light\n", "http://127.0.0.1:9016/notebooks/48-themes-for-your-ipython-notebook.ipynb default-dark\n", "http://127.0.0.1:9017/notebooks/48-themes-for-your-ipython-notebook.ipynb default-light\n", "http://127.0.0.1:9018/notebooks/48-themes-for-your-ipython-notebook.ipynb eighties-dark\n", "http://127.0.0.1:9019/notebooks/48-themes-for-your-ipython-notebook.ipynb eighties-light\n", "http://127.0.0.1:9020/notebooks/48-themes-for-your-ipython-notebook.ipynb grayscale-dark\n", "http://127.0.0.1:9021/notebooks/48-themes-for-your-ipython-notebook.ipynb grayscale-light\n", "http://127.0.0.1:9022/notebooks/48-themes-for-your-ipython-notebook.ipynb greenscreen-dark\n", "http://127.0.0.1:9023/notebooks/48-themes-for-your-ipython-notebook.ipynb greenscreen-light\n", "http://127.0.0.1:9024/notebooks/48-themes-for-your-ipython-notebook.ipynb isotope-dark\n", "http://127.0.0.1:9025/notebooks/48-themes-for-your-ipython-notebook.ipynb isotope-light\n", "http://127.0.0.1:9026/notebooks/48-themes-for-your-ipython-notebook.ipynb londontube-dark\n", "http://127.0.0.1:9027/notebooks/48-themes-for-your-ipython-notebook.ipynb londontube-light\n", "http://127.0.0.1:9028/notebooks/48-themes-for-your-ipython-notebook.ipynb marrakesh-dark\n", "http://127.0.0.1:9029/notebooks/48-themes-for-your-ipython-notebook.ipynb marrakesh-light\n", "http://127.0.0.1:9030/notebooks/48-themes-for-your-ipython-notebook.ipynb mocha-dark\n", "http://127.0.0.1:9031/notebooks/48-themes-for-your-ipython-notebook.ipynb mocha-light\n", "http://127.0.0.1:9032/notebooks/48-themes-for-your-ipython-notebook.ipynb monokai-dark\n", "http://127.0.0.1:9033/notebooks/48-themes-for-your-ipython-notebook.ipynb monokai-light\n", "http://127.0.0.1:9034/notebooks/48-themes-for-your-ipython-notebook.ipynb ocean-dark\n", "http://127.0.0.1:9035/notebooks/48-themes-for-your-ipython-notebook.ipynb ocean-light\n", "http://127.0.0.1:9036/notebooks/48-themes-for-your-ipython-notebook.ipynb paraiso-dark\n", "http://127.0.0.1:9037/notebooks/48-themes-for-your-ipython-notebook.ipynb paraiso-light\n", "http://127.0.0.1:9038/notebooks/48-themes-for-your-ipython-notebook.ipynb railscasts-dark\n", "http://127.0.0.1:9039/notebooks/48-themes-for-your-ipython-notebook.ipynb railscasts-light\n", "http://127.0.0.1:9040/notebooks/48-themes-for-your-ipython-notebook.ipynb shapeshifter-dark\n", "http://127.0.0.1:9041/notebooks/48-themes-for-your-ipython-notebook.ipynb shapeshifter-light\n", "http://127.0.0.1:9042/notebooks/48-themes-for-your-ipython-notebook.ipynb solarized-dark\n", "http://127.0.0.1:9043/notebooks/48-themes-for-your-ipython-notebook.ipynb solarized-light\n", "http://127.0.0.1:9044/notebooks/48-themes-for-your-ipython-notebook.ipynb tomorrow-dark\n", "http://127.0.0.1:9045/notebooks/48-themes-for-your-ipython-notebook.ipynb tomorrow-light\n", "http://127.0.0.1:9046/notebooks/48-themes-for-your-ipython-notebook.ipynb twilight-dark\n", "http://127.0.0.1:9047/notebooks/48-themes-for-your-ipython-notebook.ipynb twilight-light\n" ] } ], "source": [ "base_url = \"http://127.0.0.1:\"\n", "notebook = \"/notebooks/48-themes-for-your-ipython-notebook.ipynb\"\n", "\n", "for i, name in enumerate(theme_names[:3]):\n", " port = str(9000 + i) \n", " url = base_url + port + notebook\n", " print url, name" ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "No matching processes belonging to you were found\r\n" ] } ], "source": [ "!killall -9 ipython\n" ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": true }, "outputs": [], "source": [ "for i in range(26829,26876):\n", " !kill -9 $i" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 2", "language": "python", "name": "python2" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 2 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", "version": "2.7.6" } }, "nbformat": 4, "nbformat_minor": 0 }