摘要: glib不错,值得学习。浅析GLibSDLGit的使用感受http://coolshell.cn/articles/3609.html#comment-29547敏捷开发的一个潜台词是“高手开发”,“敏捷” 的核心就是:深刻理解业务需求 + 合适(成本、可扩展性的均衡)地实现需求+ 一有必要立即重构... 阅读全文
posted @ 2014-04-21 11:36 One Leaf 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 网上找了一个编译脚本《Poco C++ ios 和 android平台编译脚本》,执行时出错:ls: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-*: No such file or directory进入poc... 阅读全文
posted @ 2014-07-24 12:21 One Leaf 阅读(1073) 评论(2) 推荐(0) 编辑
摘要: http://blog.csdn.net/tangaowen/article/details/8648990如果你在 summary 中 的Deployment Target 中选择了4.3,而不是XCode默认的6.0,那么你在 混编C++的时候还可能会遇到另外一个错误:clang: error:... 阅读全文
posted @ 2014-07-24 10:50 One Leaf 阅读(1814) 评论(0) 推荐(0) 编辑
摘要: 本例子展示了Glacier2 router的用法(没有使用Glacier2 session manager)。如果clients与router不在同一台主机上,需要将以下地方修改为glacier2router所在机器的外部地址:config.glacier2的Glacier2.Client.Endp... 阅读全文
posted @ 2014-06-16 17:46 One Leaf 阅读(2149) 评论(0) 推荐(0) 编辑
摘要: ICE发布者/订阅者的一个最简单例子IceStorm服务启动命令$ /Library/Developer/Ice-3.5.1/bin/icebox --Ice.Config=config.iceboxconfig.icebox## The IceBox server endpoint configu... 阅读全文
posted @ 2014-06-13 18:35 One Leaf 阅读(2438) 评论(0) 推荐(0) 编辑
摘要: 在Mac OS X中的VMware里运行debian,为了安装vmware-tools,需要首先在debian里做以下事情:sudo aptitude install build-essentialsudo aptitude updatesudo aptitude install build-ess... 阅读全文
posted @ 2014-06-11 17:49 One Leaf 阅读(200) 评论(0) 推荐(0) 编辑
摘要: # 如何在shell脚本中获取自己的绝对路径?basepath=$(cd `dirname $0`; pwd)如果脚本文件是软连接,则basepath=`dirname $(readlink $0)`# 如何通过pid获取某个进程的stdout?cat /proc/$pid/fd/1# 如何用程序启... 阅读全文
posted @ 2014-04-25 11:28 One Leaf 阅读(268) 评论(0) 推荐(0) 编辑
摘要: # 凡未指定路径的,默认为.目录。首次上传某个工程的代码首先将本地工程目录(假设叫newdir)下所有想要忽略的资源(不希望纳入版本库管理的)删除。然后cd newdir-parentmv newdir newdir_bkpsvn mkdir svn://url/newdir -m ''svn co... 阅读全文
posted @ 2014-04-23 16:41 One Leaf 阅读(306) 评论(0) 推荐(0) 编辑
摘要: Debian 6 64位1、用apt-get安装以下的包:cscopectagsclang2、安装codelite3、打开codelite-菜单-Settings-Tags Settings-Triggering-Auto-Display...4、如果使用了其他库,还需要添加头文件解析的列表:Cod... 阅读全文
posted @ 2014-04-22 13:13 One Leaf 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 1、安装GStreaamer SDK。(参考《GStreamer开发环境搭建-笔记》。并以该文中的例子程序为例。)2、设置编译选项。CodeLite - Project Settings的Compiler Options和Linker Options里都添加:`pkg-config --cflags... 阅读全文
posted @ 2014-04-18 17:55 One Leaf 阅读(233) 评论(0) 推荐(0) 编辑
摘要: [HowTo][Bash]如何取得当前正在执行的脚本的绝对路径?ByCharles| 4775 views |2013/07/15如题,一般我们写Shell脚本的时候,都倾向使用绝对路径,这样无论脚本在什么目录执行,都应该起到相同的效果,但是有些时候,我们设计一个软件包中的工具脚本,可能使用相对路径... 阅读全文
posted @ 2014-04-14 17:39 One Leaf 阅读(988) 评论(0) 推荐(0) 编辑