摘要:
我是在下载一个字体时感染上这个病毒的,当安装完之后就知道中招了,担是很顽强,用一般的方法删除不掉它, 开机就能恢复,打开ie就是这个网址, 后来升级360都没用,最后使用360网盾,最核心的是它在加入了360中一个信任文件,把这个信任文件删除,然后再来ie一键恢复就搞定了,花了一个多小时, 阅读全文
posted @ 2011-01-17 21:44
lexus
阅读(803)
评论(0)
推荐(0)
|
摘要:
我是在下载一个字体时感染上这个病毒的,当安装完之后就知道中招了,担是很顽强,用一般的方法删除不掉它, 开机就能恢复,打开ie就是这个网址, 后来升级360都没用,最后使用360网盾,最核心的是它在加入了360中一个信任文件,把这个信任文件删除,然后再来ie一键恢复就搞定了,花了一个多小时, 阅读全文
posted @ 2011-01-17 21:44
lexus
阅读(803)
评论(0)
推荐(0)
摘要:
CloudFront 我知道的国内CDN服务提供商: chinacache,fastweb,chinanetcenter. 阅读全文
posted @ 2011-01-17 21:38
lexus
阅读(506)
评论(0)
推荐(0)
摘要:
http://www.51idc.com/tuoGuan.html http://www.cnmdy.com/contact.htm http://www.1g.com.cn/user/host.asp 西部数码 零刻数据 企商在线 bgp介绍 http://blogold.chinaunix.net/u2/84280/showart_2183352.html 杭州世导 目前在国外注册的域名将无法... 阅读全文
posted @ 2011-01-17 02:29
lexus
阅读(208)
评论(0)
推荐(0)
摘要:
sudo apt-get install libxml2 libxml2-dev libxslt1-devgem install nokogirihttp://www.javaeye.com/topic/557485 阅读全文
posted @ 2011-01-16 22:38
lexus
阅读(209)
评论(0)
推荐(0)
摘要:
sudo apt-get install libxml2 libxml2-dev libxslt1-devgem install nokogiri 阅读全文
posted @ 2011-01-16 22:37
lexus
阅读(158)
评论(0)
推荐(0)
摘要:
Net::HTTP Cheat Sheethttp://www.rubyinside.com/nethttp-cheat-sheet-2940.htmlhttp://juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/ 阅读全文
posted @ 2011-01-16 22:16
lexus
阅读(194)
评论(0)
推荐(0)
摘要:
新的Ruby解析HTML/XML的ruby库 - NokogiriAaron Patterson和Mike Dalessio开发了一个新的Ruby解析HTML/XML的ruby库 - Nokogiri。他的速度比目前应用的最广泛的Hpricot还要快许多。经过Benchmark测试表明,Nokogiri在加载XML文档的速度是Hpricot的7倍,在XPATH搜索的速度是Hpricot的5倍,而在... 阅读全文
posted @ 2011-01-16 22:15
lexus
阅读(780)
评论(0)
推荐(0)
摘要:
http://www.quarkruby.com/2009/9/22/rails-utf-8-and-html-screen-scrapinghttp://www.rubyrailways.com/data-extraction-for-web-20-screen-scraping-in-rubyrails/想弄一个网页爬虫,google了一下’ruby采集web网页’,在http://www.o... 阅读全文
posted @ 2011-01-16 22:02
lexus
阅读(551)
评论(0)
推荐(0)
摘要:
如果上传碰到“413 Request Entity Too Large”错误,请在nginx.conf增加 client_max_body_size 8m; 增加上传大小限制 顶端 阅读全文
posted @ 2011-01-16 17:42
lexus
阅读(439)
评论(0)
推荐(0)
摘要:
http://ihower.tw/blog/archives/2941一个ruby爬虫的例子http://hi.baidu.com/anspider/blog/item/9da210425a0e4e179213c6fb.html 阅读全文
posted @ 2011-01-16 13:37
lexus
阅读(293)
评论(0)
推荐(0)
摘要:
但是,这个方法的缺点是太简单,无法设置超时时间。在超时的情况下,他会无限的请求下去,直到达到了默认的超时时间,这个时间很长http://www.renren.it/a/bianchengyuyan/Ruby/20101023/40036.html了保险起见,在要考虑超时处理或者其他设定的情况下,还是使用Net::HTTP除了能设置超时时间之外,还能设置其他的请求参数,例如user-agent这个u... 阅读全文
posted @ 2011-01-16 13:32
lexus
阅读(940)
评论(0)
推荐(0)
摘要:
http://railsftw.bryanbibat.net/ 阅读全文
posted @ 2011-01-15 01:03
lexus
阅读(265)
评论(0)
推荐(0)
摘要:
http://www.infoq.com/news/2009/06/Twitter-Architecture http://www.cnblogs.com/wuvist/archive/2011/01/14/MoSonic_1_Cache-Money_FriendFeed_Thrift_In_SubSonic.html read-through write-through http://www... 阅读全文
posted @ 2011-01-15 00:30
lexus
阅读(254)
评论(0)
推荐(0)
摘要:
regexp = /a/result = subject.scan(regexp)ruby-1.9.2-p0 result = subject.scan(regexp)NameError: undefined local variable or method `subject' for main:Object from (irb):8 from /home/mlzboy/.rvm/rubies... 阅读全文
posted @ 2011-01-14 22:17
lexus
阅读(712)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/cnblogsfans/archive/2009/09/19/1569918.html http://www.cnblogs.com/cnblogsfans/archive/2009/09/17/1568804.html 二、读取文件 view source print? 1file=File.open(File.join("C:","Test.txt... 阅读全文
posted @ 2011-01-14 12:58
lexus
阅读(639)
评论(0)
推荐(0)
摘要:
2010年12月09日 星期四 下午 12:44#foo.rb:puts "中文abc123".to_utf8c:foo.rb a.txta.txt编码为Unicode(UTF-8 without signature) - Codepage 阅读全文
posted @ 2011-01-14 12:51
lexus
阅读(212)
评论(0)
推荐(0)
摘要:
我們以class object這個乍看奇怪的語法用來取得object的eigenclass範圍:o1 = Object.newclass o1def say puts 'yo'endendo1.say= yoo2 = Object.newo2.say= NoMethodError ... 阅读全文
posted @ 2011-01-14 12:01
lexus
阅读(204)
评论(0)
推荐(0)
摘要:
ruby way之Enumerables2010年10月15日 下午 01:50Enumerable 模块是一个很重要的模块,ruby中的很多类都有mix这个模块,比如array,hash等等。因此如果你想要自己定义一个collection,则不要继承一个存在的collection,而是应该mix Enumerable 模块。数组是最常用,最有代表性的mix Enumerable模块的一个集合。因... 阅读全文
posted @ 2011-01-14 11:29
lexus
阅读(374)
评论(0)
推荐(0)
摘要:
if __FILE__ == $0$:.unshift File.join(File.dirname(__FILE__), '..')require 'eventmachine'# TODO: real tests# TODO: pass in one object instead of two? .each{ |iter| puts iter.current; iter.next }# TODO... 阅读全文
posted @ 2011-01-14 11:24
lexus
阅读(318)
评论(0)
推荐(0)
|