Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

Matthias Bussonnier Carreau

:octocat:
View GitHub Profile
@Carreau
Carreau / 0001-horizontal-split.patch
Created Dec 31, 2011
Quick hack for horizontal layout for IPython notebook
View 0001-horizontal-split.patch
From 966540aed78e2f748832412c78d535e8b0951eaf Mon Sep 17 00:00:00 2001
From: Matthias BUSSONNIER <bussonniermatthias@gmail.com>
Date: Sat, 31 Dec 2011 15:56:56 +0100
Subject: [PATCH] horizontal split
---
.../frontend/html/notebook/static/css/notebook.css | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/IPython/frontend/html/notebook/static/css/notebook.css b/IPython/frontend/html/notebook/static/css/notebook.css
@Carreau
Carreau / QLabelCrash.py
Created Feb 28, 2012
Minimal crashing example
View QLabelCrash.py
import sys
from PySide.QtCore import *
from PySide.QtGui import *
##
## ment to segfault in some condition on os-x
## see ipython/ipython #1407
##
# Create a Qt application
app = QApplication(sys.argv)
@Carreau
Carreau / contributions.rst
Created May 11, 2012
Python contribution for SciPY
View contributions.rst

I'm a Ph.D. student in biophysics in Paris, and I'm contributing to scientific python community mostly by being involved in IPython.

I have mainly contributed in two areas of this project recently.

I improved the user interface of the recently released QtConsole, adding the menu bar with most of the menu actions, shortcut and icons to improve usability for new user, and better discoverability of functions. In particular, there is now a magics menu listings all currently available IPython magic function.

@Carreau
Carreau / slideshow.js
Created Jul 12, 2012
Slideshow mode of Notebook
View slideshow.js
<div id='presentation_mode'>
<style>
.pmode{ display: none !important }
</style>
<script>
grp=0;
pmode = function(){
init()
cells = $('.cell')
@Carreau
Carreau / log.log
Created Jul 22, 2012
Find File Handler crashlog
View log.log
git checkout minrk/staticfile 1 ↵ ──(Dim,jul22)─┘
Note: checking out 'minrk/staticfile'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
View test1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View invisiblepublic
this should not be listed, even if i make it public..
@Carreau
Carreau / phantomtest.js
Created Nov 4, 2012
Headless run-all notebook
View phantomtest.js
page = require('webpage').create();
var system = require('system');
var fs = require("fs");
// notebook uuid to load.
var uuid = system.args[1];
var noop = function(){}
// external action to map on console.log message of embeded
@Carreau
Carreau / kernel.js
Created Dec 13, 2012
A node.js kernel for IPython notebook. You can see the explanation of the ipynb rendered in http://nbviewer.ipython.org
View kernel.js
zmq = require("zmq")
fs = require("fs")
var config = JSON.parse(fs.readFileSync(process.argv[2]))
var connexion = "tcp://"+config.ip+":"
var shell_conn = connexion+config.shell_port
var pub_conn = connexion+config.iopub_port
var hb_conn = connexion+config.hb_port
You can’t perform that action at this time.