Skip to content

Instantly share code, notes, and snippets.


John Donovan GeoSpark

View GitHub Profile
GeoSpark / xkcd1930.gml
Created Dec 19, 2017
A GraphML representation of XKCD comic no. 1930, including alt-text.
View xkcd1930.gml
<?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="" xmlns:xsi="" xsi:schemaLocation="">
<key"text" attr.type="string" for="node" id="d0" />
<graph edgedefault="directed">
<node id="1">
<data key="d0">Did you know that</data>
<node id="2">
<data key="d0">the</data>
GeoSpark /
Created Mar 28, 2015
Python script to send commands to a Rigol scope (or any LXI/SCPI instrument) from first principles.
from zeroconf import *
import socket
import time
import requests
from lxml import etree
Basic steps for a Rigol DS1000Z-series scope
GeoSpark / test.ipynb
Created May 12, 2014
Some graphs and stuff
View test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
GeoSpark / gist:8ad7d36e37af701f4f6a
Last active Aug 29, 2015
How to set a logarithmic vertical scale.
View gist:8ad7d36e37af701f4f6a
import pylab
fig = plt.figure(figsize=(10.0, 10.0), dpi=100)
ax = fig.add_subplot(2, 1, 1)
ax.hist(liv_data['price'], bins=100)
You can’t perform that action at this time.