开发此功能需注册阿里云账号,并开通短信服务(免费开通) 充值后,不会影响业务的正常使用!(因为发送验证类短信:1-10万范围的短信是0.045元/条)。开发测试使用,充2块钱测试足够了 可参考阿里云官方开发文档了解详情,文档中写的也是很详细了。。。 https://help.aliyun.com/p ...
分类:
编程语言 时间:
2018-04-15 19:51:04
阅读次数:
1954
selenium 是一套完整的web应用程序测试系统,包含了测试的录制(selenium IDE),编写及运行(Selenium Remote Control)和测试的并行处理(Selenium Grid)。Selenium的核心Selenium Core基于JsUnit,完全由JavaScript ...
分类:
编程语言 时间:
2018-04-15 11:40:10
阅读次数:
269
#导入urllib库 import urllib.request #打开网址 file=urllib.request.urlopen("http://www.sohu.com/",timeout=5) #读取网页源码 file.read().decode("utf-8","ignor") #返回爬取... ...
分类:
Web程序 时间:
2018-04-14 18:06:10
阅读次数:
267
07-Jan-2018 14:28:44.765 INFO [http-nio-8080-exec-8] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header Note: further ...
分类:
Web程序 时间:
2018-04-13 22:28:37
阅读次数:
4199
1 java socket的两个timeout 一个是connect timeout,即建立连接的timeout,另外一个是so timeout,是读取数据的timeout。这两个timeout都是因为客户端等不及了。 2 connect timeout 客户端想要和服务器端建立tcp连接,如果连接 ...
分类:
编程语言 时间:
2018-04-13 20:37:15
阅读次数:
228
python urllib_urlopen( ) Python urllib 库提供了一个从指定的 URL 地址获取网页数据,然后对其进行分析处理,获取想要的数据。 一、urllib模块urlopen()函数: urlopen(url, data=None, timeout, proxies=Non ...
分类:
编程语言 时间:
2018-04-13 11:10:23
阅读次数:
182
js判断网络连通性 if (window.navigator.onLine == true) { console.log("首次 -- 已连接") $.ajax({ url: "https://www.baidu.com/", type: "POST", timeout: 1000, dataTyp ...
分类:
Web程序 时间:
2018-04-12 13:30:21
阅读次数:
305
End2EndIT: 1. SampleUser1.1 name1.2 roles1.3 account1.4 affiliation1.5 organization1.6 enrollmentSecret1.7 Enrollment1.8 support serialize & deseriali ...
分类:
其他好文 时间:
2018-04-12 11:40:57
阅读次数:
301
缓存用户信息 3600s git config –global credential.helper ‘cache –timeout 3600’ // 这我输入了2个 — 也配置好了, 复制过来的 就一个- 设置用户名和邮箱: ...
分类:
其他好文 时间:
2018-04-11 21:47:59
阅读次数:
176
第一章: 编写js的流程: 第二章 Javascipt 基础 1. 变量类型:number ,string ,Boolean ,function ,object ,undefined; 2. 变量类型转换(显示类型): num1=parseFloat(oTxt1.value); 把()里的值转换为F ...
分类:
Web程序 时间:
2018-04-11 15:11:00
阅读次数:
193