Skip to content

Instantly share code, notes, and snippets.

@dannyarcher
dannyarcher / swig.rb
Last active August 29, 2015 14:14
Homebrew Formula for swig-3.0.2
require 'formula'
class Swig < Formula
url 'http://liquidtelecom.dl.sourceforge.net/project/swig/swig/swig-3.0.2/swig-3.0.2.tar.gz'
homepage 'http://www.swig.org/'
sha1 'e695a14acf39b25f3ea2d7303e23e39dfe284e31'
depends_on 'pcre'
def install
var fs = require('fs');
var config = require(__dirname + '/test.json');
console.dir(config);
@dannyarcher
dannyarcher / facedetect-example.py
Created December 28, 2011 10:18
Python opencv face detection example
#!/usr/bin/env /usr/local/bin/python
import glob, os, sys, uuid
import cv
from Foundation import *
from objc import *
from AppKit import *
from PIL import *