最近一个项目中用到了https的请求,在实际调用过程中发现之前的http方法不支持https,调用一直报错。 查询了一下,添加几行代码解决问题。 public string HttpPost(string Url, string postDataStr, string useragent = nul ...
分类:
Web程序 时间:
2019-07-22 15:06:33
阅读次数:
205
下面的函数返回elems的地址。可以返回静态对象的地址 通过去读取vector的返回值可以实现减少计算工作量的方法。cout << elem[0][in] <<" ";这个用法一定要注意,试了很就才发现。elem是一个向量指针,这个指针指向某一个向量的,因此类似于c语言中一个指针指向二位数组。 ...
分类:
其他好文 时间:
2019-07-21 16:35:12
阅读次数:
103
Tired of doing the same job? Get your hands on 200-401 exam It is the nature of the human being that he/she will get tired of doing the same task over ...
分类:
其他好文 时间:
2019-07-20 19:53:51
阅读次数:
122
目标是生成服务器证书(证书链是 )。在win10安装OpenSSL Win64测试如下: 生成根 p12格式证书可以看成是一个有密码的压缩包,里面包含两个文件(cer证书和私钥)。 生成"ca根 abc" 想生成图中有长链的证书,但是一直没成功 参考 "openssl生成证书链多级证书" —— 没试 ...
分类:
其他好文 时间:
2019-07-20 13:06:32
阅读次数:
108
正确的要这样的: public int update(String ceratedate); <update id="update" parameterType="String"> update table set ceratedate=to_date(#{ceratedate},'yyyy-mm- ...
分类:
数据库 时间:
2019-07-19 09:23:08
阅读次数:
174
Tired of doing the same job? Get your hands on ACMP_6.4 exam It is the nature of the human being that he/she will get tired of doing the same task ove ...
分类:
其他好文 时间:
2019-07-18 15:08:01
阅读次数:
89
Tired of doing the same job? Get your hands on CFE exam It is the nature of the human being that he/she will get tired of doing the same task over and ...
分类:
其他好文 时间:
2019-07-15 21:25:28
阅读次数:
118
OSPF协议:1、链路状态型的路由协议特点:所有路由器上对全网的拓扑都了解,即每台路由器收到的信息不只是邻居,通过不同(1、2、3、4、5、7)类型的LSA(链路状态通告)去感知全网的网络2、OSPF的算法是SPF的算法,树型结构算法无环路3、分层区域(骨干区域area0和非骨干区域area1等)。分层原则:所有的非骨干区域必须连接在骨干区域上。Ospf的区域是基于接口划分的。#routerosp
分类:
其他好文 时间:
2019-07-15 17:25:41
阅读次数:
85
查看所有数据库的账号和对应的角色: --drop table #UserDB --drop table #DB_Role Create table #DB_Role ( DBName varchar(100) null, UserName varchar(100), RoleName Varchar ...
分类:
其他好文 时间:
2019-07-12 18:22:18
阅读次数:
106