12 2011 档案
摘要:This site Web Certificate Formats - X.509, DER and PEM Part: 1 2 3 Certificate standard and file encodings seem to be confusing. I wrote down some notes about: What is X.509 Certificate Standard?PEM (Privacy Enhanced Mail) EncodingDER (Distinguished Encoding Rules) Encoding"keytool" Exp...
阅读全文
摘要:python 编写server的步骤:1、第一步是创建socket对象。调用socket构造函数。如:socket = socket.socket( family, type )family参数代表地址家族,可为AF_INET或AF_UNIX。AF_INET家族包括Internet地址,AF_UNIX家族用于同一台机器上的进程间通信。type参数代表套接字类型,可为SOCK_STREAM(流套接字)和SOCK_DGRAM(数据报套接字)。2、第二步是将socket绑定到指定地址。这是通过socket对象的bind方法来实现的:socket.bind( address )由AF_INET所创建的
阅读全文
摘要:How do I obtain a Digital Certificate from my Certificate Authority (CA)? This article will describe the 2 most popular methods for obtaining a Digital Certificate from your online Certificate Authority (or CA). I will not elaborate on the reasons for doing so, and if you feel uncomfortable about th
阅读全文
摘要:Using OpenSSL Utilities An openssl command line takes the following form: openssl utility arguments For example: openssl x509 -in OrbixCA -text Each command is individually described in this appendix. To get a list of the arguments associated with a particular command, use the -help option as follow
阅读全文
摘要:In previous tutorials, I learned how to view an HTTPS server certificate and its certificate path. Now I want to learn how to save a server certificate to a certificate file. 1. Run Firefox 3 and go to https://login.yahoo.com. 2. Click the lock icon at bottom right corner of the browser window. The
阅读全文
摘要:http://www.cnblogs.com/huangcong/archis.strip() .lstrip() .rstrip(',') 去空格及特殊符号复制字符串Python1#strcpy(sStr1,sStr2)2sStr1 = 'strcpy'3sStr2 = sStr14sStr1 = 'strcpy2'5print sStr2连接字符串Python1#strcat(sStr1,sStr2)2sStr1 = 'strcat'3sStr2 = 'append'4sStr1 += sStr25print
阅读全文
摘要:Python 截取字符串使用 变量[头下标:尾下标],就可以截取相应的字符串,其中下标是从0开始算起,可以是正数或负数,下标可以为空表示取到头或尾。# 例1:字符串截取str = '12345678'print str[0:1]>> 1 # 输出str位置0开始到位置1以前的字符print str[1:6] >> 23456 # 输出str位置1开始到位置6以前的字符num = 18str = '0000' + str(num) # 合并字符串print str[-5:] # 输出字符串右5位>> 00018 Python 替
阅读全文
摘要:C虽说C语言在内存管理方面存在严重的缺陷,不过它还是在某些应用领域里称王称霸。对于那些要求最高的效率,良好的实时性,或者与操作系统内核紧密关联的程序来说,C仍然是很好的选择。C良好的可移植性也为它加了分。不过现在很多其他的语言可移植性越来越好,C在这方面的优势可能会逐渐丧失。现有的很多程序可以产生非常棒的C代码,比如语法分析器、GUI Builder等,这时候C语言也是有吸引力的,因为你所需要编写的代码只是整个程序的一小部分。再有,我们当然应该认识道,C语言对于程序员来说具有无可替代的价值。就我这里讨论的每一种语言而论,只要你发掘的足够深,到最后你会看到它们的内核都是用纯正的、可移植的C写成.
阅读全文
摘要:AARON(希伯来)启发的意思,AARON被描绘为不高但英俊的男人,诚实刻苦具有责任感,是个有效率个性沉静的领导者。ABEL(希伯来)"呼吸"的意思,为ABELARD的简写,大部份的人认为ABEL是高大,强壮的运动员,能干,独立,又聪明。有些人则认为ABEL是瘦小,温顺的男孩。ABRAHAM原为希伯来文,意为"民族之父"。后来,它演变成"万物之父"的意思。大多数人将ABRAHAM形容为高大壮硕留着胡子的领袖,诚实,庄严,聪明,像亚伯拉翰林肯总统一样ADAM(希伯来),红土制造的意思。据说上帝用红土造人,而亚当是祂造出的第一个人。 AD
阅读全文
摘要:LDAP: 389LDAPS: 636DNS:53AD复制时指定静态端口:HKEY_LOCAL_MACHINE/SYSTEM/CURRENTcONTROLSet\Services\ntds\paramters添加一个:TCP/IP Port Reg-DWord 56789或是:(2008前)RCP TCP/IP Port Assignment Reg-DWord 345678命令绑定:DFSKDIAG StaticRPC /Port:345678windows ServeBackupHKLM/System/CurrentControlSet/Services/Wbengine/SystemSt
阅读全文
摘要:How do I install Active Directory on my Windows Server 2003 server?by Daniel Petri - January 8, 2009 Printer Friendly Version First make sure you read and understand Active Directory Installation Requirements. If you don't comply with all the requirements of that article you will not be able to
阅读全文
摘要:Google精心设计了招聘流程,以招徕全球范围内那些最适合于Google的有能力、有创造力并且有协作精神的员工。Google的文化是不一样的,你会注意到那就像是校园文化。虽然不是每个人都喜欢,但是这种文化的确显著地帮助了Google,以至于文化适应对于员工来说是如此重要。人们都觉得Google的招聘流程很神秘,甚至存在一些误解,因此,本文提供了一些关于Google招聘流程的介绍,更重要的是,我们将解释设计这些流程的原因。 Google每年会收到超过100万份简历,并依据当时的经济情况,从中招聘1000-4000人。也就是说,每年只有不到0.5%的应聘者会最终得到工作。仍然有很多在目前工作上..
阅读全文