随笔分类 - Tools
摘要:1、docker hub https://hub.docker.com/_/nginx 2、安装 默认配置安装 docker run --name nginx -d nginx 指定端口安装 docker run --name nginx -d -p 8080:80 nginx 文件映射主机安装 #
阅读全文
摘要:1、使用国内的镜像地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ 2、通过simulation模拟用户点击来下载(只贴出部分方法) #!/usr/bin/env python # -*- coding:utf-8 -*
阅读全文
摘要:1、官网 https://pypi.org/project/requests-html/ 2、github https://github.com/kennethreitz/requests-html 3、安装 pip install requests-html 4、使用HTMLSession hea
阅读全文
摘要:1、官网 https://beautifulsoup.readthedocs.io/zh_CN/v4.4.0/ 2、安装 pip install BeautifulSoup4 pip install lxml pip install requests 3、解析脚本 import requests f
阅读全文
摘要:1、pip install BeautifulSoup报错 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting BeautifulSoup Using cached https://pypi.tuna.tsi
阅读全文
摘要:1、打开powershell(管理员) 2、查看所有端口连接 3、查看端口进程及PID 4、获取指定PID的进程名称 5、根据PID杀死进程 检查 至此完成
阅读全文
摘要:1、官网 http://appium.io/ 2、github https://github.com/appium/appium-desktop/releases/tag/v1.22.3-4 3、安装配置java环境 https://www.cnblogs.com/fireblackman/p/10
阅读全文
摘要:1、场景 远程更新产品版本 2、处理方法 sudo apt-get install expect 参考链接: https://www.codeleading.com/article/80902740372/
阅读全文
摘要:1、官网 https://airtest.netease.com/ 2、项目地址 https://github.com/AirtestProject 3、官方文档 欢迎使用 - Airtest Project Docs 4、安装AirtestIDE 解压运行即可 5、设备唤醒 https://jue
阅读全文
摘要:1、官网 https://httprunner.com/https://httprunner.com/docs/ 2、github https://github.com/httprunner/httprunner https://github.com/httprunner/QuickRunner 3
阅读全文
摘要:1、查询相关DNS 优先使用https://www.ipaddress.com/ 查出来的结果是(有点用) 140.82.113.4 github.com 199.232.69.194 github.global.ssl.fastly.net 185.199.108.133 raw.githubus
阅读全文
摘要:1、起因 虚拟机内的docker起不来了, 百度各种查,还是没解决(百度真拉胯),无奈测试需要用, 还是得折腾一下 2、清理docker容器及镜像(报错的话, 相关可能执行不了) 1、删除容器 1)首先需要停止所有的容器 docker stop $(docker ps -a -q) 2)删除所有的容
阅读全文
摘要:1、阿里源 https://developer.aliyun.com/mirror/pypi 2、华为源 https://mirrors.huaweicloud.com/home 3、命令行配置 升级pip pip install -i https://pypi.tuna.tsinghua.edu.
阅读全文
摘要:1、处理方法 git config --system core.longpaths true 顾名思义,就是支持长的路径 2、官网文档 https://git-scm.com/doc 参考链接: https://blog.csdn.net/qq_42068550/article/details/89
阅读全文
摘要:1、场景 只有一级目录 2、批处理脚本 CHCP 65001 @ECHO OFF ECHO "####################################################" ECHO "# Subject: update git repo #" ECHO "# Date:
阅读全文
摘要:1、docker hub https://hub.docker.com/_/mysql 2、创建目录 mkdir -p $HOME/mysql/conf $HOME/mysql/data $HOME/mysql/log 3、编辑配置文件 # 编辑配置文件my.cnf vim my.cnf # 新增配
阅读全文
摘要:空了再写 参考链接: https://blog.csdn.net/zyndev/article/details/113888620
阅读全文
摘要:1、官网 https://www.consul.io/docs/guides HTTP API | Consul by HashiCorp 2、docker hub https://hub.docker.com/_/consul/ 3、github https://github.com/hashic
阅读全文
摘要:1、系统 2、步骤 打开系统偏好设置 打开电池选项 打开电源适配器选项 至此即可
阅读全文
摘要:1、官网 https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11WGU6KG 2、一键替换(更快捷) 备份(备份是个好习惯) sudo cp /etc/apt/sources.list /etc/apt/s
阅读全文