自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(101)
  • 资源 (1)
  • 收藏
  • 关注

原创 Windows 下安装 bpython

bpython用起来很方便,尤其是自动补全,自动提示的功能现在在windows下也能安装注意:easy_install不行要用pip install bpython然后是漫长的等待。当你已经忘了这事后,不经意间发现它已经能用了。:)

2013-11-15 11:33:19 9103 1

原创 aptana windows git 配置

最重要的是在preference / team / git下配置git可执行文件时用 C:\msysgit\msysgit\cmd\git.exe。其他的在运行时会报错。感觉git用起来不是那么得心应手,可能对它的基本的理论还是不太清楚楚。

2013-10-06 09:26:13 1304

原创 python 模拟键盘鼠标输入

最近需要模拟键盘鼠标的输入,一番查找之后,得到的一些结果************************************************************************************************************************pyUserInput,可以模拟键盘鼠标,功能很全,用起来很方便https://gi

2013-09-25 19:33:52 9197 1

原创 ios app 上架 资料

http://www.cocoachina.com/special/fornew.htmlhttp://blog.youkuaiyun.com/workhardupc100/article/details/7436792http://irising.me/2012/02/13493/http://www.minwt.com/ios/4726.htmlhttps://develope

2013-04-13 10:49:37 875

原创 instruments的资料,内存泄漏

http://blog.youkuaiyun.com/totogo2010/article/details/8233565http://www.cnblogs.com/zilongshanren/archive/2011/08/08/2131140.htmlhttp://www.raywenderlich.com/23037/how-to-use-instruments-in-xcod

2013-04-11 09:43:34 488

原创 xcode + xvim

xcode 下用xvim,可以用很多vim的特性,用起来有如虎添翼的感觉。位置https://github.com/JugglerShu/XVim上面有安装方法,大概就是下载了编译一把。Happ vimming!

2013-04-04 16:00:43 986

转载 UIViewController的生命周期及iOS程序执行顺序

链接如下:http://blog.youkuaiyun.com/huifeidexin_1/article/details/7566226

2013-04-04 06:41:36 510

原创 ios6 自动旋转 (auto rotation)

程序中有的view需要自动旋转,其它的不需要自动旋转。之前的实现在ios5里挺好,但在ios6下不行。参考了http://stackoverflow.com/questions/12546498/ios-6-auto-rotate-confusionhttp://stackoverflow.com/questions/12553754/ios-6-auto-rotation-i

2013-04-01 18:00:10 1001

原创 potential leak of an object allocated and stored into ...

出现了标题的错误查了一通,内存管理的问题http://stackoverflow.com/questions/9286782/potential-leak-of-an-object-allocated-and-stored-into-annothttps://developer.apple.com/library/mac/#documentation/Cocoa/C

2013-03-31 20:22:01 2595

原创 iphone app 添加 icon

http://blog.sina.com.cn/s/blog_6bcba2640100uwf5.htmlhttp://blog.youkuaiyun.com/diyagoanyhacker/article/details/6158118http://developer.apple.com/library/ios/#qa/qa1686/_index.htmlhttp://bbs.applec

2013-03-29 12:10:20 626

转载 ios 6 与 ios5 的屏幕旋转

http://qk13warcraft.blog.163.com/blog/static/157549344201291585543232/

2013-03-28 15:10:50 436

转载 怎样添加到appstore的链接

见链接http://stackoverflow.com/questions/433907/how-to-link-to-apps-on-the-app-store

2013-03-27 09:28:02 630

原创 REMenu 做ios菜单,效果不错

https://github.com/romaonthego/REMenu

2013-03-26 17:53:07 853

原创 In app purchase 资料收集

http://www.raywenderlich.com/2797/introduction-to-in-app-purchases最经典,有图有代码!http://www.cnblogs.com/zilongshanren/archive/2012/01/15/2190193.html这是中译版,向作者子龙山人致敬!http://troybrant.net/blog/

2013-03-26 17:50:16 706

原创 ios rate app 资料收集

需要在App中添加 Rate the App的功能。搜了一下http://stackoverflow.com/questions/6082925/looking-for-code-to-ask-please-rate-this-apphttp://stackoverflow.com/questions/2015470/how-do-you-prompt-the-user-to-

2013-03-26 17:40:48 2217

原创 dyld: lazy symbol binding failed: Symbol not found: _objc_setProperty_nonatomic 解决

在真机上运行正常的程序在5.1的模拟器上运行出错。后来查到http://stackoverflow.com/questions/12573685/runtime-exception-after-upgrade-to-xcode4-5-ios6-base-sdk在xcode中查看project --> summary --> Deployment target, 发现设成了6

2013-03-26 17:27:58 9072

原创 In app purchase 问题解决, 使用 in app rage 例子的问题

使用in app rage 例子的代码http://www.raywenderlich.com/2797/introduction-to-in-app-purchases把例子加入自己的工程后,编译没问题,运行时总出错you've already purchased this but it hasn't downloaded.查了这个错误,发现http://st

2013-03-26 10:44:21 2215

原创 objective-c delegate 委托 代理 的理解

http://mobile.51cto.com/iphone-283416.htm这篇文章不错,例子很简单。用老板和工人的关系可以比较形象的描述delegate。老板不干直接干活,他们指挥工人干活;工人干具体的活;老板不干,但他们要知道怎么敢,于是就定出协议来描述活怎么干。这里,工人就是delegate;描述工作的协议就是protocol。

2013-03-22 21:17:41 519

原创 ios资源

代码库http://www.code4app.com/www.github.comhttp://www.cocoacontrols.com/http://www.cocoacontrols.com/apps/38-evernote#app_descriptionhttp://www.oschina.net/ios/codingList/382/ios-view-transiti

2013-03-22 21:09:49 541

