freemarker自定义标签
1、错误描述
六月 05, 2014 11:31:35 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Error executing macro: write\nrequired parameter: nums is not s...
分类:
其他好文 时间:
2014-06-09 23:18:11
阅读次数:
353
题目链接Givennpairs of parentheses, write a function to
generate all combinations of well-formed parentheses.For example, givenn= 3, a
solution set is:"((...
分类:
其他好文 时间:
2014-06-09 15:11:33
阅读次数:
212
Develop Tools: xCode 5.1I write a demo for app
settings feature. The tutorial url is here.When I add a icon into app icon and
build the code, I got th...
分类:
移动开发 时间:
2014-06-08 20:39:03
阅读次数:
1920
在apache,nginx,lighttpd等web服务器当中,都有一项sendfile相关的配置,在一些网上的资料都有谈到sendfile会提升文件传输性能,那sendfile到底是什么呢?它的原理又是如何呢?在传统的文件传输里面(read/write方式),在实现上其实是比较复杂的,需要经过.....
分类:
系统相关 时间:
2014-06-08 20:28:40
阅读次数:
288
1. 创建目录
SQL> create directory dump_file as ‘/db/backup’;
2. 目录赋权限
SQL> grant read,write on directorydump_file to bam;
查看目录
SQL> select * from dba_directories;
3. 备份
SQL>expdp user/pwd directo...
分类:
数据库 时间:
2014-06-08 10:07:15
阅读次数:
333
今天在一篇关于内建类的博文中,讲到了Boolean类,其对象有一个toSource()方法:返回表示对象源代码的字符串。由于学的浅,测试时,出现了不同的结果:
var b = new Boolean("");
document.write("b的值是:"+b+"");
document.write("b的原始值是:"+b.valueOf()+"");
document.write("b的字符串值是:"+b.toString()+"");
document.write("b的...
分类:
编程语言 时间:
2014-06-08 04:14:31
阅读次数:
277
上上周的事情了,端午小长假将近,还是按往常一样,最后一天一定要搞一个“课题”,场面不大,一天就能搞定的东西,如果说系统学习vim或者Emacs之类的,那就算了...还好,问题呼之即来,那就是write系统调用是不是原子的,答案很显然,不是!但大师说带有APPEND标志的write是原子的,很多软件的日志都是O_APPEND打开,然后在不加锁的情况下直接write的,不会出现问题,此事如何证实?本文...
分类:
移动开发 时间:
2014-06-08 02:19:57
阅读次数:
309
上上周的事情了,端午小长假将近,还是按往常一样,最后一天一定要搞一个“课题”,场面不大,一天就能搞定的东西,如果说系统学习vim或者Emacs之类的,那就算了...还好,问题呼之即来,那就是write系统调用是不是原子的,答案很显然,不是!但大师说带有APPEND标志的write是原子的,很多软件的日志都是O_APPEND打开,然后在不加锁的情况下直接write的,不会出现问题,此事如何证实?本文...
分类:
移动开发 时间:
2014-06-08 02:13:25
阅读次数:
339
/* 参数说明: pi_program_name 程序名称 pi_directory
写入日志文件所在的目录 pi_file 日志文件名称,必须存在 pi_log_level 日记级别,INFO、WARN、FATAL pi_write_to
...
分类:
数据库 时间:
2014-06-07 22:09:19
阅读次数:
368
LayoutsIn this document 在这个文档Write the
XML写XML文件Load the XML Resource加载xml资源Attributes属性ID IdLayout
Parameters布局参数Layout Position 布局位置Size, Padding .....
分类:
其他好文 时间:
2014-06-07 22:05:56
阅读次数:
399