d3.unconf example gist. Fork it here.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
I hereby claim:
- I am daf on github.
- I am daf (https://keybase.io/daf) on keybase.
- I have a public key whose fingerprint is 5B8B 0063 3A07 4378 35C8 0B7F 1E39 A08E DAB8 F316
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
fill: none; | |
stroke-linejoin: round; | |
} | |
.sphere, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
fill: none; | |
stroke-linejoin: round; | |
} | |
.sphere, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SampleProcess(Process): | |
### | |
### 1. Subclass subscriber to override what you want | |
### | |
class ANFSubscriber(Subscriber): | |
def ondata(self, data): | |
print "custom handling of ANF data" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ion/core/messaging/messaging.py b/ion/core/messaging/messaging.py | |
index 61a8930..1bca0cd 100644 | |
--- a/ion/core/messaging/messaging.py | |
+++ b/ion/core/messaging/messaging.py | |
@@ -212,15 +212,8 @@ class Consumer(messaging.Consumer): | |
@param config is a dict of amqp options that __init__ extracts. | |
""" | |
connection = ex_space.connection # broker connection | |
- # @TODO: Exchange config dict should not clobber the passed in config dict - | |
- # it means that I cannot create a queue with auto_delete=False if the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
@file inttest_ingest.py | |
@author Dave Foster <dfoster@asascience.com> | |
@test | |
""" | |
import ion.util.ionlog | |
from twisted.internet import defer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ion/util/cache.py b/ion/util/cache.py | |
index cdee405..3555ffd 100644 | |
--- a/ion/util/cache.py | |
+++ b/ion/util/cache.py | |
@@ -125,9 +125,14 @@ class LRUDict(object): | |
def purge(self): | |
while self.total_size > self.limit: | |
if self.first == self.last: | |
+ obj = self.first.me[1] | |
+ if hasattr(obj, 'clear'): |
OlderNewer