- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 Lua编译错误小结
编译Lua代码, 出现以下错误/usr/lib/libreadline.so: undefined reference to `PC'/usr/lib/libreadline.so: undefined reference to `tgetflag'/usr/lib/ibreadline.so: undefined reference to `tgetent'/usr/lib/l
2013-12-30 16:12:05 4065
原创 一个Lua coroutine的例子
local coroutine_pool = { }local coroutine_yield = coroutine.yieldlocal function dispatch(param) print("function dispatch called", param)endlocal global_colocal function co_create(f)
2013-12-30 12:02:31 940
原创 git远程分支的管理和代码提交
首先从远程代码仓库中克隆一份代码, 直接用git clone remote_repository,假设远程代码仓库有2个分支, master和test分支, 默认是master分支, git clone会克隆远程的所有分支到本地(可以用git branch -r查看远程的所有分支). 然后checkout 到默认的一个分支上, 这里默认的分支是masterclone代码以后, 可以切换到远
2013-12-04 20:43:36 7724
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人