freemarker自定义标签
1、错误描述
freemarker.core.ParseException: Encountered " " at line 14, column 12 in myself.ftl.
Was expecting one of:
...
...
"false" ...
"true" ...
...
....
分类:
其他好文 时间:
2014-06-09 23:38:56
阅读次数:
355
1 //use this to implement platform-cross
new-line.2 StringBuilder sb = new StringBuilder();3
sb.append(System.getProperty("line.separator"));
分类:
其他好文 时间:
2014-06-09 00:35:09
阅读次数:
213
Given n points on a 2D plane, find the maximum
number of points that lie on the same straight line.思路:(1)点1到点n
(a)以点1为参考点,求“点1”与“点2到点n”各个斜率下点的个数; (求出直...
分类:
其他好文 时间:
2014-06-08 22:30:56
阅读次数:
266
//定义二维平面上的点struct Point{ int x; int y;
Point(int a=0, int b=0):x(a),y(b){}};bool operator==(const Point& left,
const Point& right){ return...
分类:
其他好文 时间:
2014-06-08 22:26:17
阅读次数:
357
摘自github语言无关类操作系统开源世界旅行手册鸟哥的Linux私房菜(简体)Linux
系统高级编程The Linux Command Line(中英文版)Linux 设备驱动(第三版)深入分析Linux内核源码UNIX
TOOLBOXWEB服务器Nginx开发从入门到精通(淘宝团队出品)版本控...
分类:
其他好文 时间:
2014-06-08 20:58:35
阅读次数:
701
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that i...
分类:
编程语言 时间:
2014-06-08 15:25:00
阅读次数:
282
1. sudo apt-get install mysql-server, input administrator password , '123'
2. enter mysql promot in command line, 'mysql -u root -p', input password
3. create database "CREATE DATABASE xoops...
分类:
数据库 时间:
2014-06-08 10:26:14
阅读次数:
356
freemarker自定义标签
1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #macro on line: 12, column: 101, in template: myself.ftl in myself.f...
分类:
其他好文 时间:
2014-06-08 09:47:07
阅读次数:
223
linux
grep命令详解http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856896.htmlgrep
(global search regular expression(RE) and print out the line,全面搜索正则...
分类:
系统相关 时间:
2014-06-07 22:50:42
阅读次数:
387
解决办法: 定义一个MotionEvent对象,在ondown里面赋值 private
MotionEvent mLastOnDownEvent = null; @Override public boolean onDown(MotionEvent
arg0) { mLastOnD...
分类:
其他好文 时间:
2014-06-07 22:45:18
阅读次数:
352