证书主要的文件类型和协议有: PEM、DER、PFX、JKS、KDB、CER、KEY、CSR、CRT、CRL、OCSP、SCEP等。PEM– Openssl使用 PEM(Privacy Enhanced Mail)格式来存放各种信息,它是 openssl 默认采用的信息存放方式。Openssl 中的...
分类:
其他好文 时间:
2014-07-16 19:02:20
阅读次数:
231
// 1.键-值观察// 2.它提供一种机制,当指定的对象的属性被修改后,则对象就会接受到通知。// 3.符合KVC(Key-ValuedCoding)机制的对象才可以使用KVO// 4.实现过程// ①注册,指定被观察者// ②实现回调方法// ③移除观察- (void)viewDidLoad{[...
分类:
其他好文 时间:
2014-07-16 18:59:45
阅读次数:
194
新建StudentScore表:CREATE TABLE [dbo].[StudentScore]( [ID] [int] IDENTITY(1,1) NOT NULL PRIMARY KEY, [StudentCard] [varchar](50) NOT NULL, [Stud...
分类:
其他好文 时间:
2014-07-16 18:41:18
阅读次数:
262
练习一:设有成绩表stu如下:姓名科目成绩张三数学90张三语文50张三地理40李四语文55李四政治45王五政治30王五数学70试查询两门及两门以上不及格同学的平均分解答如下1.创建数据表create table stu(id int primary key auto_increment,name c...
分类:
数据库 时间:
2014-07-16 18:24:57
阅读次数:
262
问题描述:给定序列A,输出序列A‘,要求A’中各元素的位置随机化1.构造一个随机数组,使用该数组元素作为key排序数组A1 SHUFFLE(A)2 n = length of A3 create array R[n]4 for i = 0, n-15 R[i]...
分类:
其他好文 时间:
2014-07-16 18:07:36
阅读次数:
190
http://poj.org/problem?id=2935Basic Wall MazeTime Limit:1000MSMemory Limit:65536KTotal Submissions:2794Accepted:1271Special JudgeDescriptionIn this pr...
分类:
其他好文 时间:
2014-07-16 17:49:50
阅读次数:
287
在你解析一个Document之后可能想修改其中的某些属性值,然后再保存到磁盘或都输出到前台页面。可以使用属性设置方法Element.attr(String key, String value), 和Elements.attr(String key, String value).假如你需要修改一个元素...
分类:
Web程序 时间:
2014-07-16 17:47:50
阅读次数:
307
If you use a dictionary in a for statement, it traverses the keys of the dictionary. For example, print_hist prints each key and the corresponding val...
分类:
其他好文 时间:
2014-07-15 23:43:56
阅读次数:
527
我们在做多个字段模糊查询时,是不是觉得非常麻烦?比如我要模糊查询某表多个字段存在某数据时,如下select * from table where a like '%key%' or b like '%key%'orc like '%key%'..........上面的语句不但长,而且写起来好麻烦。我...
分类:
其他好文 时间:
2014-07-15 10:09:51
阅读次数:
231
This is really classic searching problem to solve. The key is pruning.(My reference:http://blog.csdn.net/lyy289065406/article/details/6647960)There ar...
分类:
其他好文 时间:
2014-07-15 10:04:36
阅读次数:
221