- 博客(21)
- 资源 (7)
- 收藏
- 关注
原创 GameCenter登录代码
static BOOL g_isGameCenterInit = NO;#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] \compare:v options:NSNumericSearch] == NSOrderedAscending)- (void)authenticateLoca
2013-08-24 17:33:16 6815 1
原创 ios错误日志分析
将产生错误日志的App的.app和.dSYM复制到某个指定目录控制台进入目录分别输入:dwarfdump --uuid YourApp.app和warfdump --uuid YourApp.app.dSYM查看UUID是否与日志上的UUID一致解释内存地址Thread 0 Crashed:0 libobjc.A.dylib 0x00
2013-08-23 11:08:51 2579
原创 IOS崩溃日志
1.普通崩溃日志// 1: 进程信息Incident Identifier: 30E46451-53FD-4965-896A-457FC11AD05F // 崩溃报告的唯一标识符// 是与设备标识相对应的唯一键值。虽然它不是真正的设备标识符,// 但也是一个非常有用的情报:如果你看到100个崩溃日志的CrashReporter Key值都是相同的,// 或者只有少数几个不同的Cras
2013-08-21 18:27:17 5294
转载 iOS应用崩溃日志揭秘
转自 http://www.raywenderlich.com/zh-hans/30818/ios应用崩溃日志揭秘http://blog.csdn.net/cuiweijie3/article/details/8778198本文作者是 Soheil Moayedi Azarpour, 他是一名独立iOS开发者。作为一名应用开发者,你是否有过如下经历?
2013-08-21 18:22:03 2165
转载 【iOS-iap防护】验证用户付费收据!拒绝iap Cracker!拒绝iap Free!让iphone越狱用户无从下手!【2012年5月2日更新防护iap Free的方法】
http://blog.csdn.net/xiaominghimi/article/details/7439720
2013-08-19 18:32:33 910
原创 Git 命令
git reset --hard FETCH_HEAD将本地的冲突文件冲掉,不仅需要reset到MERGE-HEAD或者HEAD,还需要--hard。没有后面的hard,不会冲掉本地工作区。只会冲掉stage区。此命令有可能将本地修改内容还原为与服务器相同,所以最好做备份
2013-08-16 14:48:53 668
转载 Git分支管理策略
原文:http://www.ruanyifeng.com/blog/2012/07/git.html如果你严肃对待编程,就必定会使用"版本管理系统"(Version Control System)。眼下最流行的"版本管理系统",非Git莫属。相比同类软件,Git有很多优点。其中很显著的一点,就是版本的分支(branch)和合并(merge)十分方便。有些传统的版本管
2013-08-16 14:21:24 696
转载 SQLite 入门教程(三)好多约束 Constraints
原文:http://www.cnblogs.com/myqiao/archive/2011/07/13/2105550.html一、约束 Constraints在上一篇随笔的结尾,我提到了约束, 但是在那里我把它翻译成了限定符,不太准确,这里先更正一下,应该翻译成约束更贴切一点。 那么什么是约束呢?我们在数据库中存储数据的时候,有一些数据有明显的约束条件。 比如一所学校关于教师的数据表
2013-08-14 11:41:35 3899
转载 讨人喜欢的 MySQL replace into 用法(insert into 的增强版)
原文:http://blog.csdn.net/sahusoft/article/details/4446877在向表中插入数据的时候,经常遇到这样的情况:1. 首先判断数据是否存在; 2. 如果不存在,则插入;3.如果存在,则更新。在 SQL Server 中可以这样处理: if not exists (select 1 from t where id = 1)
2013-08-14 11:03:15 1303
转载 Sqlite判断字段存在
判断表存在的方法很简单,网上很多:SELECT COUNT(*) FROM sqlite_master where type='table' and name='%s'" % tname; 那么判断字段是否存在, 或者说如何判断表的版本是否最新就只需要:select * from sqlite_master where tbl_name='tblContactLis
2013-08-12 15:42:53 7307
转载 git clone权限被拒绝
1 前提:已安装ssh2 检查SSH公钥cd ~/.ssh看看存不存在.ssh,如果存在的话,掠过下一步;不存在的请看下一步3 生成SSH公钥$ ssh-keygen -t rsa -C "your_email@youremail.com" # Creates a new ssh key using the provided email Generati
2013-08-09 21:26:43 18420
转载 Linux chmod 命令参数角释
原文:http://zhidao.baidu.com/question/308923445.htmlchmod是Linux下设置文件权限的命令,后面的数字表示不同用户或用户组的权限。一般是三个数字:第一个数字表示文件所有者的权限第二个数字表示与文件所有者同属一个用户组的其他用户的权限第三个数字表示其它用户组的权限。权限分为三种:读(r=4),写(w=2),执行(x=1)。综
2013-08-09 09:34:41 697
转载 TortoiseGit拉代码需要密码解决方法
原文:http://blog.csdn.net/xuechongyang/article/details/83487351.$ ssh-keygen -t rsa(注意ssh-keygen中间没有空格)2. Git生成id_rsa和id_rsa.pub后,需要用TortiseGit的puttyGen工具把Git生成的private key(id_rsa)重新保存成.
2013-08-08 10:57:45 5963
转载 Ubuntu中Git服务器搭建
http://blog.csdn.net/ice520301/article/details/6142503git服务器搭建过程参考网上资料搭建git服务器过程记录 如下:需求硬件需求:一台Ubuntu或者debian电脑(虚拟机),能通过网络访问到。软件需求:git-core, gitosis, openssh-server, openssh-clie
2013-08-06 17:40:09 822
原创 JIRA 5.0.4安装异常(Ubuntu Server)
日志文件:jira_data\logs\atlassian-jira.log如何在google搜索jira XXXjava.lang.RuntimeException: Probable fatal error:No fonts found.字体相关什么的:# java -version 查看JDK如果是OpenJDK#sudo apt-get install ttf-
2013-08-06 14:07:35 1190
转载 MySQL创建用户与授权
原文:http://zhidao.zgsj.com/article/6/201185171539.shtml一, 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明:username - 你将创建的用户名, host - 指定该用户在哪个主机上可以登陆,如果是本地用户可用
2013-08-06 10:59:48 728
原创 cocos2d 在一个面板上居中摆放多个图标
float offsetX = panel.contentSize.width * 0.8f / 6.0f; // 放六个float len = offsetX * itemList.count;CGPoint pt = ccp(panel.contentSize.width * 0.5f, panel.contentSize.height * 0.5f);pt.x -= len * 0.5
2013-08-03 14:37:39 1176
转载 iOS唯一标示符引导
原文unique Identifier即将退出,苹果给了我们Vendor和Advertising identifier两个选择,但应该用哪一个?文档并没有给出确切答案,具体使用哪个完全由你根据自己app的目的来决定。“”阅读器 在2013年3月21日苹果已经通知开发者,从2013年5月1日起,访
2013-08-03 10:05:10 845
转载 .net学科-杨中科-Unity3D视频教程
杨中科老师,CSDN学生大本营2009年度十佳老师。曾任职于微软中国、金蝶软件等知名IT企业。撰写了《自己动手写开发工具》、《程序员的SQL学习笔记》等技术图书。主导了金蝶EAS湖南烟草局SCM系统、字符终端图形库AHA3及开发工具AHAIDE、上海浦东发展银行图形前端等项目的开发,并且在中国工商银行批量平台、集中监控运维系统(部署于中国工商银行、中国农业银行、交通银行、北京银行、深圳发展银行等大
2013-08-03 01:33:21 2255
转载 iPhone开发 判断当前的网络是3g还是wifi
原文鉴客 发布于 2012年03月05日 14时, 0评/260阅 0人收藏此代码, 我要收藏顶0踩1.添加framework: 将SystemConfiguration.framework 添加进工程。 2.下载 https://developer.apple.com/library/ios/samplecode/Reachabilit
2013-08-02 10:47:06 979
Xcode OpenGL ES模板
2015-12-25
ImageMagick图片批量处理
2013-02-27
Win32 控制台中使用 MFC.zip
2012-06-02
在控制台中使用MFC.zip
2012-06-02
iphone加速器_demo_倾斜
2012-04-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人