02 2012 档案

摘要:环境: OS:Ubuntu-v11.10 x64 Emacs: 23.3.1使用 apt 安装了 sbcl 与 slime,但是启动时会出现: "/usr/share/common-lisp/source/slime/swank-loader.lisp" there is no packa... 阅读全文
posted @ 2012-02-26 15:32 Proteas 阅读(269) 评论(0) 推荐(0)
摘要:原文地址:http://www.mulle-kybernetik.com/weblog/2011/10/how_to_build_libobjc_for_os_x.html Max OS X 版本:10.6.8 待编译运行时版本:437.3 刚刚自己试了一下,可以编译。 另:文章中提到头文件的包含路... 阅读全文
posted @ 2012-02-14 18:54 Proteas 阅读(771) 评论(0) 推荐(0)
摘要:一维码:barcode二维码:two-dimensional barcode在 iOS 下主要有两个开源库可以用来处理条码:1、Zxing:http://code.google.com/p/zxing2、ZBar:http://zbar.sourceforge.net/两个库都有相应的 demo 程... 阅读全文
posted @ 2012-02-13 15:50 Proteas 阅读(949) 评论(0) 推荐(0)
摘要:线程相关函数: 1. pthread 相关函数的头文件: #include 2. pthread 的创建函数: intpthread_create (pthread_t *thread_id, const pthread_attr_t *attributes,void *(*thread_f... 阅读全文
posted @ 2012-02-12 23:28 Proteas 阅读(358) 评论(0) 推荐(1)
摘要:C: 1. The C Programming Language (Second edition) - Brian W. Kernighan and Dennis M. Ritchie 2. C: A Reference Manual - Samuel P. Harbison and Guy R. ... 阅读全文
posted @ 2012-02-08 23:45 Proteas 阅读(375) 评论(0) 推荐(0)
摘要:Ref: http://www.chromium.org/developers/how-tos/build-instructions-windows Ref:http://trac.webkit.org/wiki/Chromium 环境搭建: 1、安装 VS2010 SP1,下载地址:http:/... 阅读全文
posted @ 2012-02-04 22:12 Proteas 阅读(833) 评论(0) 推荐(0)
摘要:近期将xcode升级到了4.2,SDK是 iOS5。在 iOS 5 下,以前可以正常工作的 NSOperation,会崩溃。崩溃的原因是:取消队列中的操作,但是该操作还没有开始。 解决这个问题的方法是: 在 start 方法中判断操作是否已经取消,如果取消,结束操作,没有取消,再执行操作。 ... 阅读全文
posted @ 2012-02-01 17:16 Proteas 阅读(657) 评论(0) 推荐(0)