头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error
必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define
DEFAULT_PASSCODE @...
分类:
移动开发 时间:
2014-04-28 18:15:07
阅读次数:
684
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:25:33
阅读次数:
629
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:19:46
阅读次数:
596
PHP里做一般的获取内容时,用自带的file_get_contents()函数基本就足够了。当然,这个函数只能抓一些简单的数据,如果是遇到需要登录的页面,就不行了,而且效率及稳定性也不是很强。所以要是有特殊需求的话,还是用curl吧。不仅仅速度快,而且非常稳定,基本上用curl抓取失败的几率很小。而...
分类:
Web程序 时间:
2014-04-28 16:28:42
阅读次数:
763
--->12\n%@", [[NSString
stringWithUTF8String:__FILE__] lastPathComponent],__LINE__,__PRETTY_FUNCTION__ ,
[NSString stringWithFormat:(s), ##__VA_ARGS__...
分类:
移动开发 时间:
2014-04-28 15:19:16
阅读次数:
579
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 15:11:25
阅读次数:
656
1.项目中遇到drawRect来渲染中文,但是调用CGContextShowTextAtPoint方法失败,于是查了些资料整理总结一下2.既然apple能显示中文,那么自然也是支持中文的。查看所有字体:NSArray
*fontFamilies = [UIFontfamilyNames];for(N...
分类:
移动开发 时间:
2014-04-28 13:52:50
阅读次数:
550
一.来源1:
http://www.cnblogs.com/chenshaoyi/archive/2012/01/12/2320729.html-------------------------------------------------PHP有三种方法可以模拟POST提交,分别为curl、so...
分类:
Web程序 时间:
2014-04-27 23:38:01
阅读次数:
589
push
服务器证书钥匙串:登入--》证书,选项里面导出证书命名为cert.p12,跟密钥命名为key.p12需要将上面的2个.p12文件转成.pem格式:openssl
pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12openssl pkcs12...
分类:
移动开发 时间:
2014-04-27 23:12:13
阅读次数:
749
PHP数据库以下是PHP数据库的代码:学生管理系统名字: 性别: 年龄: 电话: 住址:
里面主要是以 POST 以及 灵活运用PHPMYAMMIN 软件 和 添加表 和数据 ()到数据库 和 删除 表 ($sql = "delete from
`message` where i...
分类:
Web程序 时间:
2014-04-27 23:04:15
阅读次数:
644