Skip to content

Instantly share code, notes, and snippets.

View edrex's full-sized avatar

Eric Drechsel edrex

  • Portland, OR
View GitHub Profile
@edrex
edrex / mpl_animation_examples.ipynb
Last active August 29, 2015 13:56
matplotlib animations as HTML5 video
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.

Failing test case, demonstating error when using N3.js module with webpack.

Usage:

Keybase proof

I hereby claim:

  • I am edrex on github.
  • I am edrex (https://keybase.io/edrex) on keybase.
  • I have a public key whose fingerprint is AC47 2CCC 9867 4644 A9CF EB28 1C5C 1ED0 9F66 6824

To claim this, I am signing this object:

@edrex
edrex / init.d-camlistored
Last active August 29, 2015 14:02
camlistored sysvinit script
#!/bin/sh
### BEGIN INIT INFO
# Provides: camlistored
# Required-Start: $local_fs $network $named $time $syslog
# Required-Stop: $local_fs $network $named $time $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Camlistore server
### END INIT INFO
@edrex
edrex / README.md
Created November 6, 2014 19:51
sfpd incidents_march_2012

README is empty

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'level': 'WARNING',
'class': 'logging.StreamHandler',
},
},
'loggers': {
@edrex
edrex / index.js
Last active August 29, 2015 14:11
requirebin sketch
var hyperquest = require('hyperquest');
hyperquest('http://www.reddit.com/comments/2ili8a').pipe(process.stdout);
@edrex
edrex / Examples.md
Last active August 29, 2015 14:18
tank helper command for working with the TiddlyWeb API at https://tank.peermore.com/

Examples

export TANK_KEY="my tank key"

tank GET /bags

cat | tank PUT /bags/myNewBag Content-Type:'application/vnd.tiddlyweb+json
@edrex
edrex / README.md
Created May 6, 2015 00:55
Upstart and Systemd examples

Here are examples of Upstart jobs (Ubuntu) and Systemd units (RHEL7, Arch, CoreOS).

They should be complete enough to get you started.

There are some shell commands needed in each case too:

...