Skip to content

Instantly share code, notes, and snippets.

@drj42
drj42 / csvprocessor.py
Last active August 29, 2015 14:18 — forked from miku/csvprocessor.py
from luigi.format import Format
import csvkit
class CSVOutputProcessor(object):
"""
A simple CSV output processor to be hooked into Format's
`pipe_writer`.
If `cols` are given, the names are used as CSV header, otherwise no
explicit header is written.
@drj42
drj42 / gist:7221275
Created October 29, 2013 19:44
Mojolicious ingress cemetery portal name generator
#!/usr/bin/env perl
use Mojolicious::Lite;
# Instructions:
# $ cpanm Mojolicious
# $ morbo grave_names.pl
#
# browse to http://localhost:3000
# Documentation browser under "/perldoc"
@drj42
drj42 / org-mode-reference-in.org
Created February 6, 2012 23:53
This is a cheat sheet for Emacs org-mode... in org-mode format!