In 2014, I need to change my role from a SDET into Dev or to be a better SDET. Current job and work environment cannot provide enough passion to conti...
分类:
其他好文 时间:
2015-07-31 00:59:16
阅读次数:
121
Facade Pattern
Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level interface that makes the
subsystem easier to use.(要求一个子系统的外部与其内部的通信必须通过一个统一的对象进行,门...
分类:
其他好文 时间:
2015-07-25 15:19:16
阅读次数:
98
You are not given n non-negative
integers X0, X1,..., Xn-1 less
than 220, but they do exist, and their values never change.
I'll gradually provide you some facts about them, and ask you some ques...
分类:
其他好文 时间:
2015-07-24 20:49:36
阅读次数:
206
配置块 在模块的加载阶段,AngularJS会在提供者注册和配置的过程中对模块进行配置。在整个AngularJS的工作流中,这个阶段是唯一能够在应用启动前进行修改的部分。 angular.module('myApp', []) .config(function($provide) {}); 最常使用...
分类:
Web程序 时间:
2015-07-23 17:19:38
阅读次数:
369
Decorator Pattern
Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative
to subclassing for extending functionality....
分类:
其他好文 时间:
2015-07-20 23:49:40
阅读次数:
188
查查BufferedReader JDK文档:
Reads text from a character-input stream, buffering characters so as to provide for the
efficient reading of characters, arrays, and lines.
应该是效率更高,为什么效率高?
查了查,应该是这样先缓存能够...
分类:
编程语言 时间:
2015-07-20 16:19:32
阅读次数:
144
主要讲java中处理异常的三个原则: 原文链接:https://today.java.net/pub/a/today/2003/12/04/exceptions.html Exceptions in Java provide a consistent mechanism for identifyin...
分类:
编程语言 时间:
2015-07-18 18:17:29
阅读次数:
208
Singleton Pattern
Ensure a class has one instance,and provide a global point of access to it. 确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。
皇帝只有一个
首先我们来想想,如何获取一个对象,一般是通过new来实现,高级的通过反射,但是该如何禁止外部创建对象。
answe...
分类:
其他好文 时间:
2015-07-18 11:02:43
阅读次数:
128
Access Control List An ACL is a sequential list of permit or deny statements that apply to addresses or upper-layer protocols. ACLs provide a powerful...
分类:
数据库 时间:
2015-07-17 15:59:10
阅读次数:
185
转自:https://code.google.com/p/tesseract-ocr/wiki/APIExampleAPIExampleAPI examplesUpdatedAug 12, 2014bytheraysm...@gmail.comThis wiki provide simple exa...
分类:
编程语言 时间:
2015-07-16 13:30:17
阅读次数:
1830