1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #assgin on line: 18, column: 151, in template: tag.ftl in tag.ftl
at freemarker.template...
分类:
其他好文 时间:
2014-06-19 12:51:20
阅读次数:
246
1. 语法与选项Short OptionLong OptionOption
Description-c–bytesprint the byte counts-m–charsprint the character
counts-l–linesprint the newline counts–files...
分类:
系统相关 时间:
2014-06-16 00:46:11
阅读次数:
509
【Basics】1、You can declare multiple constants or multiple variables on a single line, separated by commas: 2、You can use almost any character you like....
分类:
其他好文 时间:
2014-06-15 22:01:43
阅读次数:
330
1.upload_file.php
//该文件负责获取上传的图片的扩展名和随机生成文件名
header("content-type:text/html;charset=utf-8");
/**
* 获取文件扩展名
*Enter description here ...
* @param unknown...
分类:
Web程序 时间:
2014-06-15 13:32:41
阅读次数:
242
1.创建一个空的字符串,并用字符串是否为空进行判断
var str = ""
var str2 = String()
if str2.isEmpty {
println("empty")
}
2.字符 Character
可以通过字符来计算字符串数量
for character in "Dog!...
分类:
其他好文 时间:
2014-06-15 10:41:21
阅读次数:
199
Java的数据类型分两种:1.基本类型:如:long,int,byte,float,double,char 基本数据类型逻辑型 boolean整数型 byte short int long浮点型 float double字符型 char2.对象类型(类):Long,Integer,Byte,Short,Float,Double,Character,String,Boolean其它一切jav...
分类:
编程语言 时间:
2014-06-15 10:35:09
阅读次数:
242
你是不是在被中文乱码所困扰???
那就往下看吧
如果你是windows的用户,先打开cmd.exe 打入命令 mysql 如果不行那就是环境变量有问题,把mysql的bin放到环境变量的path里
接下来就是在my.ini修改character-set-server=utf8 大功告成
真是深坑!...
分类:
数据库 时间:
2014-06-15 10:12:36
阅读次数:
214
在 HTML 中,某些字符是预留的。 在 HTML 中不能使用小于号(),这是因为浏览器会误认为它们是标签。 如果希望正确地显示预留字符,我们必须在 HTML 源代码中使用字符实体(character entities)。比如要写这篇日志在前端展现出大于号(>),小于号( 大于号 > >...
分类:
Web程序 时间:
2014-06-14 17:17:32
阅读次数:
245
一、字符串( String )和字符类型(Character)
字符串是一种字符的带次序的收集类型(相当于数组),字符是字符串中的元素。
在Swift 语言中,字符串是编码独立的Unicode字符的组合,并提供相应方法来获取以各种Unicode呈现方式包含的字符。
1、 字符串定义和初始化
Swift 语言使用var或let关键字来...
分类:
移动开发 时间:
2014-06-14 11:48:55
阅读次数:
270
String是例如“hello, world”,“海贼王”
这样的有序的Character(字符)类型的值的集合,通过String类型来表示。Swift 的String类型与
FoundationNSString类进行了无缝桥接。如果您利用 Cocoa 或 Cocoa Touch 中的 Founda...
分类:
其他好文 时间:
2014-06-13 15:14:38
阅读次数:
247