paste this code to here
u = 1cm;
pair a,b,o,c,d;
a := (0,2)*u;
b := (0,1)*u;
o := (0,0)*u;
c := (0,-1)*u;
paste this code to here
u = 1cm;
pair a,b,o,c,d;
a := (0,2)*u;
b := (0,1)*u;
o := (0,0)*u;
c := (0,-1)*u;
贴到这里看效果
pair m,end;
m = 1/2[(dir 145)*2cm, (0,0)];
end = (dir 105)*0.85cm + m;
draw (dir 145)*2cm -- (0,0);
draw m -- end;
draw m withpen pencircle scaled 2;
(mapcar* (lambda (x) (* x x)) '( 1 2 3 4))
[1,2,3,4,5].colllect {|x| x*x}
def double (x)
x * 2
end
其实快捷键是不用记录下来的, 这个应该是用肌肉记忆的.
下载地址
tail -n 10000 access_log_searcher | perl -nale 'if ($F[5] > $max) {$max = $F[5]; $maxq = $_}; END{print $max /1000, "\t",$maxq}'
As configured in my dotfiles.
开启一个新的会话:
tmux
开启一个新的带名字的会话:
uuidgen | perl -F'-' -ane 'chomp @F;print "DECLARE_UUID(".(join ",",map { "0x".$_ } @F).");";print "\n";'
;;; query-mode.el --- a mode for view our access log | |
;; query example | |
;; /bin/search?auction?user_id=79586&statistic=field=pidvid,count=500&n=4&s=2 | |
;; Author : ngn <[email protected]> | |
;; URL : https://gist.github.com/4040317 | |
;; Version : 0.1 | |
;; Keywords : query, url |