Thus far we have only taken a look at the most basic authentication configuration. Let’s take a look at a few slightly more advanced options for confi ...
分类:
编程语言 时间:
2018-12-17 22:38:49
阅读次数:
234
After install the Nginx on AWS instance, and visit your public ip address, you might see the following: This site can't be reached xxx.xxx.xx take too ...
分类:
其他好文 时间:
2018-12-16 11:16:07
阅读次数:
123
本文章会讲述以下几个内容: 1、Unittest 如何跳过用例 2、如何使用sys.argv 3、自动化测试项目中如何一套代码多套环境运行 一、Unittest跳过用例 @unittest.skip(reason) , 直接跳过被装饰的用例 ,reason用于填写跳过用例的原因 @unittest. ...
分类:
编程语言 时间:
2018-12-16 11:12:50
阅读次数:
178
一、跳过测试用例 1.无条件跳过,在用例上面加一个装饰器:@unittest.skip(提示语句) 2.条件为True时跳过,加装饰器:@unittest.skipIf((条件),(提示语句)) 3.条件为False时跳过,加装饰器:@unittest.skipUnless((条件),(提示语句)) ...
分类:
Web程序 时间:
2018-12-15 21:13:30
阅读次数:
230
切换方法参考https://blog.csdn.net/chenghuikai/article/details/55258957 实测,确实解决了pipenv这个问题,否则只能--skip-lock。 基本抄录一下 建立配置文件 如果是linux ~/.pip/pip.conf 如果是win C:\ ...
分类:
其他好文 时间:
2018-12-15 12:08:45
阅读次数:
281
There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to ...
分类:
其他好文 时间:
2018-12-14 23:00:41
阅读次数:
171
过程: Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes. step 0, loss =4.68 (19.0 examples/sec; 6.734 sec/bat ...
分类:
其他好文 时间:
2018-12-14 22:49:43
阅读次数:
223
1.注释bind-address = 127.0.0.1。 代码如下: > sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf 将bind-address = 127.0.0.1注释掉(即在行首加#),如下: 代码如下: # Instead of skip-net ...
分类:
数据库 时间:
2018-12-14 21:13:00
阅读次数:
144
rpm-Uvhhttps://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpmyuminstallmysql---skip-brokenyum-yinstallhttpdsystemctlstarthttpd.serviceyuminstallphp-ysudoyuminstallphp-mysqlndphp-gdlibjp
分类:
其他好文 时间:
2018-12-14 13:59:49
阅读次数:
142
2.用记事本打开 添加 打开后,搜索mysqld关键字 找到后,在mysqld下面添加skip-grant-tables,保存退出。 然后就可以修改c盘的文件 保存后重启mySQL 然后运行cmd 输入mysql -u root -p就可以不用密码登录了,出现password:的时候直接回车可以进入 ...
分类:
数据库 时间:
2018-12-14 01:07:07
阅读次数:
234