摘要: 首先要注意,用自带磁盘工具合并分区,会使第二个分区的资料全部丢失,如果有东西要记得备份。打开磁盘工具后:1、从左侧的设备列表中点击磁盘。(不要选择磁盘下的宗卷)2、从右侧的操作面板上侧,点击”分区”(Partition)。如果你选的是宗卷,你将看不到分区这个标签。3、从该图示上,点击你要删除的分区,然后点击图示左下方的”-”。该分区就会被删除。4、点击”移去”,关掉提示。5、从分区图示上,向下拉动该分区右下角,使该分区占据删区后所产生的空间。或者,在右侧磁盘大小一栏输入空间数值,并回车。6、点击右下角的”应用”(Apply)。7、点击”分区”,关掉提示。8、待进度标尺走完以后,关掉磁盘工具,然 阅读全文
posted @ 2013-11-13 01:24 一个人去流浪 阅读(1852) 评论(0) 推荐(0) 编辑
摘要: MAMP 这个名字来源于MacintoshApacheMySQLPHP,显然专门用来在 Mac 环境下搭建Apache、MySQL、PHP 平台。虽然 OSX 中已经预装了 Apache 1.3.x 和 PHP 4.3.2 环境,但是启用、配置并安装整合 MySQL 仍然是一件极其复杂的工作。MAMP 的特点就是简便(从以下安装步骤即可看出),而且它不会破坏系统本身的文件,所修改、创建文件的范围仅限程序本身。系统要求:Mac OS X 10.4 (Tiger) 及以上(对于 10.3 Panther 用户可以安装 MAMP 1.4.1)安装步骤: 去官方网站下载最新版本。 打开 d... 阅读全文
posted @ 2013-11-13 00:49 一个人去流浪 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-11-12 10:54 一个人去流浪 阅读(80) 评论(0) 推荐(0) 编辑
摘要: error:None of the valid provisioning profiles include the device ** 的 iPhone (identifier: dd35b5ec31f5fa84e89ea988e7db5e6e55a8767). Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.重新生成签名后,同事的mac不能真机调试了,报的上面那个错。刚开始以为是证书错了,反复更新了几次也没结果。后来才想起来可能是,我重新生成了证书,原来 阅读全文
posted @ 2013-11-10 19:33 一个人去流浪 阅读(1514) 评论(0) 推荐(0) 编辑
摘要: xcode5证书(provisioning profile)机制有了变化,xcode5会自动生成开发证书(注意,仅有开发证书,没发布证书)还发现了一个不错的网页模板: http://www.zcool.com.cn/gfx/ZMjU1NDQ4.html 阅读全文
posted @ 2013-11-10 00:38 一个人去流浪 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Python2.7lxml. Most Linux distributions ships prepackaged versions of lxml. Otherwise refer tohttp://lxml.de/installation.htmlOpenSSL. This comes preinstalled in all operating systems except Windows (seePlatform specific installation notes)piporeasy_installPython package managershttp://doc.scrapy.or 阅读全文
posted @ 2013-11-09 18:09 一个人去流浪 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: google:delete provisioning profilehttp://stackoverflow.com/questions/18923095/delete-provisioning-profile-from-xcode-5http://stackoverflow.com/questions/18041267/provisioning-profiles-menu-item-missing-from-xcode-5 阅读全文
posted @ 2013-11-07 00:07 一个人去流浪 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 2013-08-25 11:42:18.497 BrowserOverflowT[1562:60b] *** Assertion failure in -[XCTestClassEnumerator init], /SourceCache/XCTest/XCTest-10/XCTestFramework/Classes/XCTestClassEnumerator.m:902013-08-25 11:42:18.499 BrowserOverflowT[1562:60b] *** Terminating app due to uncaught exception 'NSInternalI 阅读全文
posted @ 2013-11-05 13:30 一个人去流浪 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 下面是代码,被注释掉的是原来的代码,指定颜色不生效。NSMutableAttributedString *attriString = [[[NSMutableAttributedStringalloc] initWithString:string] autorelease]; NSRange range; range.location = 4; range.length = nameString.length; [attriString removeAttribute:(NSString *)kCTFontAttributeNamerange:range]; if ([SYSTEM_... 阅读全文
posted @ 2013-11-01 20:05 一个人去流浪 阅读(1585) 评论(0) 推荐(0) 编辑
摘要: 之前想改的时候一直没找到对应的函数,以为不能改。偶尔在stackoverflow看到了解决方式,代码如下:[[UITabBarItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"AmericanTypewriter" size:20.0f],UITextAttributeFont,[UIColor yellowColor],UITextAttributeTextColor,[UIColor redColor],UIT 阅读全文
posted @ 2013-11-01 11:51 一个人去流浪 阅读(473) 评论(0) 推荐(0) 编辑