Stay Hungry,Stay Foolish!

06 2016 档案

摘要:pack和unpack 对于一个函数, 要将其入参转换为一个表, 则pack函数合适。 对于一个表要将其转换为 一个函数的入参, 则 lua原生提供的 unpack函数可以实现。 do arrayData = {"a", "b", "c", "d", "e"}; function pack(...) return {...}; end print( pack("aa", "bb"... 阅读全文
posted @ 2016-06-30 00:14 lightsong 阅读(391) 评论(0) 推荐(0) 编辑
摘要:什么是兼容性? compatible http://www.webopedia.com/TERM/C/compatible.html (n) Indicates that a product can work with or is equivalent to another, better-know 阅读全文
posted @ 2016-06-30 00:00 lightsong 阅读(2699) 评论(3) 推荐(0) 编辑
摘要:安装 参考如下博文安装thttpd软件 http://blog.csdn.net/21aspnet/article/details/7045845 http://blog.csdn.net/dragoncheng/article/details/5614559 thttpd配置文件: root@fqs:/usr/local/bin# cat /usr/local/thttpd/conf/ e... 阅读全文
posted @ 2016-06-26 23:06 lightsong 阅读(2018) 评论(0) 推荐(0) 编辑
摘要:安装软件 需要安装三个lua 库: xavante wsapi cgilua luarocks install xavante http://keplerproject.github.io/xavante/manual.html#install Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture base... 阅读全文
posted @ 2016-06-22 23:16 lightsong 阅读(830) 评论(0) 推荐(0) 编辑
摘要:seajs http://seajs.org/docs/en.html#intro https://github.com/seajs/seajs/releases Extremely simple experience of modular development Why use Sea.js ? Sea.js's pursuit of a simple, natural coding a... 阅读全文
posted @ 2016-06-13 22:49 lightsong 阅读(280) 评论(0) 推荐(0) 编辑
摘要:是什么? http://brackets.io/ A modern, open source text editor that understands web design. 现代, 开源的文本编辑器, 最懂得web设计。 With focused visual tools and preprocessor support, Brackets is a modern text editor t... 阅读全文
posted @ 2016-06-12 22:10 lightsong 阅读(1647) 评论(1) 推荐(0) 编辑
摘要:什么是luaprofiler? http://luaprofiler.luaforge.net/manual.html LuaProfiler is a time profiler designed to help finding bottlenecks on your Lua program. If you use LuaProfiler into your program, it will ... 阅读全文
posted @ 2016-06-11 22:28 lightsong 阅读(3038) 评论(0) 推荐(0) 编辑
摘要:背景描述 编程或者文档处理过程, 经常遇到需要将一个单词修改为另外一个单词的情况, 例如 命名为 shall 修改 为 should。 使用工具实现, 则比较方便,不容易出错, 解放双手。 需求规格 对于某个文件夹中的所有文本文件(txt), 将某个单词替换为目标单词。 实现思路 对于替换的单词映射, 在配置文件config.lua进行设置, 存储一个表,表中每一行 对应 src voc... 阅读全文
posted @ 2016-06-11 21:33 lightsong 阅读(3005) 评论(0) 推荐(0) 编辑

千山鸟飞绝,万径人踪灭
点击右上角即可分享
微信分享提示