1.luasocket 不能使用方式 用下面地址的文件替换文件重新编译 https://github.com/chukong/quick-cocos2d-x/blob/master/lib/cocos2d-x/scripting/lua/lua_extensions/socket/socket_s....
分类:
其他好文 时间:
2015-04-15 16:53:29
阅读次数:
191
今天打算在Mac开发我的游戏,因为游戏用的2.2.5版的player,没有安装版。在Mac上运行player时提示player文件已经损坏。解决方法:在shell下执行如下指令即可mv $QUICK_COCOS2D-X_ROOT/quick-cocos2d-x-2.2.5-release/playe...
分类:
系统相关 时间:
2015-04-15 16:26:53
阅读次数:
430
转自:http://www.cnblogs.com/csulennon/p/4194902.html在虚拟机上安装Ubuntu14.04 后安装ibus输入法,万万没想到在切换输入法的时候居然出错了!无语了,再网上查了一下,这个错误出现的还是比较少的。先说Ubuntu输入法(ibus)安装的一般步骤...
分类:
其他好文 时间:
2015-04-15 13:08:23
阅读次数:
444
php判断文件存在是用file_exists 还是 is_file来源:时间:2013-09-05 19:02:33阅读数:6832分享到:0[导读]在写程序时发现在判断文件是否存在时,有两种写法,有的人用了is_file,有的人用了file_exists,用哪个更好或者说更合适呢?判断文件存在用i...
分类:
Web程序 时间:
2015-04-14 16:26:32
阅读次数:
128
//备份程序 private void BackupFiles(string from,string to) { //如果原程序目录存在 if (Directory.Exists(from)) { ...
分类:
其他好文 时间:
2015-04-14 15:59:26
阅读次数:
80
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically...
分类:
其他好文 时间:
2015-04-14 13:03:34
阅读次数:
139
官网命令列表:http://redis.io/commands (英文) 1、连接操作相关的命令 quit:关闭连接(connection) auth:简单密码认证 2、对value操作的命令 exists(key):确认一个key是否存在 del(key):删除一个key type(key):返回...
分类:
其他好文 时间:
2015-04-14 12:53:22
阅读次数:
123
对于INT型,MySQL支持指定显示宽度例如:int(5):表示如果数值宽度小于5位,则填满宽度,保证总宽度为5位。默认为int(11),配合zerofill可以看到效果。DROP TABLE IF EXISTS tab_5;CREATE TABLE tab_5(id int(5))ENGINE=i...
分类:
数据库 时间:
2015-04-14 00:26:50
阅读次数:
292
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2015-04-13 18:24:42
阅读次数:
112
http://dualface.github.io/blog/2013/01/01/call-java-from-lua/#E5B08620lua20function20E4BD9CE4B8BAE58F82E695B0E4BCA0E98092E7BB9920java20E696B9E6B395int I
float F
string Ljava/lang/String; 注意分号
bool Z...
分类:
编程语言 时间:
2015-04-13 16:44:18
阅读次数:
210