解决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
header (ctype.h)Character handling functionsThis
header declares a set of functions to classify and transform individual
characters.FunctionsThese fun...
分类:
其他好文 时间:
2014-05-23 22:04:32
阅读次数:
504
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
【题目】
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially filled sudoku which is valid.
Note:
A valid Sudoku board (par...
分类:
其他好文 时间:
2014-05-22 09:58:54
阅读次数:
234
Reverse the word order in a sentence, but maintain
the character order inside a word.
分类:
其他好文 时间:
2014-05-22 03:50:14
阅读次数:
289
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
在编写Python程序时,程序中有中文时经常会出现错误信息:SyntaxError: Non-ASCII character '\xe5'
出现这种情况,可以用如下解决办法:
python的默认编码文件是用的ASCII码,你将文件存成了UTF-8,解决办法很简单,在文件开头加入如下代码:
#coding=utf-8
这就可以了。...
分类:
编程语言 时间:
2014-05-21 15:58:40
阅读次数:
240
jad支持所有内部和匿名的类4.命令行选择的列表-a-用JVM字节格式来注解输出-af-同-a,但是注解的时候用全名称-clear-清除所有的前缀-b-输出多于的括号(e.g.,if(a){b();},default:no)-d<dir>-指定输出文件的文件目录-dead-试图反编译代码的dead部分(default:no)-disass-不用..
分类:
编程语言 时间:
2014-05-21 02:33:58
阅读次数:
368
【题目】
Write a program to solve a Sudoku puzzle by filling the empty cells.
Empty cells are indicated by the character '.'.
You may assume that there will be only one unique solution.
A sudoku puzzle...
...and its solution numbers marked in red.
...
分类:
其他好文 时间:
2014-05-20 17:07:34
阅读次数:
335