April 2010 (3)

Monday, April 12 2010

lighttpd的限速和限IP

提供点下载就要惨遭迅雷之流,不得已,只能限速限IP了: $HTTP["url"] =~ "^/Deepin($|/)" {                $HTTP["useragent"] =~ "Mozilla/4.0 \(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727\)" {                        url.access-deny = ( "" )  […]

Continue reading

Sunday, April 4 2010

节能环保之功率报告

学Oasis也去淘宝买了个功率计,评估各个电器的功率/能耗情况: 公司电脑液晶显示器(lenovo 17'):待机3W,工作23W主机(ThinkCentre M55p):平时53.4W,满负荷编译时84.5W 自用设备17寸CRT:待机3W,工作62W主机(配置):CPU 1G时76W,2.7G时86.6W,满负荷编译时125W音箱:关闭时1.6W,打开1.8W,工作时2.5W万能手机充电器:静态0.6W,工作时1.2W 结果有些意外啊,电脑的功率比我预料的低很多,嗯,音箱开关普遍是个摆设,莫非是为了避免电源接通瞬间造成的杂音?像我这种便宜音箱估计主要还是设计的问题,成本考虑。  […]

Continue reading

The Postal Service《Such Great Heights》

I am thinking it's a sign That the freckles in our eyes Are mirror images and When we kiss they're perfectly aligned And I have to speculate That God himself did make us into Corresponding shapes like puzzles pieces From the clay True, it may seem like a stretch But it's thoughts like this That  […]

Continue reading