THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
:⌉ | |
=⌉ | |
¦-) as opposed to | | |
☺ | |
☹ | |
☻ | |
⍣ | |
⍤ | |
⍥ om nom nom | |
⍨ |
<!DOCTYPE html> | |
<!-- | |
Stuart Powers | |
http://sente.cc/ | |
http://twitter.com/stuartpowers | |
--> | |
<html> | |
<head> |
// Place user-specific overrides in this file, to ensure they're preserved | |
// when upgrading | |
{ | |
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"] | |
} |
documents = [ dict( | |
email=open("conference/%d.txt" % n).read().strip(), | |
category='conference') for n in range(1,372) ] | |
documents.extend([ dict( | |
email=open("job/%d.txt" % n).read().strip(), | |
category='job') for n in range(1,275)]) | |
documents.extend([ dict( | |
email=open("spam/%d.txt" % n).read().strip(), | |
category='spam') for n in range(1,799) ]) |
from fabric.api import env, local, require | |
def deploy(): | |
"""fab [environment] deploy""" | |
require('environment') | |
maintenance_on() | |
push() | |
syncdb() | |
migrate() |
#!/usr/bin/env python | |
""" Stack Overflow XML 2 SQL | |
The following is a custom made XML 2 SQL converter for Stack Overflow data. | |
Latest Stack Overflow Data: August 2012 | |
Call Examples: |
function shlex(str) { | |
var args = str.split(" "); | |
var out = []; | |
var lookForClose = -1; | |
var quoteOpen = false; | |
for (var x in args) { | |
if (args.hasOwnProperty(x)) { | |
var arg = args[x]; | |
var escSeq = false; | |
for (var y in arg) { |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
#!/usr/bin/env python | |
""" | |
Provide useful alembic information after switching branches. | |
""" | |
import argparse | |
import subprocess | |
import os | |
import os.path | |
import py.path |
help: | |
@echo "Please use \`make <target>' where <target> is one of" | |
@echo " screencap To start recording screencaps and clean up yesterday's captures." | |
@echo " cleanyesterday Just delete yesterday's captures." | |
@echo " captoday Just start recording screencaps for today." | |
screencap: | |
./remove_yesterday_recording.sh | |
./start_recording.sh |