原创 non arc 工程 添加 arc 代码

开始总是报错@synthesize of 'weak' property is only allowed in ARC or GC mode后来参考了http://blog.marslightstudio.com/?p=78还是不行又看了http://stackoverflow.com/questions/7780254/arc-and-weak-ibout

2013-03-21 12:11:52 4672

原创 增加Default-568h@2x.png支持iphone5

之前不知道,在iphone5上试程序,结果出现上下黑条。搜索之http://stackoverflow.com/questions/12479647/uiview-is-not-resizing-on-iphone-5-simulatorhttp://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-

2013-03-21 09:14:05 8743

原创 解决在ios5 simulator运行失败的问题 (weak linke)

运行就崩溃, 出现 某个framework 的 image not found之类的错误。搜索了一下http://stackoverflow.com/questions/1452466/suddenly-i-am-not-able-to-build-for-the-iphone-simulatorhttp://stackoverflow.com/questions/648076

2013-03-20 22:21:23 715

原创 Error launching ... failed to get the task for process ...

今天在xcode上发布测试版给朋友试试,结果出现了这个问题。答案见这里http://stackoverflow.com/questions/4720597/profile-bug-error-launching-remote-program-failed-to-get-the-task-for-process

2013-03-20 21:26:43 659

转载 Xcode 真机程序发布测试

链接http://no001.blog.51cto.com/1142339/594179很详细。

2013-03-20 21:23:24 567

转载 真机测试及布署Code Sign error问题总结

http://blog.youkuaiyun.com/wzq9706/article/details/7624079很有用,尤其是最后一个**************************************************************************************除此之外可能的情况:Code Sign error: Certific

2013-03-20 21:16:36 5613

转载 xcode改工程名

原文http://blog.youkuaiyun.com/diyagoanyhacker/article/details/6451906很简单Select the project in the Project Navigator (Cmd-1) and open the File Inspector in the right sidebar (Cmd-Opt-1). There,

2013-03-20 15:45:00 539

原创 hadoop单节点安装和设置

下载http://www.trieuvan.com/apache/hadoop/common/hadoop-1.1.1/hadoop-1.1.1-bin.tar.gz解压在.bashrc中设置HADOOP_INSTALLJAVA_HOME这时运行start-all.sh出现几个类似的错误ERROR org.apache.hadoop.hdfs.ser

2012-12-14 10:41:37 2504

原创 mac下用port安装python和opencv

macport是mac下类似ubuntu里的apt的包管理器。以下以安装python和opencv为例列举一些port的常用命令sudo port -fp uninstall installed卸载之前用port安装的软件sudo port selfupdate更新portsudo port upgrade outdated更新软件包su

2012-12-01 19:19:39 4491 1

转载 ubuntu 12.04 sun java 安装

http://jiechic.me/archives/ubuntu12-04-installing-the-java-development-environment

2012-10-09 14:08:58 369

原创 pyhton 简繁

http://code.google.com/p/opencc/http://pypi.python.org/pypi/opencc-python在centos5上装不上,所以没试现在用的是这个http://code.google.com/p/python-jianfan/wiki/DefaultWikiPage使用方便http://blog.t

2012-09-25 17:41:16 383

原创 使用difflib做name entity识别

http://stackoverflow.com/questions/4206882/named-entity-recognition-with-preset-list-of-names-for-python-php?rq=1源代码能用。通过使用difflib计算名字的相似度来进行name entity识别。

2012-09-13 14:35:28 410

原创 unoconv 备忘

unoconv -v -o ~/work/abc/ -f txt ~/work/def/*.docunoconv -v -o dst_dir -f txt src_dir/*.doc把源目录中所有的某个扩展名的文件转为目的目录中的目标文件。

2012-09-12 11:08:18 811

原创 正则表达式的资源

http://deerchao.net/tutorials/regex/regex.htm介绍的很好,不过第一遍看不全。要多看几遍。http://regexpal.com/在线检查

2012-09-04 10:30:38 264

原创 bitbucket和git

bitbucket可以用私有库,不错http://bo.moioi.com/2011/bitbucket-org-starter-guide/git的命令用途来表示,挺清楚的

2012-08-30 17:26:37 1185

转载 C/C++ Linux 程序员必须了解的 10 个工具(zt)

http://www.oschina.net/news/32307/10-things-c-c-linux-programmer-must-know备忘

2012-08-30 17:12:10 604

转载 centos 播放器 配置和解码器

http://www.ha97.com/2627.html原来的播放器很慢,装了解码器之后腰不疼了,腿不软了,跑起来利索多了。

2012-08-30 16:16:08 474

转载 centos5 amule 安装 配置

安装用yum就行配置看这个http://www.lainme.com/doku.php/blog/2010/0501_%E4%B8%8B%E8%BD%BD_amule%E9%85%8D%E7%BD%AE

2012-08-29 10:50:00 593

转载 停止sendmail服务

http://www.5dlinux.com/article/1/2007/linux_7890.htmlhttp://hi.baidu.com/codylee/item/8ac5b1b9acb494a5ebba937dsendmail太慢了。

2012-08-28 09:26:48 257

转载 centos软件安装和环境配置

http://blog.163.com/hs_admin_jsjd/blog/static/1751590352009466162542/smplayer用yum安装了

2012-08-23 16:16:40 295

原创 mysql apache和 phpadmin的一些命令

service httpd start          启动apache serverps -ef | grep httpd           查看httpd的进程,启动后会显示多行chkconfig httpd on           查看httpd服务,似乎没什么用相应的mysql的一些命令service mysqld startps -ef | gr

2012-08-23 10:04:28 394

java & xml

o'reilly出品。介绍java 和 xml,以及怎样用java对xml操作,包括创建、解析等。

2010-07-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除