Friday, November 16 2007

sshguard

但凡打开ssh端口,总会有人来暴力登录。 今日不爽,装上sshguard,哈哈,错几次就弊了你! 参考: http://sshguard.sourceforge.net/doc/setup/setup.html http://blog.richliu.com/2007/04/28/476/

Sunday, November 11 2007

抛弃mrxvt,开始urxvt

因为urxvt不支持tab,我一直在用mrxvt,不过现在有了超级无敌screen caption,哈哈,一切不是问题! 该死的mrxvt不支持utf8,害我看中文的时候还要开konsole,现在好了,let‘s urxvt ! PS:如果urxvt启动慢,就echo urxvt*preeditType:Root >> .Xresourcesxrdb .Xresources

超级无敌screen caption

caption always "%{= Bw}%-w%{= kW}%n %t%{= Bw}%+w%{= BW}%? @%u%?%? [%h]%?%-= - %LD %d %LM - %c"add it to your ~/.screenrc 转自 http://zhllg.spaces.live.com/Blog/cns!956A48A2D7ED7265!1729.entry

Saturday, October 27 2007

Web Server Distribution

决定试试 nginxfrom: http://googleonlinesecurity.blogspot.com/2007/06/web-server-software-and-malware.html  […]

Continue reading

Sunday, September 2 2007

取得昨天的日期

1.bash $TZ="UTC+16" date 2.php $yesterday=date('ymd',date('U')-3600*24); 3.perl perl -e 'print scalar localtime(time-3600*24)' Perl中取得日期格式的几种方法: perl -e 'use POSIX; print strftime("%Y-%m-%d %H:%M:%S", localtime)' perl -e 'use HTTP::Date;print HTTP::Date::time2iso(time);' perl -e  […]

Continue reading

- page 14 of 23 -