1. 手势(触背景)关闭键盘在ViewDidLoad中调用-(void)tapBackground //在ViewDidLoad中调用{ UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:...
分类:
移动开发 时间:
2014-06-27 16:40:09
阅读次数:
186
1 SELECT 2 col.name AS 列名, 3 typ.name as 数据类型, 4 col.max_length AS 占用字节数, 5 col.precision AS 数字长度, 6 col.scale AS 小数位数, 7 col.is_nu...
分类:
数据库 时间:
2014-06-27 16:39:34
阅读次数:
291
?===================下面是最小生成树+并查集======================================【HDU】1198 Farm Irrigation并查集★(好题)1598 find the most comfortable road枚举+最小生成树★★18...
分类:
其他好文 时间:
2014-06-27 16:36:46
阅读次数:
284
JS是松散类型的语言,这一点JS的对象表现得尤为突出。那么如何来确定JS对象的具体类型呢?首先,我们可以使用typeof运算符确定其基本类型(number,object,function,undefined)。如果typeof运算符返回object我们再使用instanceof来确定该对象是否属于某...
分类:
Web程序 时间:
2014-06-27 16:35:22
阅读次数:
230
Given a triangle, find the minimum path sum from top to bottom. Each step you maymove to adjacent numbers on the row below.For example, given the fol....
分类:
其他好文 时间:
2014-06-27 16:29:58
阅读次数:
188
一、SQLite3简介 SQLite3是一款开源的嵌入式关系类型数据库, 可移植性好、易使用、内存开销小。 SQLite3是无类型的,意味着可以保持任何类型的数据到任意表任意字段。 SQLite3常用的5中数据类型: text/integer/float/boolean/blob。 二、添加库 在I...
分类:
数据库 时间:
2014-06-27 16:25:38
阅读次数:
240
Cocos2dx在3.0的版本中改动确实不少啊,所以导致原来可以在Cocos2.x版本上的demo都不能直接用,所以不得不重要写一个新的demo但是TalkingData的库一直都是可以用的,只是之前的demo不能运行。=====为了打包的大小新的Demo中没有cocos2d这个库,下载后可以cop...
分类:
其他好文 时间:
2014-06-27 16:22:24
阅读次数:
185
Action a = () => { i += 1; var timer = new System.Timers.Timer(800) { Interval = 600 }; ...
分类:
其他好文 时间:
2014-06-27 16:13:15
阅读次数:
234
ubuntu系统下wireshark普通用户抓包设置dumpcap需要root权限才能使用的,以普通用户打开Wireshark,Wireshark当然没有权限使用dumpcap进行截取封包sudo wireshark但是,以sudo的方式用root打开Wireshark显然是不安全的,也不是很方便,...
分类:
其他好文 时间:
2014-06-27 16:02:16
阅读次数:
303
String filePath="src/cn/ac/iscas/pebble/ufe/conf/id.properties"; InputStream in = new BufferedInputStream(new FileInputStream(f...
分类:
编程语言 时间:
2014-06-27 16:00:15
阅读次数:
228