Skip to content

Instantly share code, notes, and snippets.

@rossant
rossant / piano.ipynb
Created February 12, 2014 21:05
A piano in the IPython notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rossant
rossant / hdf5_benchmarks.ipynb
Last active August 29, 2015 13:56
HDF5 benchmarks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rossant
rossant / widget.ipynb
Last active August 29, 2015 14:01
Test with IPython widgets and mouse/keyboard interactions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rossant
rossant / basic_widget
Created August 28, 2014 13:33
Minimal IPython widget example
from IPython.html import widgets
from IPython.utils.traitlets import Unicode
class MyWidget(widgets.DOMWidget):
_view_name = Unicode('MyWidget', sync=True)
%%javascript
require(["widgets/js/widget"], function(WidgetManager){
var MyWidget = IPython.DOMWidgetView.extend({
@rossant
rossant / resizable_widget
Last active August 29, 2015 14:07
resizable_widget in the IPython notebook
{
"metadata": {
"name": "",
"signature": "sha256:bf7f38242e6bc10a68b17ad7a285e23952febabe99e0a86fbb908b4e0511e141"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@rossant
rossant / linux_commands.md
Last active August 29, 2015 14:08
Useful Linux commands (tested on Ubuntu 14.04)

Useful Linux commands

Check drive speed

Read

sudo hdparm -t /dev/sda
@rossant
rossant / hdf5_parallel.md
Last active August 29, 2015 14:09
Summary of HDF5 parallel features

This table sums up what is and is not possible with concurrent accesses on HDF5 files using the h5py library.

opened in access mode reading writing
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.node {
stroke: #fff;
stroke-width: 1.5px;
}
.link {
@rossant
rossant / index.html
Last active August 29, 2015 14:12 — forked from mbostock/.block
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.node {
stroke: #fff;
stroke-width: 1.5px;
}
.link {