摘要: NodeJS入门 http://cssor.com/nodejs-start.html 翻译外文文章。因为比hello world深入,明白了一些NodeJS的内容。 NodeJS是单线程处理多任务。 所以非阻塞的:传递函数处理结果,而不是等待返回值。 函数式编程,函数直接作为参数传递。 自己模块的 阅读全文
posted @ 2014-01-14 23:28 忘忧般若汤 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 百度屏蔽了indy的客户端标识的 Mozilla/3.0 (compatible; Indy Library),把‘Indy Library’去掉就可以了。 try IdHTTP1.Request.UserAgent := 'Mozilla/3.0 (compatible;)'; aS... 阅读全文
posted @ 2013-09-18 19:11 忘忧般若汤 阅读(404) 评论(0) 推荐(0) 编辑
摘要: delphi 从TWebBrowser WebBrowser得到全部html源码http://blog.csdn.net/webouse/article/details/3912174网上查询出很多方法,归结起来有两种1、使用IPersistStreamInit接口实现,函数名都是function ... 阅读全文
posted @ 2013-09-15 15:08 忘忧般若汤 阅读(601) 评论(0) 推荐(0) 编辑
摘要: adox创建access数据文件 adodc1打开数据库的方法 阅读全文
posted @ 2013-05-13 16:49 忘忧般若汤 阅读(347) 评论(0) 推荐(0) 编辑
摘要: getElementById Debug.Print WebBrowser1.Document.getElementById("DivID").innerHTMLDebug.Print WebBrowser1.Document.getElementById("DivID").innerTextDebug.Print WebBrowser1.Document.getElementById("tex... 阅读全文
posted @ 2013-05-09 12:01 忘忧般若汤 阅读(237) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/naniannayue/archive/2010/08/14/1799428.html 使用正则表达式 在典型的搜索和替换操作中,必须提供要查找的确切文字。这种技术对于静态文本中的简单搜索和替换任务可能足够了,但是由于它缺乏灵活性,因此在搜索动态文本时就 阅读全文
posted @ 2013-05-08 18:48 忘忧般若汤 阅读(316) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/vbman2003/article/details/1827135 引用了Microsoft VBScript Regular Expressions 5.5 后就可以声明正则相关对象了。主要有三个对象:RegExp、MatchCollection、Matc 阅读全文
posted @ 2013-05-08 16:44 忘忧般若汤 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: '需要引用 Microsoft Scripting Runtime Dim fso As New FileSystemObject Dim oText As TextStream Dim fileName$ Private Sub Form_Load() Dim s$ fileName = App. 阅读全文
posted @ 2013-05-06 17:40 忘忧般若汤 阅读(2391) 评论(0) 推荐(0) 编辑
摘要: 演示了command的使用。另外还有设置参数,防止注入,不太明白。 http://blog.csdn.net/kj021320/article/details/1689960 通常为了省事 程序员都喜欢直接采用Connection的execute方法,SQL是拼凑出来的!当然很容易出现问题了~~而很 阅读全文
posted @ 2013-04-29 17:29 忘忧般若汤 阅读(1942) 评论(0) 推荐(0) 编辑
摘要: VB6操作ACCESS文件 阅读全文
posted @ 2013-04-29 15:52 忘忧般若汤 阅读(1707) 评论(0) 推荐(0) 编辑