自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 IOSurface.h:20:36: error: IOSurface/IOSurfaceAPI.h: No such file or directory

The headers for IOSurface is not free or open source, so they are not placed here. Nevertheless, you can make a copy from Mac OS X: (1) cp /System/Library/Frameworks/IOSurface.framework/Header...

2011-11-29 09:38:37 285

原创 利用xcode生成的app生成可以在iphone和itouch上运行的ipa安装包

在编译好的真机版目录下的.app文件,至于生成真机可以运行的app的方法,有两种方式,一种是交99美元获得一个证书,另外一种是破解的方式,在此不再详述,本文假设你已经生成了真机上可以运行的app包了(app包实际上是一个文件夹)    假设此安装包的名称是 hello.app,点击右键,选择 显示包内容,这样就可以打开这个hello.app文件夹了,在此文件夹中有一个info.plist文...

2011-11-28 17:26:11 121

获取SpringBoard 头文件

1. 下载 class-dump 2. 将下载的文件copy到 /usr/bin下 3.执行以下操作   class-dump -H /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/CoreServices/SpringBoard.app/S...

2011-11-25 13:11:33 472

原创 Mac 下复制 dmg文件内的内容

最近因为要用到一个dmg格式的文件里的一个文件,所以找了很多方法 包括从windows里面找一些工具去读取dmg文件的内容,工具包括:Macdrive,UltraISO 等一些虚拟软件,均以失败而告终.   后来突发奇想,既然在mac可以直接打开dmg文件,为什么不能在mac里copy这些文件处理,所以就试了一下,果然可以. 白绕了很多弯路,汗...   Mac进行操作的步骤如下: ...

2011-11-24 09:16:57 921

原创 centos 安装rarlinux

wget http://www.rarsoft.com/rar/rarlinux-4.1.b3.tar.gz   tar -xvf rarlinux-4.1.b3.tar.gz   cd rar   make

2011-11-18 16:52:48 96

原创 LINUX下的ssh认证,不用密码登录另一台机器

两台机器: 192.168.1.135 192.168.1.113   在一台机器上运行:   ssh-keygen -d  一路回车下去,如果用root登录的话,会在 /root/.ssh目录下生成   id_dsa id_dsa.pub  文件 将 id_dsa.pub 复制成 authorized_keys ,并修改权限   cp id_dsa.pub autho...

2011-11-16 16:23:14 189

原创 centos 安装gcc,g++

  yum install gcc gcc-c++

2011-11-15 14:28:25 102

原创 yum mirrorlist

  vi /etc/yum.repos.d/CentOS-Base.repo     [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirr...

2011-11-15 14:04:51 568

原创 mac 使用 apt-get

You need fink (http://www.finkproject.org/) to get an available apt-get command.It exists also a GUI for fink (http://finkcommander.sourceforge.net/). With finkCommander you don't need to use command ...

2011-11-11 14:24:54 334

原创 iphone 截屏

  + (UIImage *)takeScreenshot:(UIView *)theView { // Use UIGraphicsBeginImageContext(CGSize size) if targetting < iOS 4.0 UIGraphicsBeginImageContextWithOptions(theView.bounds.size, N...

2011-11-10 16:10:15 102

原创 warning: implicit declaration of function 'UIGetScreenImage'

- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo { UIAlertView *alert; // Unable to save the image if (error) alert = [[U...

2011-11-10 11:11:43 139

原创 关于iphone应用后台运行

Background Execution and Multitasking In iOS 4 and later, multitasking allows apps to continue running in the background even after the user switches to another app while still preserving battery lif...

2011-11-04 11:42:10 140

空空如也

空空如也

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

TA关注的人

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