- 浏览: 56999 次
- 性别:
- 来自: 广州
-
最新评论
文章列表
Code Coverage & Logic Coveragemake sure every executale statement is executed at least oncemake sure method every function logic is covered in testGeneral coverage types in Unit Test: Branch Coverage Condition Coverage - boundary condition Loop Coverage - Cover the on time, multiple times and m ...
1. Maximum use memory
http://www.boobooke.com/bbs/viewthread.php?tid=7630&extra=page%3D1
set JAVA_OPTS=-XMx1024m –XX:PermSize=512m –XX:MaxPermSize=512m
2. Use another JDK
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar
https://portal.accenture.com/enterprisesignon/signon.aspx?CTAuth ...
http://www.expedia.com/pub/agent.dll
http://www.vivaterra.com/bamboo-box-knife-holders.html
1. delete the blank before and after tag
$("[id=single-dropdown]").attr("innerHTML").replace(/^\s+/ ,'').replace(/\s+$/ ,'').replace(/>\s+</g ,"><");
red : delete the before blank
yellow: delete the blank from the end
green: delete the blan ...
http://www.21andy.com/blog/20080125/791.html
demo
google 3D earth -> http://code.google.com/intl/zh-CN/apis/maps/documentation/javascript/v2/examples/services-earth-plugin.html
street view -> http://gmaps-samples-v3.googlecode.com/svn/trunk/streetview/streetview-v3.html
direction -> http://gmaps-samples-v3.googlecode.com/svn/trunk/d ...
From the stackoverflow.com:
http://stackoverflow.com/questions/2757203/how-to-decode-a-string-in-a-varible-in-javascript
only use the command line for test, please observe
1. package
testspace/a/P.java
package a;
public class P {
public void show() {
System.out.println("hello world");
}
}
testspace/b/T.java
package b;
import a.P;
public class T{
public static void main(String ...
http://www.ibm.com/developerworks/cn/java/j-lo-jse6/?ca=j-h-p
http://stackoverflow.com/questions/2740987/mysql-connection-timeout-issue-grails-application-on-tomcat-using-hibernate-and
http://www.china-pub.com/24464
http://www.china-pub.com/26147
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
http://www.io.com/~dierdorf/emacsvi.html
当前week的第一天:
select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) + 1 DAY) ;
select DATE_ADD(curdate(), INTERVAL(1-DAYOFWEEK(curdate())) DAY);
当前week的最后一天:
select date_sub(curdate(),INTERVAL WEEKDAY(curdate()) - 5 DAY)
select DATE_ADD(curdate(), INTERVAL(7-DAYOFWEEK(curdate())) DAY);
前一week ...