Cookbook for ipython notebook