2016年4月13日
摘要:
计费点测试:(前提:deviceID必须先添加到证书文件中,然后重新安装证书) https://itunesconnect.apple.com/ 后台创建app1.功能标签页添加内购计费点 2.appstore标签页关联计费点 3.用户和职能中添加测试账号 (沙盒技术测试员) 4. 一直测试失败的情
阅读全文
posted @ 2016-04-13 18:38
kelisi_king
阅读(959)
推荐(0)
2016年3月31日
摘要:
原地址:http://bitcrank.com/blog/2012/02/07/how-to-stop-non-jailbroken-pirates-theory/ Please Note: The following is an approach I have put together to he
阅读全文
posted @ 2016-03-31 13:38
kelisi_king
阅读(254)
推荐(0)
2015年12月8日
摘要:
1.写文件:echo "内容" >> "$path/log.txt"2.判断文件是否存在if [ ! -e "$CODE_PATH" ];thenelsefi3.取时间 (http://www.cnblogs.com/mfryf/archive/2012/03/23/2413362.html)ech...
阅读全文
posted @ 2015-12-08 20:07
kelisi_king
阅读(184)
推荐(0)
2015年4月15日
摘要:
1.cocos2dx 3.0 auto batchhttp://blog.csdn.net/musicvs/article/details/282262992.Lua__index,__newindex,rawget和rawsethttp://blog.csdn.net/wangbin_jxust/...
阅读全文
posted @ 2015-04-15 14:57
kelisi_king
阅读(116)
推荐(0)
2015年3月5日
摘要:
@echo offsetlocal enabledelayedexpansion>tmp.vbs echo On Error Resume Next>>tmp.vbs echo Set jFile = CreateObject("WIA.ImageFile"):jFile.LoadFile WScr...
阅读全文
posted @ 2015-03-05 16:09
kelisi_king
阅读(1297)
推荐(0)
2015年2月4日
摘要:
http://stackoverflow.com/questions/26383926/luhn-algorithm-java 1 static boolean luhn(String pnr){ 2 // this only works if you are certain all inp...
阅读全文
posted @ 2015-02-04 14:41
kelisi_king
阅读(707)
推荐(0)
2015年1月22日
摘要:
1.NDK_ROOT :"please define NDK_ROOT"解决:在build_native.sh 中添加路径NDK_ROOT="/Users/pc/Documents/android/android-ndk-r9d"2.加密库cryptopp编译不过,错误fd_set 不认识解决:ht...
阅读全文
posted @ 2015-01-22 10:29
kelisi_king
阅读(898)
推荐(0)
2015年1月21日
摘要:
1.解压缩n Linux and Mac OS X (Darwin): Download the appropriate package from this page. Open a terminal window. Go to the directory to which you download...
阅读全文
posted @ 2015-01-21 15:54
kelisi_king
阅读(558)
推荐(0)
2013年8月29日
摘要:
subclass UIButton类 重载drawrect方法:- (void)drawRect:(CGRect)rect { // Get the Render Context CGContextRef ctx = UIGraphicsGetCurrentContext(); // Measure the font size, so the line fits the text. // Could be that "titleLabel" is something else in other classes like U...
阅读全文
posted @ 2013-08-29 20:24
kelisi_king
阅读(873)
推荐(0)
2013年8月5日
摘要:
动态替换类的方法在不能改变原有代码的情况下,提供了一种解决方法。貌似这种方法不太常用,不过记下来以备后患~。 功能:用这种方法可以给你的程序提供一些一般方法不能实现的功能。 例子:UIWebView的delegate接口提供了一个shouldStartLoadWithRequest()方法,可以通过NSURLRequest这个对象得到所要装载网页 的详情(head头信息等),但你不能修改这个对象(添加或修改你需要的HTTP请求头信息,比如:“User-Agent”字段),如果HTTP请求的对端,(比如硬件设备)需要各种特殊的头信息,将束手无策。但如果使用方法混合(Method Swizzli.
阅读全文
posted @ 2013-08-05 18:39
kelisi_king
阅读(935)
推荐(0)