解决linux ping: unknown host
www.baidu.com转载网址:http://www.kankanews.com/ICkengine/archives/48417.shtml解决方案:如果某台Linux服务器ping不通域名,
如下提示:[root@localhost~]#...
分类:
系统相关 时间:
2014-05-23 23:38:57
阅读次数:
747
1.注册通知[NSNotificationCenter defaultCenter]
addObserver:self selector:@selector(notify) name:@"myNotify"
object:nil];-(void)notify{ NSLog(@"notify");}....
分类:
移动开发 时间:
2014-05-23 10:02:56
阅读次数:
306
Android 项目开发的时候
出现:
Description
Resource Path
Location Type
Unknown error: java.lang.NullPointerException
出现的原因:
是因为,我在导入外部项目的时候,没有添加依赖包(appcompat-V7;appcompat_v7_3)。
解决方案:
将 这两...
分类:
编程语言 时间:
2014-05-22 13:23:28
阅读次数:
327
【题目】
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to search. If found in the array return its index, otherwise return -1.
You may assume no du...
分类:
其他好文 时间:
2014-05-22 10:43:12
阅读次数:
310
1、初始化+ (NSTimer
*)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget
selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;+ (N...
分类:
移动开发 时间:
2014-05-22 05:38:01
阅读次数:
320
1.set in /etc/Muttrc file these setings:set
realname="Ashok Kumar"set from="Ashok.Kumar@unknown.domain"set use_from=yes2.
use exportexport EMAIL=sende...
分类:
其他好文 时间:
2014-05-22 03:41:17
阅读次数:
214
在一个RadioGroup组中假如有三个或者以上的RadioButton,当然你需要给这些RadioButton设置selector。设置其中的一个为默认选中状态(在xml中设置)。当程序在手机上运行时你会发现,那个设置默认选中的RadioButton总是被选中的。那么怎样解决它呢?办法:既然在xm...
分类:
移动开发 时间:
2014-05-22 03:27:11
阅读次数:
262
jQuery 是一个JavaScript函数库特性:HTML元素选取 HTML元素操作 CSS操作
HTML事件函数 JavaScript特效和动画 HTML DOM遍历和修改 AJAX Utilities 标签引用:
jQuery基础语法:$(selector).action()实...
分类:
Web程序 时间:
2014-05-21 22:11:03
阅读次数:
370
Search in Rotated Sorted Array ISuppose a
sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5
6 7 might become 4 5 6 7 0 ...
分类:
其他好文 时间:
2014-05-19 12:30:00
阅读次数:
388
1、初始化
+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;
+ (NSTimer *)scheduledTimerWithTimeInterval:(NSTim...
分类:
移动开发 时间:
2014-05-18 08:52:17
阅读次数:
327