This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import time | |
import glob | |
import string | |
import random | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH=$PATH:/usr/local/bin | |
export PATH | |
T=$HOME/Sites/doxygen/ep-engine | |
H=/Users/dustin/prog/ep-engine | |
git fetch | |
branches=`git branch | cut -c3- | egrep -v "z|gh-pages"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Changes filter: "conflicts": "function(doc, req) { if(doc._conflicts) { return true; } else { return false; }}" | |
var dbase = 'focus'; | |
var ddoc = 'app'; | |
var sys = require('sys'), | |
couchdb = require('node-couchdb/lib/couchdb'), | |
client = couchdb.createClient(5984, 'crate.im'), | |
db = client.db(dbase), | |
changes = db.changesStream({filter: ddoc + '/conflicts'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import multiprocessing | |
import sys | |
from multiprocessing import JoinableQueue | |
from multiprocessing import Pipe | |
from multiprocessing import Queue | |
from multiprocessing import Process | |
from pylibmc import Client | |
from time import sleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# tap -> flume | |
# | |
# requires: python thrift bindings + compiled flume thrift binding. | |
# | |
import sys | |
import time | |
import struct |
NewerOlder