摘要:
<scriptlanguage="javascript"> if(top.location!=self.location){top.location=self.location;} </script>http://www.livingcode.cn/javascript/200906/342.html 阅读全文
posted @ 2010-09-15 23:55
lexus
阅读(183)
评论(0)
推荐(0)
摘要:
<scriptlanguage="javascript"> if(top.location!=self.location){top.location=self.location;} </script>http://www.livingcode.cn/javascript/200906/342.html 阅读全文
posted @ 2010-09-15 23:55
lexus
阅读(183)
评论(0)
推荐(0)
摘要:
hashlib.new("md5","JGoodisahandsomeboy").hexdigest() 阅读全文
posted @ 2010-09-15 23:55
lexus
阅读(254)
评论(0)
推荐(0)
摘要:
家里近来来小偷,在过道上按了监控,整了一天,晚上才更新一下网站的bug,明天再测一下上线另外中秋佳节各位亲别忘吃月饼和石榴,enjoy 阅读全文
posted @ 2010-09-15 23:40
lexus
阅读(169)
评论(0)
推荐(0)
摘要:
http://article.yeeyan.org/view/35282/120735http://beaker.groovie.org/http://snipplr.com/view/26459/python-web-with-bottle-and-session-beaker/that's all enough,enjoyhere is the detail:from beaker.middl... 阅读全文
posted @ 2010-09-15 23:13
lexus
阅读(540)
评论(0)
推荐(0)
摘要:
近来在site自己的站,发现有些索引条数不一致的情况,有的地方显示的多,有的地方显示的小主要分析是由于分布式的索引,根据你用的dns,google寻找附近的索引源,给你反馈结果,而全球索引同步,和要域名服务器一样有一个延迟。其实发现爬虫每天爬的数据并不多,10多M,但是对google是一个挑战,现在想想考虑网站的流量是多余的了,高可靠到是要的,稳定性也是要的,高并发远没那么迫切,搞电子商务,遇到高... 阅读全文
posted @ 2010-09-15 09:06
lexus
阅读(191)
评论(0)
推荐(0)
摘要:
打开 nginx 的目录浏览Posted 2 years, 6 months ago at 12:24 am. 0 commentsad 468x60需要打开 ngx_http_autoindex_module 模块。ubuntu 下cd /etc/nginx/sites-available sudo vim default加入location / { … autoindex on;... 阅读全文
posted @ 2010-09-15 08:11
lexus
阅读(323)
评论(0)
推荐(0)
摘要:
http://m.imilky.cn/index-wap2.php?p=599结果太令人惊讶了,Gevent的性能和Fapws相差5%左右,但提供了完整的HTTP1.1支持,更好的高并发访问的稳定性,当然一旦你用上 nginx做前端反向代理,性能还是会再下降30%左右。如果是生产环境的话在fapws没有完整的支持HTTP1.1之前Gevent绝对是最好的选 择!现在看来使用uwsgi是有点鲁莽 C... 阅读全文
posted @ 2010-09-15 02:13
lexus
阅读(317)
评论(0)
推荐(0)
摘要:
http://code.google.com/p/simplecd/ 阅读全文
posted @ 2010-09-15 01:37
lexus
阅读(374)
评论(0)
推荐(0)
摘要:
放到crontab里一分钟执行一次。url和cmd根据自己的改。 原理就是用curl获取HTTP头,发现502状态码就执行重启php-fpm的命令。至于crontab,请自行Google搜索转自:http://www.hostloc.com/viewthread.php?tid=19208&page=1#pid235729原创文章如转载,请注明:转载自深度VPS [ http://www.... 阅读全文
posted @ 2010-09-15 01:20
lexus
阅读(592)
评论(0)
推荐(0)
摘要:
I am trying to get a deployment on ec2 running currently on ubuntu 9.10 and am running into a ton of errors while load testing. I am totally unsure of whether there is a bug somewhere or if our co... 阅读全文
posted @ 2010-09-15 01:17
lexus
阅读(1780)
评论(0)
推荐(0)
|