Skip to content

Instantly share code, notes, and snippets.

rduplain / responsive_d3_example.html
Created Apr 18, 2012 — forked from mattalcock/responsive_d3_example.html
Responsive d3.js D3 Javascript Histogram Example
View responsive_d3_example.html
<!DOCTYPE html>
<script src=""></script>
<script src=""></script>
body {
font: 10px sans-serif;
rect {
rduplain / gist:2017517
Created Mar 11, 2012 — forked from ask/gist:2014539
celery consumer service using boot-steps.
View gist:2017517
from celery import abstract
from celery import current_app
from kombu import Exchange, Queue
from kombu.mixins import ConsumerMixin
# need to subclass the result backend so that it uses a topic exchange
# instead of direct, and send the results for tasks using a routing_key
# of the format: