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
from cStringIO import StringIO | |
def gen_iptable_rules(rules): | |
""" | |
rules = [ | |
(port, [allow_ip0, allow_ip1...]), | |
... | |
] | |
""" | |
iptables = StringIO() |
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
#include <iostream> | |
#include <cstdio> | |
#include <cstring> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
// freopen("input", "r", stdin); |
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
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 = {}; |
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
hello from gist.el |
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
(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) |
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
时间嘀嗒嘀嗒的走,抛弃了2009 | |
有的人胖了有人更瘦,有人在欢喜有人忧愁. | |
抽风的电梯和食堂的油,消失的青春和蜂窝煤大楼 | |
吸烟区不能对着门口,这一年我们没有出去旅游. | |
呼拉拉签下了魔兽,番薯急忙跳出来扮狗, | |
丫说不给我们营收,还要罚款让他们来喝酒 | |
在这个放肆的时候,请跟我们一起大吼 |
NewerOlder