http://www.cppblog.com/sleepwom/archive/2010/07/08/119746.html一、X.509数字证书的编码X.509证书的结构是用ASN1(Abstract
Syntax Notation One)进行描述数据结构,并使用ASN1语法进行编码。ASN1采...
分类:
其他好文 时间:
2014-05-27 02:51:56
阅读次数:
335
1.使用visudo来配置,因为visudo在配置完毕后,会检查是否有语法错误.2.配置格式:授权账号
授权账号所在hostname=(可切换的账号)
可执行的命令command(如果是具体命令,最好使用绝对路径)例如:无论Tom在哪个地方登陆,都可以替换为任何账号来执行命令.Tom All=(Al...
分类:
系统相关 时间:
2014-05-19 17:01:29
阅读次数:
346
Combination Sum IGiven a set of candidate
numbers (C) and a target number (T), find all unique combinations in C where the
candidate numbers sums to T...
分类:
其他好文 时间:
2014-05-19 16:41:14
阅读次数:
269
About Self-Signed Certificates
自签证书。一个SSL证书,是加密网站的信息,并创建更安全的链接的一种方式。附加地,证书可以给网站浏览者显示VPS的的身份证明信息。如果一个SSC没有第三方证实,那么证书作者可以发行SSL证书,用以验证虚拟服务器的细节。
Step One-...
分类:
其他好文 时间:
2014-05-19 15:53:09
阅读次数:
262
As we all know,Coach Gaois a talented chef,
because he is able to cookMdishes in the same time. Tonight he is going to have
a hearty dinner with his g...
分类:
其他好文 时间:
2014-05-19 15:23:53
阅读次数:
272
all函数:当矩阵全为非零元素时返回1,否则(存在零元素),返回0;
any函数:当矩阵中存在非零元素时返回1,否则(全为零元素),返回0。 如果A是一个向量,所有的元素都是非零的,则返回1,如果有一个元素为零,则返回0
如果A是一个矩阵,则返回一个行向量,用于检测每一列是否全...
分类:
其他好文 时间:
2014-05-19 14:04:59
阅读次数:
228
DescriptionIn order to get from one of the F (1
2 and 1 –> 6 –> 5 –> 21 – 4: 1 –> 2 –> 3 –> 4 and 1 –> 6
–> 5 –> 43 – 7: 3 –> 4 –> 7 and 3 –> 2 –> 5 ....
分类:
其他好文 时间:
2014-05-19 12:43:06
阅读次数:
200
【题目】
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution.
For example, given array S = {...
分类:
其他好文 时间:
2014-05-18 10:37:57
阅读次数:
269
【题目】
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target.
Note:
Elements in a quadruplet (a,b,c,d) must be in non-descending ord...
分类:
其他好文 时间:
2014-05-18 08:46:04
阅读次数:
227
【题目】
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) must be in non-descending order. (ie, a ≤ b ≤ c)
The so...
分类:
其他好文 时间:
2014-05-18 03:15:50
阅读次数:
287