In [2]:
print "Bwah!"


Bwah!

In [ ]:

A Jupyter notebook for testing

Nothing to see here...

TODO

  • TODO Setup emacs (org-mode?) integration

Installation on Arch Linux

Source

  1. Install and configure
    sudo pacman -Syu
    sudo pacman -S python-virtualenvwrapper python2-pip python2-virtualenv
    pip2 install virtualenvwrapper
    mkdir ~/.virtualenvs
  2. Add to ~/.bashrc
    export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.7
    export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv2
    export WORKON_HOME=~/.virtualenvs
    source /usr/bin/virtualenvwrapper.sh
  3. Restart terminal
  4. Create virtualenv
    mkvirtualenv -p /usr/bin/python2.7 python-data-mooc
  5. Activate virtualenv
    workon python-data-mooc
    deactivate
    workon python-data-mooc
  6. Install Jupyter notebook
    pip install jupyter
  7. Create Github repo then clone it
    cd ~/archives/src
    git clone https://github.com/poser/python-data-mooc.git
    cd python-data-mooc
  8. Activate Jupyter
    jupyter notebook
  9. Create and save new Jupyter notebook
  10. Upload SSH pubkey to Github and edit .../.git/config
    ...
    [remote "origin"]
    url = git@github.com:poser/python-data-mooc.git
    ...
  11. Push to repo
    git add . --all
    git commit -m "Created jupyter notebook for testing"
    git push origin master

Emacs integration

Source

  1. Install emacs plugin
    ???