`
niwtsew
  • 浏览: 68755 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
http://gps.about.com/od/glossary/g/Heading.htm   Definition: The compass direction toward which a traveler or vehicle is (or should be) moving.  Examples: "This heading will take us to the north side of the lake. Once there, we can follow a new heading to the lodge."     ...
check here. http://odetocode.com/Blogs/scott/archive/2007/07/05/function-apply-and-function-call-in-javascript.aspx
做了一个sh脚本,里头会有一些和用户交互的地方,需要用户回答一些问题,以执行下一步(通过read读取用户输入,有时候用户输入回车,代表使用缺省答 案) 问题是在脚本执行过程中,用户可能会有意无意的输入很多个我不想要的回车.   function prompt_answer(){     prompt="${1}"     variable="${2}"     while read  -t1 dummy_vars ; do         :     done        read -p "${prompt}" - ...
Document Type Declaration   http://en.wikipedia.org/wiki/Document_Type_Declaration   Formal Public Identifier http://en.wikipedia.org/wiki/Formal_Public_Identifier
The XML declaration typically appears as the first line in an XML document. The XML declaration is not required, however, if used it must be the first line in the document and no other content or white space can precede it.   <?xml version='1.0' encoding='utf-8' ?> <test> The XML ...

UCM

Two links about UCM The power of Unified Change Management http://www.ibm.com/developerworks/rational/library/701.html   UCM with SVN http://www.riedquat.de/articles/UCMwithSVN
refer to http://weblogs.java.net/blog/2006/02/13/what-mxbean
As we know ,jdk API doc suggests to use wait() always in a loop as below:  As in the one argument version, interrupts and spurious wakeups are possible, and this method should always be used in a loop:      synchronized (obj) {          while (<condition does not hold>)              obj.w ...
copied from http://tutorials.jenkov.com/java-concurrency/locks.html  Notes:This tutorial is a very easy to read and understand version of java concurrent lock mechanism. I do suggest to take a look.   Locks in Java  By Jakob Jenkov   A lock is a thread synchronization mechanism like syn ...
copied from http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html     jps - Java Virtual Machine Process Status Tool Synopsis Description Options Host Identifier Output Format Examples See Also SYNOPSIS jps [ options ] [ host ...
It's my first time to touch Struts. Here refers to Struts 2.1.8.1.  The Hello World is deployed under Tomcat 6.0.20.   The error is caused by a typo error of the struts tag url , should be <%@ taglib prefix="s" uri="/struts-tags " %>   .      <%@ taglib prefix=" ...
copy from http://blog.cornetdesign.com/2008/05/unit-testing-equals-and-hashcode-of-java-beans/   Unit Testing Equals and HashCode of Java Beans Posted on May 28th, 2008   We’ve been creating several Java Beans that have an imperative need to have both equals and hashCode working cor ...

This is it

    博客分类:
  • Misc
top three of my favorite by King 1. Billie Jean 2. They dont care about us. 3. Man in the mirror   All I wanna say is fans really care about you,care about the way you feel. God bless you.  

309th

早晨七点钟醒来,跟我说她做的长长的梦。   回到了7年前的大学时代。某天,她回到宿舍,看到另5个室友光着pp一丝不挂,"你们好变态啊,什么都不穿...."她很惊讶. 室友回答道:"你抓紧看吧,一会就要穿衣服了..."   我当时不解,问让你看什么啊,她说奶子....   期末考试了,她们宿舍6个人某科总共考了60分,她是最高分(再高也高不过及格线吧)。大家都很紧张不知所措,她安慰道:"没事,其他几门考好一点就拉回来了......"   上课中,坐在他旁边的一个男同学一直和他说话,因为他对她有好感。老师发飙就质问那个男同学: ...

306th

我们在某山脚下买了个超级大的房子,大到车库里可以同时容纳n辆兰博基尼。当然车库里确实有n辆。 她是某公司的头头,在家里和人家谈事情,边上几十个服务员进进出出在上菜,上了n多道菜,分量十足。 不知道为什么,山上长了很多蚂蚁,蚁灾出现了。 于是,某部队扛着大炮开着坦克来帮我们杀蚂蚁。 部队驻扎在我家里(我家大吧)...... 虽然我家有n辆兰博基尼,但是她更喜欢邻居开的大悍马。(既然兰博基尼买得起,为啥悍马买不起呢。。)   她会飞。当然以前在梦里一直会飞.   我和她一起语文考试,我连"鼠目寸光"这个单词都不会写。于是她就偷偷的告诉我了。 她觉得考试很容易,不能 ...
Global site tag (gtag.js) - Google Analytics