Skip to content

Instantly share code, notes, and snippets.

View jononon's full-sized avatar

Jonathan Damico jononon

View GitHub Profile
@jononon
jononon / code-1.htm
Last active August 29, 2015 14:21 — forked from bennadel/code-1.htm
<script type="text/javascript">
// This will parse a delimited string into an array of
// arrays. The default delimiter is the comma, but this
// can be overriden in the second argument.
function CSVToArray( strData, strDelimiter ){
// Check to see if the delimiter is defined. If not,
// then default to comma.
strDelimiter = (strDelimiter || ",");
#!/usr/bin/env python
import os
import sys
import subprocess
import argparse
import ConfigParser
import shlex
# Default config
DEFAULT_SOUND = 'beep-crisp'