This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
1. Define terms by placing it in a category.2.
Avoid circular definitions3. State definitions positively
分类:
其他好文 时间:
2014-05-20 00:19:29
阅读次数:
365
Thursday, December 5, 2013ASP.NET保存session
state(会话状态)有三种模式:In-Process, State Server, SQL Server。SQL Server模式的优点: 即使web
application重启,状态数据也会被保存 多个web服...
分类:
数据库 时间:
2014-05-19 23:17:09
阅读次数:
426
正则表达式两类:Pattern模式类和Matcher匹配类
Pattern主要是用来编译模型和生成匹配器matcher;正则表达式基本方法 //定义一个pattern,该pattern就是个f空两个k的模式Pattern
p=Pattern.compile("f(.+?)(.+?)(.+...
分类:
编程语言 时间:
2014-05-19 18:29:37
阅读次数:
270
Insert title
herehttp://root:admin@192.168.1.1:880/user.asp?user=1234567&pwd=123&state=32&gid=0&opt=add只支持火狐、google、手机等浏览器,不支持IE可以注册为pppoe用户,也可以注册为web...
分类:
其他好文 时间:
2014-05-19 16:58:08
阅读次数:
375
近段时间发现自己越来越懒了,老师早就讲过的东西,一直没有总结!百度了一下,给的答案是设计模式总共23种。简单工厂属于其中一种,而单例模式并不是其中一种。今天总结下使用这两种模式写的项目。设计模式:设计模式(Design
pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总...
分类:
其他好文 时间:
2014-05-19 16:30:58
阅读次数:
303
最近在看视觉跟踪方面的论文,ZK博士的TLD算法作为跟踪算法的state-of-the-art,当然不得不去拜读下了,看完论文后虽然对作者整体的思想有了一个大致了解,但是对于很多细节却也还是无从得知,好在作者将自己的算法源代码全部开源,这也造福了我们这些无知者的胃口,虽然网上有几个c++版本的源码,但是matlab版本作为作者的原始版本,拿来作研究也是极好的。
通览源代码,个人感觉精髓之处无非两...
分类:
其他好文 时间:
2014-05-18 09:25:08
阅读次数:
440
1、
??
ZigZag Conversion
The string "PAYPALISHIRING" is
written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibili...
分类:
其他好文 时间:
2014-05-18 07:56:49
阅读次数:
407
You need to override onSaveInstanceState(Bundle
savedInstanceState) and write the application state values you want to change to
the Bundle parameter ...
分类:
移动开发 时间:
2014-05-17 14:49:13
阅读次数:
292
设计模式(Design
pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。
毫无疑问,设计模式于己于他人于系统都是多赢的;设计模式使代码编制真正工程化;设计模式是软件工程的基石脉络,如同大厦的结构...
分类:
其他好文 时间:
2014-05-17 14:21:06
阅读次数:
323