Skip to content

Instantly share code, notes, and snippets.

View Midnighter's full-sized avatar

Moritz E. Beber Midnighter

View GitHub Profile
@Midnighter
Midnighter / set_diag_zero
Created April 5, 2014 13:38
Testing methods to set the diagonal of a scipy sparse matrix to zero.
{
"metadata": {
"name": "",
"signature": "sha256:94ef4128925ef55646ae9c7f9007b8324f938be76b80e78a77664868d845d940"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@Midnighter
Midnighter / serialization_speeds
Last active August 29, 2015 13:57
object serialization for beanstalkc
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@Midnighter
Midnighter / nx_widget
Created February 23, 2014 03:21
mock-up widget for networkx
{
"metadata": {
"name": "",
"signature": "sha256:954452ff382802fba5a326b129107c528deb146be85e646bfbdcb091dab3b1c2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@Midnighter
Midnighter / pushing_vs_passing
Created February 12, 2014 14:31
Timing tests concerning IPython.parallel performance
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@Midnighter
Midnighter / multi_apply
Created January 19, 2014 17:55
Quick demonstration of remotely calling the same function a certain number of times.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@Midnighter
Midnighter / cascading_failure
Created January 6, 2014 23:24
IPython Notebook created to help with the following question: https://groups.google.com/forum/#!topic/networkx-discuss/jTH5qaoVu6w
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@Midnighter
Midnighter / gist:7658227
Created November 26, 2013 13:28
BICB Lab Final Project Example
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{