1.tp driver的tpd_down()和tpd_up()函数不需要进行报告id号码。自己主动顶级赛;2.tpd_up()功能只需要报告BTN_TOUCH和mt_sync信息,其他信息未报告,如下面:static void tpd_up(int x, int y,int *count){ in....
分类:
移动开发 时间:
2015-07-06 19:20:00
阅读次数:
135
1:
- (void)viewDidLoad {
//dispatch_sync(dispatch_get_main_queue(), ^{
//NSLog(@"3");
//死锁原因
//1:dispatch_sync在等待block语句执行完成,而block语句需要在主线程里执行,所以dispatch_sync如果在主线程调用就会造...
分类:
移动开发 时间:
2015-07-06 16:14:22
阅读次数:
253
I. Project Cleanup
In the project navigator, select your projectSelect your targetRemove all libPods*.a in Linked Frameworks and Libraries
II. Update CocoaPods
Launch Terminal and go to your...
分类:
数据库 时间:
2015-07-06 00:03:12
阅读次数:
192
目前 Linux 下有一些使用 Python 语言编写的 Linux 系统监控工具 比如 inotify-sync(文件系统安全监控软件)、glances(资源监控工具)在实际工作中,Linux 系统管理员可以根据自己使用的服务器的具体情况编写一下简单实用的脚本实现对 Linux 服务器的监控。 本...
分类:
编程语言 时间:
2015-07-05 21:03:19
阅读次数:
292
sync_binlog=N:N>0—每向二进制日志文件写入N条SQL或N个事务后,则把二进制日志文件的数据刷新到磁盘上;N=0—不主动刷新二进制日志文件的数据到磁盘上,而是由操作系统决定;
分类:
其他好文 时间:
2015-07-04 16:58:38
阅读次数:
121
maven 其他镜像 repo2 central Human Readable Name for this Mirror. http://repo2.maven.org/maven2/ ...
分类:
其他好文 时间:
2015-07-04 06:14:55
阅读次数:
111
安装方式分为rpm和源码编译安装两种,本文是采用mysql源码编译方式,编译器使用Cmake。软件需要mysql-5.5.29.tar.gz和cmake-2.8.10.2.tar.gz,请自行下载。下载地址:http://mysql.mirror.kangaroot.net/Downloads/ht...
分类:
数据库 时间:
2015-07-04 00:53:06
阅读次数:
159
/** * * 一、步骤 * 首先:npm install browser-sync gulp-replace gulp-html-replace gulp-cache gulp-concat gulp-cond gulp-filter gulp-rename gulp-compass imag.....
分类:
其他好文 时间:
2015-07-03 19:02:42
阅读次数:
237
[构建高性能数据库缓存之redis主从复制][http://database.51cto.com/art/201407/444555.htm]一、什么是redis主从复制?主从复制,当用户往Master端写入数据时,通过Redis Sync机制将数据文件发送至Slave,Slave也会执行相同的操作...
分类:
其他好文 时间:
2015-07-02 01:02:18
阅读次数:
177