摘要:Mongodb 《多线程下pymongo连接数过多的问题处理》,参见:http://blog.knownsec.com/2012/04/pymongo-with-threading/
阅读全文
05 2012 档案
摘要:共享Android平台恶意程序样本和分析结果,致力于开发出更好的探测工具。北卡州立大学计算机科学系的两位研究人员Yajin Zhou和Xuxian Jiang发起了Android Malware Genome Project,共享Android平台恶意程序样本和分析结果,致力于开发出更好的探测工具。研究人员至今共收集了1260个Android恶意代码样本,包含了49种不同恶意程序家族,识别出了一系列移动恶意程序特征(PDF), 例如:利用漏洞提升到root级别权限;将感染手机变成通过网络或短信控制的僵尸网络;近一半恶意程序支持后台发送短消息或在用户没有察觉的情况下拨打电 话;半数以上恶意程序收
阅读全文
摘要:android的apk文件可以被反编译,然后添加或者删除部分code之后,重新打包。详细tutorial参见:1http://bbs.pediy.com/showthread.php?t=1487562http://bbs.pediy.com/showthread.php?t=1473393http://bbs.pediy.com/forumdisplay.php?f=161
阅读全文
摘要:1) declare permission <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" /> <uses-permission android:name="com.android.broswer.permission.WRITE_HISTORY_BOOKMARKS" /> <uses-permission android:name="android.permission.READ_CONT
阅读全文
摘要:We all know android has content provider, and we can access these data with content resolver,1) add permission, <uses-permission android:name="android.permission.READ_CONTACTS" />2) getContentResolver ContentResolver cr = getContentResolver(); Cursor cur = cr.query(ContactsContr...
阅读全文
摘要:1 questioniOS app is sandboxed, so if yourapp needs to open some file types in other apps, like dropbox app does, it could list the installed apps which could open specific types of file.How can you do that?,2 answerYou'll want to useUIDocumentInteractionController. See also theDocument Interact
阅读全文
摘要:最近利用空闲时间看iOS开发,看了一本翻译后的中文书。看了些英文资料。还是发现Apple官方的文档好,本来书籍就已经落后于Apple,再翻译过来,可想而知内容肯定out。看英文原版书也不错,还比较紧跟Apple最新的改变。
阅读全文
摘要:The original article is an excellent one to explain How Google chrome use bloom filtes, so I just quote the article below.Nice Bloom filter applicationhttp://blog.alexyakunin.com/2010/03/nice-bloom-filter-application.htmlToday I accidentally found a couple of interesting files in one ofGoogle Chrome
阅读全文
摘要:Bloom Filters by Examplehttp://llimllib.github.com/bloomfilter-tutorial/A Bloom filter is a data structure designed to tell you, rapidly and memory-efficiently, whether an element is present in a set.The price paid for this efficiency is that a Bloom filter is aprobabilistic data structure: it tells
阅读全文
摘要:1 Bloom filterWhen we write crawler, if we have to crawler millions websites, we need to check whether a website is crawled or not,So we need both space and time efficient algorithoms to achieve this goal, Bloom filter is our choice.Bloom filter is aprobabilistic data structure: it tells us that the
阅读全文
摘要:1 Scrapy, Google Scholar and MongoDB contains code about how to use Scrapy in bitbucket.2 Writing a spider in 10 mins using Scrapy This is a simple example.
阅读全文
摘要:Crawling the web for fun and profitView more presentations from Federico Feroldi
阅读全文
摘要:1Crawl a website with scrapyscrapy is a crawler framework writtten in Python, Crawl a website with scrapy described how to use it.I follow the guide and wrote a crawler, quite simple and easy to write.I have written a crawler using BeatifulSoup, urllib2, pyquery, eventlet, MongoDB before, using Scra
阅读全文
摘要:转载一个尹广磊回应“腾讯张小龙谈用户体验的文章,参见:http://ww3.sinaimg.cn/large/414b46acjw1dsszylx57qg.gif兼听则明。
阅读全文
摘要:C++编程规范F35联合攻击机项目的C++编程规范 ,来自洛克希德·马丁公司。其中明确规定一个函数最多不能超过200行。一些文章和各种资源http://coolshell.cn/articles/5224.html
阅读全文
摘要:1 【腾讯张小龙谈用户体验】用户体验的目标是,做到“自然”。文章中提到一本书, Don't make me think,2 文章中一些有趣观点如下:p8 Krug可用性第一定律:别让我思考!设计者应该尽量做到,当我看一个页面时,它应该是不言而喻,一目了然,自我解释的。到底有多不言而喻才行?一眼就能看到网页的主题,其次立刻能看到用户所需的东西p11 当我们访问Web的时候,每个问号都会加重我们的认知负担,把我们的注意力从要完成的任务上拉开,这种干扰也许很轻微,但它们会累积起来,这时候这样的干扰不用太多,就足以让我们抓狂。P12 如果做不到让一切都不言而喻,那应该要做到“自我解释”。在一个
阅读全文

浙公网安备 33010602011771号