码迷,mamicode.com
首页 >  
搜索关键字:invalid syntax    ( 4938个结果
Vim设置和常用命令
1、设置显示行数vim ~/.vimrcset nu2、设置自动对齐set tabstop=4set softtabstop=4set shiftwidth=4set autoindentset smartindentset cindent3、设置语法高亮syntax on 4、代码补全 ctrl+...
分类:其他好文   时间:2014-08-28 10:59:29    阅读次数:124
Effective Objective-C 2.0 笔记三(Literal Syntax简写语法)
当使用Objective-C的时候,你总会遇到Foundation框架中的一些类,这些类包含NSString,NSNumber,NSArray和NSDictionary,这些数据结构都是自解释的。 Objective-C以简明具体的语法而著名,自从oc1.0有一个简单的方式定义一个NSStri...
分类:其他好文   时间:2014-08-27 20:31:28    阅读次数:215
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte 分类: Web Services 2011-08-17 22:04 11022人阅读 评论(3...
分类:数据库   时间:2014-08-27 20:08:48    阅读次数:225
Hadoop Datanode节点无法启动(All directories in dfs.data.dir are invalid)
Hadoop Datanode节点无法启动(All directories in dfs.data.dir are invalid)java.io.IOException: All directories in dfs.datanode.data.dir are invalid: "/usr/loc...
分类:其他好文   时间:2014-08-26 21:23:27    阅读次数:265
CCLuaObjcBridge调Objective-C方法传索引数组报invalid key to 'next'错调试
CCLuaObjcBridge是cocos2d-x系列引擎与Objective-C进行交互的“桥梁”,老廖的quick-cocos2d-x在其framework进行了简单了封装,封装到了luaoc类中,大体能够看成:luaoc.callStaticMethod = CCLuaObjcBridge.c...
分类:其他好文   时间:2014-08-26 21:12:26    阅读次数:181
我的Linux命令操作手册
1,配置VIM 打开vim,普通模式下输入下面的命令找到vim的位置 :echo $VIM /usr/share/vim打开返回目录下的文件vimrc,进行配置 vim /usr/share/vim/vimrc具体配置如下: syntax on "语法高亮 set autowrite "自动保存 set number "显示行号 set autoindent "自动缩进 set tabst...
分类:系统相关   时间:2014-08-26 17:22:15    阅读次数:283
watir 控件传中文字段时遇到的问题以及解决方法
在给watir控件传递中文参数时遇到几个问题,现在解决方法如下1、ie.text_field(:name=>"UserName").set("中文字符")时报错,报错如下Invalid char '\243' in expressionInvalid char '\254' in expressio...
分类:其他好文   时间:2014-08-25 13:21:14    阅读次数:198
Mongo使用
在用mongo进行查询时,$exists表示是否document是否包含这个field,即使field的value为null也算是包含。$exists Syntax: { field: { $exists: } } When is true, $exists matches the documents that contain the field, including documents w...
分类:其他好文   时间:2014-08-24 11:43:02    阅读次数:187
hibernate预编译SQL语句中的setParameter和setParameterList
使用预编译SQL语句和占位符参数(在jdbc中是?),能够避免因为使用字符串拼接sql语句带来的复杂性。我们先来简单的看下,使用预编译SQL语句的好处。使用String sql = "select * from Student where name=" + name;如果name的值是1或 "aty"或"aty'aty",就会产生下面错误的sql --ORA-01722 invalid numb...
分类:数据库   时间:2014-08-22 13:02:18    阅读次数:256
微信自定义菜单发布出现 “invalid charset. please check your request, if include \\uxxxx will create fail!”的问题
出现这个这个问题是因为发布菜单的JSON字符串中存在Unicode字符我的项目中是因为Serialize序列化时自动将Url中的“&”自动转换成Unicode解决方法就是将json串中的unicode字符解码如何进行unicode解码,传送门
分类:微信   时间:2014-08-22 10:36:26    阅读次数:2070
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!