今天给Centos通过rpm-Uvh装了个epel的扩展后,执行yum就开始报错:Error:Cannotretrievemetalinkforrepository:epel.Pleaseverifyitspathandtryagain执行yum--disablerepo=epel-yupdateca-certificates
分类:
Web程序 时间:
2016-06-22 11:04:08
阅读次数:
138
ThinkPHP中自带能生成验证码的类:ThinkPHP/Library/Think/Verify.class.php 默认情况下,验证码的字体是随机使用 ThinkPHP/Library/Think/Verify/ttfs/目录下面的字体文件,我们可以指定验证码的字体 汉字的验证码:ThinkPH ...
分类:
Web程序 时间:
2016-06-20 21:54:45
阅读次数:
308
“出于安全考虑,在第三方平台创建审核通过后,微信服务器每隔10分钟会向第三方的消息接收地址推送一次component_verify_ticket,用于获取第三方平台接口调用凭据”。这是文档中的原话,也就是说我们在获取access_token的时候是要先得到component_verify_ticke ...
分类:
微信 时间:
2016-06-16 20:08:01
阅读次数:
1696
首先我们要装两个东西: (1)安装VNC server yum install –y tigervnc tigervnc-server (2)安装完成后启用vncserver 终端输入:vncserver Password:1234567 Verify:1234567 (3)如果上面出现xauth: ...
分类:
其他好文 时间:
2016-06-16 19:54:41
阅读次数:
199
Verify Preorder Serialization of a Binary Tree
Total Accepted: 14360 Total
Submissions: 44550 Difficulty: Medium
One way to serialize a binary tree is to use pre-order traver...
分类:
其他好文 时间:
2016-06-16 10:33:53
阅读次数:
356
效果图如下: 实现代码很简单 step1.在Controller中添加方法 step2.在地址栏中输入地址(你自己的页面地址+/Home/Index/verify) Git地址:phpWeb ...
分类:
Web程序 时间:
2016-06-14 17:35:45
阅读次数:
288
今天在测试环境使用yum安装,遇到一个问题:Error:Cannotretrievemetalinkforrepository:epel.Pleaseverifyitspathandtryagain处理很简单,修改文件“/etc/yum.repos.d/epel.repo”,将baseurl的注释取消,mirrorlist注释掉。即可。
分类:
其他好文 时间:
2016-06-12 16:59:54
阅读次数:
293
基地: robot.libraries.BuiltIn._Verify , robot.libraries.BuiltIn._Converter ,robot.libraries.BuiltIn._Variables , robot.libraries.BuiltIn._RunKeyword ,ro ...
分类:
其他好文 时间:
2016-06-09 12:11:27
阅读次数:
203
代码如下: 出现bug。已拦截跨源请求:同源策略禁止读取位于 http://gsxt.hnaic.gov.cn/notice/security/verify_captcha 的远程资源。(原因:CORS 头缺少 'Access-Control-Allow-Origin')。 ...
分类:
其他好文 时间:
2016-06-03 19:07:25
阅读次数:
180