Skip to content

Instantly share code, notes, and snippets.

@mdengler
mdengler / csvvert.py
Created June 11, 2012 03:12
CSV -> vertical display
#!/usr/bin/env python
"""
Displays a CSV file's contents vertically.
Example:
$ cat | ~/bin/csvvert.py
Year,Make,Model,Length
1981,Ford,Capri Ghia,2.34
#!/usr/bin/env python
# See https://github.com/Elleo/gst-opencv/blob/master/examples/python/facedetect.py
# See also http://blog.mikeasoft.com/2010/06/17/gstreamer-opencv-plugins-on-the-nokia-n900/
import pygst
pygst.require("0.10")
import gst
import gtk
@mdengler
mdengler / garch.py
Created April 18, 2012 04:38
garch in python, from Peter von Tessin
#!/usr/bin/env python
# Trivial GARCH implementation in python
#
# From Peter Tessin's http://www.petertessin.com/TimeSeries.pdf
#