Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Example

a guest Aug 25th, 2014 2,072 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. code_show=true;
  2. function code_toggle() {
  3.  if (code_show){
  4.  $('div.input').hide();
  5.  } else {
  6.  $('div.input').show();
  7.  }
  8.  code_show = !code_show
  9. }
  10.  
  11. $([IPython.events]).on("app_initialized.NotebookApp", function () {
  12.   $("#view_menu").append("<li id=\"toggle_toolbar\" title=\"Show/Hide code cells\"><a href=\"javascript:code_toggle()\">Toggle Code Cells</a></li>");
  13. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top