1、创建项目
2、添加target watchApp
3、调试
4、解决bug
5、 搭建界面
6、链接button点击事件
7 、iphoneApp与watchApp交互...
分类:
其他 时间:
2015-07-24 14:21:01
收藏:
0 评论:
0 赞:
0 阅读:
184
画板乐效果图页面代码public class ActionerView extends View {
private Paint mPaint = new Paint();
private Path mPath = new Path();//手指滑动路径
private Canvas mCanvas;//缓存画布
private Bitmap mBitmap;//缓存...
分类:
其他 时间:
2015-07-24 14:20:42
收藏:
0 评论:
0 赞:
0 阅读:
289
MAT(Memory Analyzer Tool) 是基于heap dumps来进行分析的,所以首先必须通过一定的手段得到JAVA堆的DUMP文件。JDK自带的。JConsole 或者 JMAP都是不错的工具。...
分类:
系统服务 时间:
2015-07-24 14:20:31
收藏:
0 评论:
0 赞:
0 阅读:
202
Rebuilding Roads
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 9957
Accepted: 4537
Description
The cows have reconstructed Farmer John's farm, with its N...
分类:
其他 时间:
2015-07-24 14:20:21
收藏:
0 评论:
0 赞:
0 阅读:
155
qt QLineEdit 左侧带自定义图标类, 分享给大家....
分类:
其他 时间:
2015-07-24 14:20:11
收藏:
0 评论:
0 赞:
0 阅读:
2340
Union因为要进行重复值扫描,所以效率低。如果合并没有刻意要删除重复行,那么就使用Union All
两个要联合的SQL语句 字段个数必须一样,而且字段类型要“相容”(一致);
如果我们需要将两个select语句的结果作为一个整体显示出来,我们就需要用到union或者union all关键字。union(或称为联合)的作用是将多个结果合并在一起显示出来。
union和union ...
分类:
数据库技术 时间:
2015-07-24 14:20:02
收藏:
0 评论:
0 赞:
0 阅读:
168
Optimal Array Multiplication Sequence
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit Status Practice UVA 348
Appoint description:Description
Download as PDFGiven two...
分类:
其他 时间:
2015-07-24 14:19:52
收藏:
0 评论:
0 赞:
0 阅读:
687
//变量声明
i := 10; //直接声明并赋值
j := 100;
i,j=j,i //变换i,j的值
fmt.Printf("i=%d j=%d\n",i,j)//格式化输了
fmt.Println("i=",i);//不能使用%d等
var a int
var b [10]int
var c []int //数组切片,相当于vector可变数组
var s str...
分类:
编程语言 时间:
2015-07-24 14:19:32
收藏:
0 评论:
0 赞:
0 阅读:
236
CD
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit Status Practice UVA 624
Appoint description:Description
Download as PDFYou have a long drive by car ahead. You have...
分类:
其他 时间:
2015-07-24 14:19:21
收藏:
0 评论:
0 赞:
0 阅读:
179
SYN攻击的应对措施
针对SYN攻击的几个环节,提出相应的处理方法:
方式1:减少SYN-ACK数据包的重发次数(默认是5次):
sysctl -w net.ipv4.tcp_synack_retries=3
sysctl -w net.ipv4.tcp_syn_retries=3
方式2:使用SYN Cookie技术:
sysctl -w net.ipv4.tcp_syn...
分类:
其他 时间:
2015-07-24 14:19:11
收藏:
0 评论:
0 赞:
0 阅读:
233
选择器:是一种变量的类型,用于存储方法,类似于C语言的函数指针
作用:用于UI控件的点击事件
新建一个Dog的类
在Dog.m中写两个方法
#import "Dog.h"
@implementation Dog
- (void)bark{
NSLog(@"狗在叫");
}
- (void)barkToPeople:(NSString *)name{...
分类:
其他 时间:
2015-07-24 14:19:01
收藏:
0 评论:
0 赞:
0 阅读:
371
LUCIFER - LUCIFER Number
no tags
Lucifer is the only human whi has defeated RA-ONE in a computer game ..
RA-One is after lucifer for revenge and G-One is there to protect him ...
All th...
分类:
其他 时间:
2015-07-24 14:18:54
收藏:
0 评论:
0 赞:
0 阅读:
311
代码里中文显示正常,真机运行后中文显示乱码,解决办法:
build.gradle中添加一句android {
compileOptions.encoding = "GBK"
}...
分类:
移动平台 时间:
2015-07-24 14:18:41
收藏:
0 评论:
0 赞:
0 阅读:
417
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=5308
题面:
I Wanna Become A 24-Point Master
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submis...
分类:
其他 时间:
2015-07-24 14:18:31
收藏:
0 评论:
0 赞:
0 阅读:
160
用 Arduino Uno 给 Arduino Mini(Pro)烧录程序准备
Arduino Uno
Arduino Mini(Pro)
杜邦线若干
接线
首先去掉 Arduino 上的芯片ATMEGA328P
接线Uno —– Mini
0(RX) – 0(RX)
1(TX) – 1(TX)
VCC —- VCC
GND —- GND
RESET – RST
刷入程序将 Arduino...
分类:
其他 时间:
2015-07-24 14:18:01
收藏:
0 评论:
0 赞:
0 阅读:
614
iOS Sprite Kit教程之申请和下载证书...
分类:
移动平台 时间:
2015-07-24 14:17:51
收藏:
0 评论:
0 赞:
0 阅读:
177
参考自http://geuz.org/gmsh/doc/texinfo/gmsh.html#MSH-binary-file-format
$MeshFormat
version-number file-type data-size
$EndMeshFormat
$PhysicalNames
number-of-names
physical-dimension physical-number ...
分类:
其他 时间:
2015-07-24 14:17:31
收藏:
0 评论:
0 赞:
0 阅读:
291
首先在官网上下载vnc源码,下载的是unix版本的,也可以通过下边的链接下载
http://download.csdn.net/detail/guoqianqian5812/8929377 版本4.1.3
http://download.csdn.net/detail/guoqianqian5812/8929387 版本4.0
在编译的时候要学会看README,上面会交给我们编译的方法
我编译的是版本4.1.3的
通过看README我知道首先编common这个文件夹下的东西,然后再编unix下的
进入...
分类:
系统服务 时间:
2015-07-24 14:17:21
收藏:
0 评论:
0 赞:
0 阅读:
254