摘要: https://github.com/kokoabim/iOSOpenDev/issues/45I was getting this error myself, I just copied the /opt/theos/include/logos folder into /opt/iOSOpenDev/include and haven't had that error since 阅读全文
posted @ 2013-04-08 09:52 willbin 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Your aimYou want to use Linux and OpenSSH to automize your tasks. Therefore you need anautomaticlogin from host A / user a to Host B / user b. You don't want to enter any passwords, because you want to callsshfrom a within a shell script.How to do itFirst log in on A as user a and generate a pai 阅读全文
posted @ 2013-04-01 17:08 willbin 阅读(272) 评论(0) 推荐(0) 编辑
摘要: http://www.devdiv.com/home.php?mod=space&uid=54&do=blog&id=7596前段时间在开发一个越狱应用,用于在通知中心显示阳历和阴历,名为Chinese Calendar for Notification Center。第一次研究越狱开发,四月七号开始编码到昨天,在这两周里,从无到有,接触了Notification Center Widget和Preference Bunlde应用的开发,深切地感觉到越狱文档的稀少和零散,以及找资料的痛苦,期间甚至有“没人提供文档,我来提供!”的想法。文档是个浩大的工程,目前的水平也无法 阅读全文
posted @ 2013-04-01 16:49 willbin 阅读(914) 评论(0) 推荐(1) 编辑
摘要: 下面我就把ios中如何使用正则表达式总结一下!ios SDK中并没有公开提供处理正则表达式的API。我用的是RegexKitLite,先去网上载了这个类库,解压之后,把RegexKitLite.h和RegexKitLite.m两个文件加入到你的项目中,因为RegexKitLite使用ICU库,所以需要动态链接到/usr/lib/libicucore.dylib库当中去,所以还得向Other Linker Flags(Xcode3.2中 进入菜单Project->Edit Project Settings 在搜索框内输入linker搜索,找到“Other Linker Flags”选项。 阅读全文
posted @ 2013-03-31 12:30 willbin 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Git 是当前最流行的版本控制程序之一,文本包含了 Git 的一些基本用法创建 git 仓库 初始化 git 仓库mkdirproject# 创建项目目录cdproject# 进入到项目目录gitinit# 初始化 git 仓库。此命令会在当前目录新建一个 .git 目录,用于存储 git 仓库的相关信息 初始化提交touchREADMEgitadd .# 将当前目录添加到 git 仓库中, 使用 git add -A 则是添加所有改动的文档gitcommit-m"Initial commit"gitremote add origingit@github.com:lugir 阅读全文
posted @ 2013-03-29 18:38 willbin 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 有一个特别有用的Stack,“最近打开过的项目”,建立方法如下:1. 打开Terminal,输入以下命令defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'2. 然后再输入“Killall Dock”(注意大小写)Killall Dock你的Dock上就多了个Stack,在那里面你可以看到你最近 阅读全文
posted @ 2013-03-29 11:02 willbin 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 公元前483年 西施送入吴国;范蠡遇到阿青,阿青传越国剑士剑法。 公元前476年 越国灭掉吴国;范蠡与西施隐居,阿青离去。 527年 南北朝时期,印度高僧菩提达摩来到中国,在嵩山少林寺面壁九年,创立中国禅宗。 536年 达摩逝世 554年 西魏宇文泰攻破江陵城(今荆州),梁元帝萧绎留下宝藏在天宁寺,连城诀宝藏来源于此 隋朝末年,李靖将《易筋经》中的武学奥秘,尽数领悟。 640年 侯君集攻破高昌国 694年 明教传至中土。 唐朝末叶,嘉兴剑术名家改良越女剑法。 877年 丐帮建立。 907年 唐朝灭亡 907年 耶律阿保机建立契丹 937年 段思平建立大理 936... 阅读全文
posted @ 2013-03-28 18:54 willbin 阅读(337) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/5270586/xcode-difference-between-debug-and-releaseI quote"The biggest difference between these is that: In a debug build the complete symbolic debug information is emitted to help while debugging applications and also the code optimization is not taken into ac 阅读全文
posted @ 2013-03-28 16:39 willbin 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 项目经历过大的变动之后会留下一些不再需要的图片文件,写了一个脚本跑了一下,找到150张未用到的图片,给力~下面的脚本使用的时候需要根据自己的项目指定图片目录和代码目录找出不再需要的图片#如果没有找包含@"imageName"或@"imageName.png"的.h.m文件,则认为项目里不再需要这个图片find ./Resources -name "*.png" \ |grep -v @ \ |while read line;do iname=$(basename "$line"|sed -e "s/\.p 阅读全文
posted @ 2013-03-28 14:27 willbin 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 猴子原创, 欢迎转载,转载请在明显处注明! 谢谢。原文地址:http://blog.csdn.net/yanghuiliu/article/details/6933421之前我介绍过cocos2d-x的帧动画实现,今天我把帧动画详细写一下。帧动画就是很多张png的序列图实现轮流播放产生动画效果。那么首先我们要一套动画的序列图,没有图的可以看引擎例子里面的图。很多张图我们可以采用TP工具将它们压缩到一张png里面去,这样程序只需要读取一次就行了,提高效率。比如我将这里的6张图压成了一个png,TP会产生一个所有图的png和一个plist描述文件,plist很像xml,它描述了每一张图的位置,大小 阅读全文
posted @ 2013-03-27 10:20 willbin 阅读(433) 评论(0) 推荐(0) 编辑