1、下载Lua安装包
下载地址:http://www.lua.org/download.html,目前最新的Lua是5.2.3。解压得到doc、src、Makefile、README共4个文件。
2、编译Lua环境
1)控制台下cd Lua解压路径。2)执行make 平台,我是Mac,所以执行make macosx;3)在src中生成lua和luac两个可执行
...
分类:
系统相关 时间:
2014-10-20 23:27:35
阅读次数:
298
前几天有同学要做关于摄像头的项目,是中星微的ZC301摄像头,在配置内核的时候找不到驱动。刚好我之前做过相关的项目,所以一会儿就找到了,现在把它放出来,方便以后需要的道友。
执行make menuconfig之后进入:
----------------------------------------------------------------------------------------...
分类:
其他好文 时间:
2014-10-20 15:12:29
阅读次数:
165
1. 尽量减少HTTP请求 (Make FewerHTTPRequests)作为第一条,可能也是最重要的一条。根据 Yahoo! 研究团队的数据分析,有很大一部分用户访问会因为这一条而取得最大受益。有几种常见的方法能切实减少HTTP请求:1)合并文件,比如把多个CSS文件合成一个;2)CSSSpri...
分类:
Web程序 时间:
2014-10-20 13:28:08
阅读次数:
281
I would like a user to be able to type in the second or third word from aTComboBoxitem and for that item to appear in theAutoSuggestdropdown optionsFo...
分类:
其他好文 时间:
2014-10-20 00:39:04
阅读次数:
276
##编译cocos2dx自带的luajit 1. 进入目录external/lua/luajit/src 2. 运行命令make && make install ##编译使用的命令 ``` luajit -b main.lua ../bytecode/main.lua ``` ##批处理 使用js脚本进行批处理,把src的...
分类:
其他好文 时间:
2014-10-18 04:23:52
阅读次数:
241
原文链接:Diamonds Aren\'t Forever, but Van Gaal and Rodgers Know How to Make Them Shine作者:Jonathan Wilson,Sep 18, 2014Diamonds Aren't Forever, but Van Gaa...
分类:
其他好文 时间:
2014-10-18 01:52:25
阅读次数:
386
Make sure the Cursor is initialized correctly before accessing data from it 详细错误是:java.lang.IllegalStateException: Couldn't read row 0, col 2 from Cur...
分类:
移动开发 时间:
2014-10-17 23:17:55
阅读次数:
8377
最近在学习使用ansible,为了未来的大规模部署应用做准备,这东西比我之前用过的puppet,saltstack都简便一点,没有client端,也不需要额外配置,基本上手技能用,据说在国外的热门程度目前也超过saltstack了。下面就开始零星的记录吧。确保服务在running状态tasks:
-name:make..
分类:
其他好文 时间:
2014-10-17 19:06:34
阅读次数:
226
1,下载QWT2,解压进入QWT的目录3,qmake,生成makefile文件4,编译,make5,安装,make install ,需要root安装好后会在 /usr/local 目录下有qwt6,将库文件目录导入至环境变量7,安装完成,当Qtcreator中无法加载Qwt控件动态链接库将动态链接...
分类:
系统相关 时间:
2014-10-17 18:22:46
阅读次数:
298
当通过命令行:php artisan migrate:make create_authors_table --table=authors --create时,在 migration.php 中若Schema::table()而不是Schema::create时,会出现 table 不存在的指示,这时...
分类:
数据库 时间:
2014-10-17 15:09:40
阅读次数:
188