码迷,mamicode.com
首页 >  
搜索关键字:verify    ( 1044个结果
file_get_contents(): SSL operation failed with code 1...解决办法和stream_context_create作用
<?php $arrContextOptions=array( "ssl"=>array( "verify_peer"=>false, "verify_peer_name"=>false, ), ); $response = file_get_contents("https://maps.co.we ...
分类:其他好文   时间:2020-05-14 11:23:00    阅读次数:65
linux配置文件
原来: # See smb.conf.example for a more detailed config file or # read the smb.conf manpage. # Run 'testparm' to verify the config is correct after # yo ...
分类:系统相关   时间:2020-05-14 01:54:38    阅读次数:86
Grafana配置LDAP认证
Grafana从2.1开始支持LDAP集成LDAP的统一用户登录认证。默认是LDAP是未启用,需手动更改配置使之能支持LDAP。在参考官方文档GrafanaLDAPAuthentication进行配置。Grafana主配置文件grafana.ini中开启LDAP认证vim/etc/grafana/grafana.ini[auth.ldap]enabled=trueconfig_file=/etc/
分类:其他好文   时间:2020-05-12 18:42:43    阅读次数:258
pandas --index ,reindex, set_index, reset_index , reindex_like函数 之 set_index
set_index() 函数原型:DataFrame.set_index(keys, drop=True, append=False, inplace=False, verify_integrity=False) 参数解释: keys:列标签或列标签/数组列表,需要设置为索引的列 drop:默认为T ...
分类:其他好文   时间:2020-05-10 11:20:35    阅读次数:76
webdriver 解决shadow-root获取chrome下载项
def _return_element(self, ele): return self.driver.driver.execute_script("return arguments[0].shadowRoot", ele) def verify_dl(self): """ 返回最近一个下载,目前仅支 ...
分类:Web程序   时间:2020-05-09 20:54:14    阅读次数:167
certificate verify failed: unable to get local issuer certificate
什么原因导致 python的certifi模块使用的仅仅是自身的cacert.pem,其他的不会使用,所以也没有所谓的授权信任链。 手动的添加信任链 比如我不能访问百度。 导出全部的证书,按照base64导出,然后复制到cacert.pem中。 查看所有的需要证书 查看授权链 复制出当前网站的授权链 ...
分类:其他好文   时间:2020-05-05 23:29:30    阅读次数:67
guzzle 发起 https 请求 报错解决方法
guzzle 发起http请求与https请求的区别,发起https请求时,需要在构造函数中传入一个配置项, 具体代码如下: //发起请求 $client = new Client(['timeout' => 5, 'verify' => false]); $response=$client->ge ...
分类:Web程序   时间:2020-05-03 16:43:03    阅读次数:118
[LeetCode] 255. Verify Preorder Sequence in Binary Search Tree
验证前序遍历序列二叉搜索树。题意是给一个二叉搜索树的前序遍历的结果,请你验证这个结果是否正确。例子, Consider the following binary search tree: 5 / \ 2 6 / \ 1 3 Example 1: Input: [5,2,6,1,3] Output: ...
分类:其他好文   时间:2020-05-02 09:53:55    阅读次数:58
Qt使用HTTPS协议访问网站
所使用的Qt版本:5.14.0 可以先看一下这篇文章:《使用Qt访问网站的基本例子》 注: 如果出现“qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed”这个错误,请查看这篇文章:《Qt TLS初 ...
分类:Web程序   时间:2020-04-29 20:13:37    阅读次数:244
获取随机验证码图片的格式设置
<img :src="`data:image/jpg;base64,${codeSrc}`" class="verify-code__img" @click="getVerifyCode" /> Data URI scheme支持的类型有: data:,文本数据 data:text/plain,文本 ...
分类:其他好文   时间:2020-04-29 16:27:48    阅读次数:72
1044条   上一页 1 ... 5 6 7 8 9 ... 105 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!