引入JSLT标签: 字符串someDate: 转换Date对象: parseDate:${someDateStr} >> ${someDate} 页面输出: parseDate:2014-05-08 18:02:01 >> Thu May 08 18:02:01 CST 2014 当前时间对象: 格...
分类:
编程语言 时间:
2014-07-19 14:19:54
阅读次数:
235
DescriptionConsidering a light entering three adjacent planes of glass.At any meeting surface, the light may either reflect or continue straight throu...
分类:
其他好文 时间:
2014-07-18 21:11:27
阅读次数:
207
Turbolinks[1]:Turbolinks makes following links in your web application faster.Instead of letting the browser recompile the JavaScript and CSS between ...
分类:
移动开发 时间:
2014-07-18 21:03:11
阅读次数:
253
Description
Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box has a color. Here is an example: Gold, Silver, Silver, Silver, Silver, Bronze, Bronze, Bronze, Go...
分类:
其他好文 时间:
2014-07-18 11:23:05
阅读次数:
280
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2014-07-18 11:19:56
阅读次数:
210
异常:Cause:java.sql.SQLSyntaxErrorException:ORA-01745:无效的主机/绑定变量名原因,sql语句中,两个填充变量间没有写逗号.
分类:
其他好文 时间:
2014-07-18 08:07:59
阅读次数:
325
A few things to remember while coding in Python. - 17 May 2012 - UPDATE: There has been much discussion in Hacker News about this article. A few corre...
分类:
编程语言 时间:
2014-07-18 00:23:05
阅读次数:
481
之所以撰写这篇文章是由于前段时间花费了非常大的精力在已经成熟的代码上再去处理memory leak问题。写此的目的是希望我们应该养成良好的编码习惯,尽可能的避免这种问题,由于当你对着一大片的代码再去处理此类的问题,此时无疑添加了解决的成本和难度。准确的说属于补救措施了。1. 什么是内存泄漏(mem....
分类:
其他好文 时间:
2014-07-17 22:17:36
阅读次数:
389
今天在VMWARE里安装了一个Linux 操作系统,重新启动后,出现如下的警告提示:
starting sendmail: make: warning: file 'sendmil.cf' has modification time 2.3e+04 in the future
clock skew detected. Your build may be incomplete
这个错误的...
分类:
其他好文 时间:
2014-07-17 14:39:55
阅读次数:
253
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-07-17 14:03:41
阅读次数:
293