Skip to content

Instantly share code, notes, and snippets.

View aaronhanson's full-sized avatar

Aaron Hanson aaronhanson

View GitHub Profile
@aaronhanson
aaronhanson / timed_producer.py
Last active December 8, 2016 22:26
Timed Kafka Producer
#!/usr/bin/env python
from kafka import KafkaProducer
import argparse
import os
import time
class TimedProducer():
def __init__(self, *args, **kwargs):
self.topic = kwargs.get('topic')
@aaronhanson
aaronhanson / grayduck.vim
Last active March 7, 2017 23:49
grayduck vim colorscheme
set bg=dark
hi clear
" Load the syntax highlighting defaults, if it's enabled.
if exists("syntax_on")
syntax reset
endif
let colors_name = "grayduck"