上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 此教程为 第三方插件 激活方式 本教程适用于 Pycharm 所有版本 Windows、Mac、Linux系统都适用 一、激活前注意事项 软件一定要是在官网下载:https://www.jetbrains.com/ 本教程适用于jetbrains全系列产品(Pycharm、Idea、WebStorm 阅读全文
posted @ 2021-06-07 18:32 test_yu 阅读(1170) 评论(0) 推荐(0)
摘要: #!/usr/bin/python3 # coding=utf-8 import logging import os.path import time class Logger(object): def __init__(self, logger): """指定保存日志的文件路径,日志级别,以及调用 阅读全文
posted @ 2021-06-07 17:27 test_yu 阅读(121) 评论(0) 推荐(0)
摘要: rows = driver.find_elements_by_css_selector('div.wrapper>ul.list>li') logger.info(len(rows)) 阅读全文
posted @ 2021-06-07 13:45 test_yu 阅读(1130) 评论(0) 推荐(0)
摘要: @staticmethod def unzip_file(failed_file): zip_file = zipfile.ZipFile(failed_file) print(zip_file) if os.path.isdir(failed_file[0:-20]): pass else: os 阅读全文
posted @ 2021-06-07 13:42 test_yu 阅读(123) 评论(0) 推荐(0)
摘要: for link in driver.find_elements_by_css_selector("tr:nth-child(1) > td.taskStatus use"): assert_status = link.get_attribute('xlink:href') print(assert 阅读全文
posted @ 2021-06-07 13:39 test_yu 阅读(345) 评论(0) 推荐(0)
摘要: 1.关机 (系统的关机、重启以及登出 ) 的命令 shutdown -h now 关闭系统(1) init 0 关闭系统(2) telinit 0 关闭系统(3) shutdown -h hours:minutes & 按预定时间关闭系统 shutdown -c 取消按预定时间关闭系统 shutdo 阅读全文
posted @ 2021-06-04 14:39 test_yu 阅读(42) 评论(0) 推荐(0)
摘要: 一、安装redis 第一步:下载redis安装包 wget http://download.redis.io/releases/redis-4.0.6.tar.gz [root@iZwz991stxdwj560bfmadtZ local]# wget http://download.redis.io 阅读全文
posted @ 2021-06-04 14:16 test_yu 阅读(40) 评论(0) 推荐(0)
摘要: Centos7安装NPM并配置全局变量 1.安装gcc yum install gcc gcc-c++ 2.下载node国内镜像(推荐) wget https://npm.taobao.org/mirrors/node/v10.14.1/node-v10.14.1-linux-x64.tar.gz 阅读全文
posted @ 2021-06-04 14:15 test_yu 阅读(585) 评论(0) 推荐(0)
摘要: #ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa 生成秘钥#cd ~/.ssh/ id_dsa id_dsa.pub known_hostsid_dsa 私钥(给自己用) id_dsa.pub(给别人用)把公钥文件追加到本地的认证文件中去#cat ~/.ssh/id 阅读全文
posted @ 2021-06-04 13:47 test_yu 阅读(55) 评论(0) 推荐(0)
摘要: 使用 Docker 构建 Yapi1.创建 MongoDB 数据卷docker volume create mongo_data_yapi 2.启动 MongoDBdocker run -d --name mongo-yapi -v mongo_data_yapi:/data/db mongo 3. 阅读全文
posted @ 2021-06-04 13:34 test_yu 阅读(86) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页