一、编写vector.pkg
class vector {
TOLUA_TEMPLATE_BIND(T, string, CCSprite*) // 添加我们想要的容器类型
void clear();
int size() const;
const T& operator[](int index) const;
T& operator[](i...
分类:
其他好文 时间:
2014-08-25 15:04:54
阅读次数:
1517
Hbase异常:org.apache.hadoop.hbase.client.HTablePool$PooledHTable cannot be cast to org.apache.hadoop.hbase.client.HTable...
分类:
编程语言 时间:
2014-08-25 11:50:14
阅读次数:
196
//lamda //first lamda [] {}; // second lamda []() //or no need () when paramater is null { std::cout bool { return (bool)i; }(5); //5, lamda captu...
分类:
编程语言 时间:
2014-08-23 21:39:11
阅读次数:
195
问题:
今天中午沛爷解决了OJ打开慢的问题以后刚走,我随后在oj上交了个题目就发现waiting了.....
问马前辈和全哥,均认为测评程序挂了,于是重启测系统,还waiting.....(测评系统的进程一直在,就是waiting)
听全哥的开始查看测评系统的日志文件:
日志文件在oj_judge/nohup.out,出现N多的ERROR:root:Cannot connect to da...
分类:
其他好文 时间:
2014-08-23 19:07:01
阅读次数:
253
1、首先ldd不是一个可执行程序,而只是一个shell脚本2、ldd能够显示可执行模块的dependency,其原理是通过设置一系列的环境变量如下:LD_TRACE_LOADED_OBJECTS、LD_WARN、LD_BIND_NOW、LD_LIBRARY_VERSION、 LD_VERBOSE等。...
分类:
系统相关 时间:
2014-08-23 13:53:20
阅读次数:
334
1 严重: Servlet /N002-1.0 threw load() exception 2 java.lang.ClassCastException: com.sun.proxy.$Proxy27 cannot be cast to com.bbk.n002.service.Question....
分类:
编程语言 时间:
2014-08-23 08:48:30
阅读次数:
235
1. 禁用右键点击(Disable right-click)$(document).ready(function(){$(document).bind("contextmenu",function(e){returnfalse;});});2. 禁用搜索文本框(Disappearing search...
分类:
Web程序 时间:
2014-08-22 14:13:48
阅读次数:
367
I'm not yet clear what I did, but I'm blogging it so it can be found if someone else has this issue.For whatever reason, last week both of my Vista 64...
安装GI,在执行root.sh时报错:Disk Group CRSDG creation failed with the following message:ORA-15018: diskgroup cannot be createdORA-15017: diskgroup "CRSDG" cann...
分类:
数据库 时间:
2014-08-22 01:34:15
阅读次数:
656
遇到问题:
第一次从外部文件导入HelloWorld工程到workspace目录中,成功。
删除后,再次从外部导入workspace目录提示 Some projects cannot be imported because they already exist in the workspace
eclipse中删除HelloWorld工程时没有勾选Delete pr...
分类:
系统相关 时间:
2014-08-21 17:10:34
阅读次数:
218