摘要: 这两天微信订阅号中反复出现《找女神要QQ号码》(e.g.http://www.cnblogs.com/iforever/p/4584490.html),题目是这样的:给了一串数字(不是QQ号码),根据下面规则可以找出QQ号码:首先删除第一个数,紧接着将第二个数放到这串数字的末尾,再将第三个数删除,并... 阅读全文
posted @ 2015-06-25 22:47 dtozg 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 居然3年没有更新blog了??? 阅读全文
posted @ 2015-06-25 22:39 dtozg 阅读(115) 评论(0) 推荐(1) 编辑
摘要: 1) http://www.tek-tips.com/faqs.cfm?fid=1096-----------------------------------------------------------Paul DiLascia answered this question very nicely in his C++ Q&A column in the October 2001 issue ofMSDN Magazine.You may find his article athttp://msdn.microsoft.com/msdnmag/issues/01/10/c/c011 阅读全文
posted @ 2012-05-02 22:11 dtozg 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 1) http://www.crummy.com/software/BeautifulSoup/2) pywin32 -- 调用MSHTML接口 阅读全文
posted @ 2012-04-27 09:15 dtozg 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 假设文章URL为: www.linuxjournal.com/article/xxxx其对应的printable版的URL为:www.linuxjournal.com/node/xxxx/print 阅读全文
posted @ 2012-04-26 15:26 dtozg 阅读(156) 评论(0) 推荐(0) 编辑
摘要: //http://log.bthomson.com/2011/01/quick-python-gzip-vs-bz2-benchmark.htmlQuick Python zlib vs bz2 benchmarkI use the zlib mod­ule a lot on Google App En­gine; often the tiny CPU time for de­com­pres­sion is a good trade­off to save disk space. I was cu­ri­ous 阅读全文
posted @ 2012-04-24 17:59 dtozg 阅读(441) 评论(0) 推荐(0) 编辑
摘要: // http://superuser.com/questions/243008/whats-the-minimum-size-of-a-tcp-packet这里的图片不错,转一个Lets assume you're sending 1 byte of data1 over the internet, on the TCP/IP model.The data starts on the application level and needs to be wrapped up in headers for the lower levels so that it can be passed 阅读全文
posted @ 2012-04-23 21:08 dtozg 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 查看系统服务的依存关系时报错:fix:open cmd:> CD %windir%\system32\wbem> for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s然后重启电脑即可// http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/c5c63457-8ac6-4ca4-a6eb-9bd4d51cd170/ 阅读全文
posted @ 2012-04-22 13:07 dtozg 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 原文链接 http://www.cnblogs.com/octobershiner/archive/2012/04/21/2461470.html 前天参加了微软的面试,作为一个整天写代码的程序员,心血来潮选申请的职位是PM(产品经理),结果坚持三轮面试下来,没有收到HR的通知,估计是悲剧了,大学也算是完整了,第一次尝到了被拒的滋味。但是这次面试的经历挺难得的,就像人生中的一节大课,想写下来记录一下。 前一段时间看到学校的微软的海报,于是回去很迅速的提交了中英两份简历,其实我对微软亚太研发集团并没有太多的概念,只是出于对微软的一种崇拜吧,特别是那句经典的windows开机每加快一秒就可以为.. 阅读全文
posted @ 2012-04-21 19:25 dtozg 阅读(2420) 评论(1) 推荐(0) 编辑
摘要: 原文链接:http://www.cnblogs.com/topdog/archive/2011/12/03/2274975.html 近来在新闻看到盛大云公测,也就去了解了一下,第一件要了解的事情自然是价格问题,了解自然少不了货比三家,也顺便查询了一下其他云服务的价格。总体来 说,盛大云的价格还是比较便宜的,例如他的超微型实例一年也大概400来元而已,微型也能控制在一千内。比起阿里云的强悍ABCD套餐算便宜了不少,当然 阿里云的配置都很高,没有所谓的超微概念。不过感觉比较坑人的是他的公网ip地址,这个一天一块钱,一年下来无论你购买其他什么服务这个365元都少不 了,不买又无法做对外服务,例如w 阅读全文
posted @ 2012-04-21 19:23 dtozg 阅读(507) 评论(0) 推荐(0) 编辑