route命令显示或者修改本地IP路由表。语法:[plain]route [-CFvnee]
route [-v] [-A family] add [-net|-host] target [netmask Nm] [gw Gw] [metric N]
[mss M] [windowW] [ir...
分类:
系统相关 时间:
2014-05-26 22:53:47
阅读次数:
520
NSTimer的使用方法1、初始化+ (NSTimer
*)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget
selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)...
分类:
其他好文 时间:
2014-05-23 07:01:44
阅读次数:
224
<div id="ad"
style="position:absolute"><a href="http://www.cnblog.com/wayne173"
target="_blank"><img src="http://static.cnblogs.com/ima...
分类:
Web程序 时间:
2014-05-23 06:58:38
阅读次数:
330
type:事件的类型,如onlick中的click;srcElement/target:事件源,就是发生事件的元素;button:声明被按下的鼠标键,整数,1代表左键,2代表右键,4代表中键,如果按下多个键,酒把这些值加起来,所以3就代表左右键同时按下;(firefox中
0代表左键,1代表中间键,...
Given an arraySofnintegers, find three integers
inSsuch that the sum is closest to a given number, target. Return the sum of the
three integers. You m...
分类:
其他好文 时间:
2014-05-23 03:21:10
阅读次数:
287
1.编译时出现No rule to make target
错误,尝试删除XXX/proj.android/obj/local/armeabi/objs这个文件夹。2.android.mk正确写法LOCAL_PATH
:= $(call my-dir)include $(CLEAR_VARS)LOC...
分类:
移动开发 时间:
2014-05-21 22:59:16
阅读次数:
374
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
【题目】
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
Note:
All numbers (including target) w...
分类:
其他好文 时间:
2014-05-21 15:21:28
阅读次数:
292
Installing in iOS (Xcode 5)
1:首先你要有一个项目。LOL
2:添加一个新的测试target。(关于Target是什么,请参考我的另外一篇文章)最新版Xcode 将Add Target放在顶部栏
3:选择新的target的类型
4:将GHUnit框架放到新建的target中
5:打开Objective-C categories,...
分类:
移动开发 时间:
2014-05-21 07:49:12
阅读次数:
399
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230