The idea of the singleton pattern is to have only one instance of a specific class. This means that the second time you use the same class to create a...
分类:
编程语言 时间:
2014-07-24 05:01:38
阅读次数:
422
The server file is created when you install TortoiseSVN, Eclipse or command-line Subversion. Use the appropriate path from the installation folder to ...
分类:
其他好文 时间:
2014-07-23 15:15:56
阅读次数:
292
atitit.spring3 mvc url配置最佳实践
1. Url-pattern bp 1
2. 通用星号url pattern的问题 1
3. Other code 1
4. 参考 2
1. Url-pattern bp
Default /
/*
中间容易的冲突....spr十为了restful风格,,才默认中配置的..
...
分类:
编程语言 时间:
2014-07-23 13:36:16
阅读次数:
209
1. 在Ext中,表格控件必须包含列定义信息,并指定表格的数据存储器。列信息由columns定义,而数据存储器有store定义。
2. store负责把各种各样的原始数据(JSON对象数组等等)转换成Ext.data.Record类型的对象。
包含两部分的信息:proxy和reader。proxy指定获取数据的方式,reader是指如何解析这一堆数据。...
分类:
Web程序 时间:
2014-07-23 13:25:06
阅读次数:
221
1.在火狐地址栏里输入“about:config”,等系统调用完毕之后按照下列步骤:2.更改 "network.http.pipelining" 为ture3.更改 "network.http.proxy.pipelining"为ture4.更改 "network.http.pipelining.m...
分类:
其他好文 时间:
2014-07-23 12:07:16
阅读次数:
229
参考代码如下:
com.atguigu.struts2.app.converters.DateConverter.java
public DateFormat getDateFormat(){
if(dateFormat ==
null){
//获取当前 WEB
应用的初始化参数 pattern(该参数在WEB-I...
分类:
Web程序 时间:
2014-07-22 23:46:07
阅读次数:
278
Using the Strategy pattern in algorithm design
分类:
其他好文 时间:
2014-07-22 23:13:12
阅读次数:
300
模板方法(Template Method)模式: 准备一个抽象类,将部分逻辑以具体方法以及具体构造子的形式实现,然后声明一些抽象方法来迫使子类实现剩余的逻辑。不同的子类可以以不同的方式实现这些抽象方法,从而对剩余的逻辑有不同的实现。先制定一个顶级逻辑框架,而将逻辑的细节留给具体的子类去实现。模版方....
分类:
其他好文 时间:
2014-07-22 22:36:32
阅读次数:
229
salt目前主要的应用场景是LinuxOS下,另外还有WindowsClient(Win下没用过,但是看官方issue,应该……),最近关注到官方的一个小模块提到了Proxyminion,群里也多有提及,便想着看看到底是啥存在。任何设备均可被salt托管saltproxyminion的出现,使得网管设备或者哑设备(比..
分类:
其他好文 时间:
2014-07-22 14:54:04
阅读次数:
350