摘要: 1.cd ~/<my_working_directory>2.git clonegit://code.opencv.org/opencv.git3.cd /4.sudo ln -s /Applications/Xcode.app/Contents/Developer Developer5.cd ~/<my_working_directiory>6.python opencv/ios/build_framework.py ios7.If everything’s fine, after a few minutes you will get ~/<my_working 阅读全文
posted @ 2012-10-09 17:11 harvey.ding 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Start/Stop mysql:/etc/init.d/mysqld start/etc/init.d/mysqld stop/ect/init.d/mysqld restart 阅读全文
posted @ 2012-09-27 10:19 harvey.ding 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Show hide file(command line):defaults write com.apple.Finder AppleShowAllFiles TRUEkillall FinderHide hide file(command line):defaults write com.apple.Finder AppleShowAllFiles FALSEkillall FinderRemove svn file:find ./ -name ".svn" | xargs rm -RfStart/stop mysql:sudo /usr/local/mysql/suppo 阅读全文
posted @ 2012-09-26 15:02 harvey.ding 阅读(169) 评论(0) 推荐(0) 编辑
摘要: sudo find "path" -name ".svn" -exec rm -rf {} \; 阅读全文
posted @ 2012-06-06 11:05 harvey.ding 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1、打开终端。2、cd到你项目的路径。3、输入下面的指令:grep -d recurse "\n"classes| wc -l上面红色的部分是你代码的存放路径,如果你不是默认的Classes路径,改之。 阅读全文
posted @ 2012-03-30 17:17 harvey.ding 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #import "AudioToolbox/AudioToolbox.h"- (void) ifSilentModeThenMessage{ CFStringRef state; UInt32 propertySize = sizeof(CFStringRef); AudioSessionInitialize(NULL, NULL, NULL, NULL); AudioSessionGetProperty(kAudioSessionProperty_AudioRoute, &propertySize, &state); if(CFStringGetLengt 阅读全文
posted @ 2011-06-30 10:26 harvey.ding 阅读(310) 评论(0) 推荐(0) 编辑
摘要: NSZombieEnabled YESMallocStackLoggingNoCompact 1 阅读全文
posted @ 2011-04-08 16:30 harvey.ding 阅读(137) 评论(0) 推荐(0) 编辑
摘要: itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=341086403 阅读全文
posted @ 2011-02-16 16:31 harvey.ding 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 出现这个出现这个问题:看看你的文件路径中是否包含#这样的自符 阅读全文
posted @ 2010-10-12 15:19 harvey.ding 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 当系统里某一软件里有一个对象release了。系统不会及时真正摸杀掉该对象,只是把该地址放回可使用的内存列表里。只有真得有内存分配请求才考虑是否使用这个地址,这样处理效率高。 阅读全文
posted @ 2010-10-11 11:29 harvey.ding 阅读(149) 评论(0) 推荐(0) 编辑