`
programmer10year
  • 浏览: 5120 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表

2012.1.13

1. 空指针异常, 在获得对象使用它的时候,首先要判断一下这个对象是否会为空。或者压根不会为空。否者在调用它的对象或者遍历它的时候就会出现异常。   2. 不区分大小写单词匹配的正则表达式."(?i)\\byourword \\b" (?i)表示不区分大小写。是通过英文 google出来的。keywork: regular ignore case, 然后google会自动提示一些相似的keyword。 然后一个非常好的测试regular expression的网站: http://gskinner.com/RegExr/   3. 遇到error,首先是看错误信 ...
1. Liferay 连接MySQL数据库, 创建配置文件   1.1 文件名: portal-ext.properties   1.2 文件路径: Liferay bundle 根目录   1.3 内容 jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://localhost:3306/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false jdbc.default.us ...
1. Eclipse version: eclipse-jee-indigo-SR1-win32.zip 2. Liferay Eclipse plugin: liferay-ide-eclipse-updatesite-1.4.0.zip 3. Liferay tomcat bundle: liferay-portal-tomcat-6.0.6-20110225.zip 4. Liferay plugin SDK: liferay-plugins-sdk-6.0.6-20110225.zip   to be continued.

other

Basic: 1. Customer expectation 2. Deadline is not broken. 3. Customer wins 4. Company makes money 5. People are happy and growing.   Good project management: 1. Plan an executable plan. 2. A tight control to the plan execution 3. A good control to the quality 4. A optimized resources usage ...

Nikita

Season1 - 01 My name is Nikita. 6 years ago, I was taken out of prison and forced by a covert unit of the government , to be an assassion 3 years ago, I escaped, and have been hunted ever since I was the first recruit to get out, I'm going to make certain I'm not the last.   Come on, come on, c ...
为什么Android源码的属性值都加了前缀m? 据我推测,是为了要区别swing与awt包中的属性,因为Android的界面很大一部分就是继承于swing和awt的。m的意思应该就是micro,就是j2me中的m,java微平台,也就是移动平台。  
Global site tag (gtag.js) - Google Analytics