- (void)GET{ // GET AFHTTPSessionManager *mgr = [AFHTTPSessionManager manager]; // 将数据作为参数传入 NSDictionary *dict = @{ @"username":@"12"...
分类:
移动开发 时间:
2015-12-22 12:53:15
阅读次数:
200
/*** CoreMotion**/#import "ViewController.h"#import // 导入框架@interface ViewController ()@property (nonatomic, strong) CMMotionManager *mgr;// 必须搞成全局的@....
分类:
其他好文 时间:
2015-09-24 12:42:06
阅读次数:
158
0×00 导言pfSense是一个基于FreeBSD,专为防火墙和路由器功能定制的开源版本。在本文中,我们将向大家介绍在pfSense的2.1.3以及更低版本中的CVE-2014-4690漏洞;对于更高的版本来说,pfSense已经修复了这个漏洞。0×01 pkg_mgr_install.php脚本...
分类:
Web程序 时间:
2015-09-23 23:15:26
阅读次数:
329
#import "ViewController.h"#import @interface ViewController ()/** 定位管理者对象 ***/@property (nonatomic, strong) CLLocationManager *mgr;@property (nonatomi...
分类:
其他好文 时间:
2015-09-21 17:55:03
阅读次数:
324
#import "ViewController.h"#import @interface ViewController ()// 定位管理对象@property (nonatomic, strong) CLLocationManager *mgr;// 指南针@property (nonatomic...
分类:
其他好文 时间:
2015-09-21 17:38:14
阅读次数:
140
#import "ViewController.h"#import @interface ViewController ()/** 1. 定位管理者对象 ***/@property (nonatomic, strong) CLLocationManager *mgr;/** 上一次的位置 ***/@...
分类:
其他好文 时间:
2015-09-21 15:36:02
阅读次数:
122
1.地图 1.获取用户的经纬度(CLLocationManager) 创建属性:CLLocationManager *mgr; 遵守协议:<CLLocationManagerDelegate> ?a>创建定位管理器 self.mgr = [[CLLocationManager alloc] init]; ?b>设置代理 se...
分类:
移动开发 时间:
2015-09-19 01:05:53
阅读次数:
662
AFN 上传文件的方法{ // 1. 创建管理者 AFHTTPRequestOperationManager *mgr = [AFHTTPRequestOperationManager manager]; // 2. 发送请求 [mgr POST:@"http://localhost/up...
分类:
Web程序 时间:
2015-09-15 10:37:57
阅读次数:
242
root@proxy squid]# cat squid.conf## Recommended minimum configuration:#visible_hostname www.jd.com #设置代理服务器名称cache_mgr 888888@163.com #设置缓存管理员邮箱acl .....
分类:
其他好文 时间:
2015-09-15 01:37:50
阅读次数:
226
##单表操作##创建表CREATE TABLE t_employee( empno INT(11), ename VARCHAR(20), job VARCHAR(40), MGR INT(11), Hiredate DATE DEFAULT '0000-00-00',...
分类:
数据库 时间:
2015-09-09 22:44:07
阅读次数:
286