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
time ack -a -G '\.js$|.rb$|.css$|.scss$' --ignore-dir=tmp "TODO" | awk '{split($0,a,":"); {print "git blame --date short -L" a[2] ",+1", a[1] | "/bin/sh | cat"}}' |
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
ack --ruby "TODO" | awk '{split($0,a,":"); {print "echo", a[1] "\ngit blame -L" a[2] ",+1", a[1] | "bash"}}' |
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 tornado.httpserver, tornado.ioloop, tornado.options, tornado.web, os.path | |
from tornado.options import define, options | |
define("port", default=8888, help="run on the given port", type=int) | |
class Application(tornado.web.Application): | |
def __init__(self): | |
handlers = [ | |
(r"/", HomeHandler), | |
(r"/upload", UploadHandler) |