This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
时间嘀嗒嘀嗒的走,抛弃了2009 | |
有的人胖了有人更瘦,有人在欢喜有人忧愁. | |
抽风的电梯和食堂的油,消失的青春和蜂窝煤大楼 | |
吸烟区不能对着门口,这一年我们没有出去旅游. | |
呼拉拉签下了魔兽,番薯急忙跳出来扮狗, | |
丫说不给我们营收,还要罚款让他们来喝酒 | |
在这个放肆的时候,请跟我们一起大吼 |
(add-to-list 'load-path "~/.emacs.d") | |
(add-to-list 'load-path "~/.emacs.d/muse/lisp") | |
(add-to-list 'load-path "~/.emacs.d/vendor") | |
(progn (cd "~/.emacs.d/vendor") | |
(normal-top-level-add-subdirs-to-load-path)) | |
(progn (cd "~")) | |
;; start emacs-server | |
(server-start) |
hello from gist.el |
Index: background.html | |
=================================================================== | |
--- background.html (revision 15) | |
+++ background.html (working copy) | |
@@ -4,6 +4,7 @@ | |
<head><title>Youdao Dictionary Extension</title></head> | |
<body> | |
<script type="text/javascript"> | |
+ var disabled = false; | |
var dictCache = {}; |
#include <iostream> | |
#include <cstdio> | |
#include <cstring> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
// freopen("input", "r", stdin); |
from cStringIO import StringIO | |
def gen_iptable_rules(rules): | |
""" | |
rules = [ | |
(port, [allow_ip0, allow_ip1...]), | |
... | |
] | |
""" | |
iptables = StringIO() |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
set showcmd | |
set nu | |
syntax on | |
set autoindent | |
set smartindent | |
color torte | |
set hlsearch | |
set ts=4 | |
set expandtab | |
set shiftwidth=4 |
******************************************************************************* | |
* WarCraft III Replay file format description * | |
* * | |
* document version: 1.18 * | |
* document date : 2007-06-26 * | |
* document authors: blue, nagger * | |
* * | |
* For more informtion about w3g file format, please visit: * | |
* http://w3g.deepnode.de * | |
* * |
# http://www.nruns.com/_downloads/advisory28122011.pdf | |
# http://bugs.python.org/issue13703 | |
import sys | |
import string | |
import itertools | |
# hash function used by python string object | |
def hash(s): | |
slen = len(s) |