03 2022 档案
摘要:1. 安装jenkins插件 JIRA Trigger Plugin 2. 全局配置,配置jira网址及账号信息 3. 配置jenkins的网络钩子到jira中 找到高级>网络钩子 配置网络钩子 配置信息如下, 换成自己的jenkins url http://192.168.10.99:8081/j
阅读全文
摘要:1. 方法一:[[ "${array[@]}" =~ "字符串" ]] names="This is a computer , I am playing games in the computer" if [[ "${names[@]}" =~ "playing" ]]; then echo 'st
阅读全文
摘要:1. 方法一:${JAVA_ALLOWED_VERSIONS[*]} =~ "$JAVA_VERSION" JAVA=`type -p java` JAVA_ALLOWED_VERSIONS=( "1.8" "11" ) # Work out the JAVA version we are work
阅读全文
摘要:1. 问题现象 报错现象类似 https://blog.csdn.net/ZYStefanie/article/details/112358315 2. 处理方法 sudo vim /etc/init.d/jenkins 修改原来的Java_version匹配规则 JAVA_VERSION=$($J
阅读全文
摘要:1. 问题现象 2. 权限问题处理方法 sudo chown -R jenkins:jenkins /var/lib/jenkins sudo chown -R jenkins:jenkins /var/cache/jenkins sudo chown -R jenkins:jenkins /var
阅读全文
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma
阅读全文
摘要:1. 问题 这个问题是因为我重新安装, 没删除原来的数据库 2. 处理方法 因为存在相同的数据库,没清空, 然后删除重建即可 mysql -h localhost -u root -p create database jira default character set utf8 collate u
阅读全文
摘要:1. 编辑配置 2. 重启生效 sudo systemctl daemon-reload sudo systemctl restart docker.service 3. 检查端口 4. 客户端配置 # ip改成远程服务器的ip export DOCKER_HOST=tcp://127.0.0.1:
阅读全文
摘要:1. 报错 2. 处理 ubuntu sudo apt install net-tools centos yum -y install net-tools
阅读全文
摘要:1. 下载官方检查工具 首先,先下载微软官方的【电脑健康状况检查应用】:https://aka.ms/GetPCHealthCheckApp 2、官网介绍 官方介绍 https://support.microsoft.com/zh-cn/windows/%E5%9C%A8%E7%94%B5%E8%8
阅读全文
摘要:1. 安装WSL https://docs.microsoft.com/zh-cn/archive/blogs/wsl/ 2. 安装桌面版docker 下载 https://www.docker.com/get-started/ 双击安装 3. 开放docker daemon TCP端口 4. WS
阅读全文
摘要:1. 创建docker用户组 sudo groupadd docker 2. 添加当前用户加入docker用户组 sudo usermod -aG docker ${USER} 3. 重启docker服务 sudo systemctl restart docker 4、生效配置 sudo newgr
阅读全文
摘要:1. 官网 https://www.jumpserver.org/ 2.github https://github.com/jumpserver/jumpserver.git 3.文档 https://docs.jumpserver.org/zh/master/install/setup_by_fa
阅读全文
摘要:1. 原因 竞争 2. 基本概念 bcdedit 是一个启动选项编辑工具,用来管理启动设置。 BCDEdit 不是一个运行于图形界面下的程序,而是一个命令行工具,该文件 (Bcdedit.exe) 位于 “\Windows\System32” 目录下。通过命令行工具 Bcdedit ,我们可以添加、
阅读全文
摘要:1. 安装openssh-server sudo apt-get install openssh-server 2、会安装相关依赖包 ~$ dpkg -l | grep ssh ii libssh-4:amd64 0.9.3-2ubuntu2.2 amd64 tiny C SSH library (
阅读全文
摘要:1. 各大源官网 https://mirrors.tuna.tsinghua.edu.cn/ http://mirrors.163.com/ https://developer.aliyun.com/mirror/ https://mirrors.ustc.edu.cn/ https://mirro
阅读全文
摘要:1. qBittorrent官网 https://www.qbittorrent.org/download.php 2. 开源Tracker链接地址 https://ngosang.github.io/trackerslist 例如: https://ngosang.github.io/tracke
阅读全文
摘要:1. 导出csv 2. 打开之后乱码 3、处理方法(win10) 使用记事本打开, 然后另存为,选择带有BOM的UTF8格式 保存之后重新打开即可 参考链接: https://www.cnblogs.com/fengyudeleishui/p/15662860.html
阅读全文
摘要:1. 工具 https://github.com/baowenbo/DAIN https://github.com/xinntao/ESRGAN https://github.com/jantic/DeOldify 2. 介绍 DAIN,对视频进行补帧处理,提高视频流畅度 ESRGAN,对视频进行超
阅读全文
摘要:1、官网 https://www.selenium.dev/selenium-ide/ Getting Started · Selenium IDE 2、插件安装 可以使用谷歌和火狐 3. 步骤 https://zhuanlan.zhihu.com/p/137206279 参考链接: https:/
阅读全文
摘要:1. 官网 http://mysql-python.sourceforge.net/MySQLdb.html 2. github地址 python2 https://github.com/farcepest/MySQLdb1 python3 https://github.com/PyMySQL/my
阅读全文
摘要:1、显示行号, :set nu 2、隐藏行号, :set nonu 3、持久化配置 sudo vim /etc/vim/vimrc 文件中加入
阅读全文
摘要:1、使用vim打开文件 $ vim /var/log/mail.log 2、使用 “/后跟要搜索的字符串”, 然后按回车 3、然后按小写‘n’ , 查找下一个 4. 大写'N', 查找上一个 5. 设置高亮显示, :set nohlsearch 6. 设置非高亮显示, :nohlsearch或者:s
阅读全文
摘要:1. 官网 https://pymysql.readthedocs.io/en/latest/ 2. 安装 You can install it with pip: $ python3 -m pip install PyMySQL To use "sha256_password" or "cachi
阅读全文
摘要:1. 网上的说法比较多 2. 我的是因为密码输错了
阅读全文
摘要:1. 命令帮助 -> % ln --help Usage: ln [OPTION]... [-T] TARGET LINK_NAME (1st form) or: ln [OPTION]... TARGET (2nd form) or: ln [OPTION]... TARGET... DIRECT
阅读全文
摘要:1、下载地址 https://registry.npmmirror.com/binary.html?path=chromedriver/ http://chromedriver.storage.googleapis.com/index.html 2、工程配置 3、使用 class BaseActio
阅读全文
摘要:1. 官网链接 https://wiki.deepin.org/wiki/Deepin%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0NVIDIA%E9%A9%B1%E5%8A%A8
阅读全文
摘要:1. 打开服务器的.ssh/authorized_keys vim .ssh/authorized_keys 2. 将客户机的公钥复制到服务器的.ssh/authorized_keys文件内 3. 客户端测试链接 ssh test@192.168.1.100
阅读全文
摘要:一、方法1 1. 进入ssh目录,C:\Users\你自己的用户名\.ssh 2. 将免密的私钥复制到这台电脑上的 .ssh目录,例如叫:id_rsa_linux 3. 在ssh目录创建config文件,linux为用户的home目录下 Host 192.168.1.100 User test Ho
阅读全文
摘要:1. 处理方法 sudo apt-get install libxcb-xinerama0 参考链接: https://blog.csdn.net/u012308586/article/details/108509503
阅读全文
摘要:1. Windows下安装vcxsrv https://sourceforge.net/projects/vcxsrv/ 2. WSL Ubuntu下安装xfce desktop sudo apt-get install xfce4-terminal sudo apt-get install xfc
阅读全文
摘要:1. 安装界面打开终端 在虚拟机桌面按Ctrl+Alt+T,出现终端窗口 2. 设置分辨率大小 xrandr -s 1280x800 参考链接: https://blog.csdn.net/qq_45927266/article/details/122321532
阅读全文
摘要:1. 官网 https://zh.snipaste.com/ 自己探索吧
阅读全文
摘要:一. pytest内部机制 pytest自带失败重跑机制,在运行中传入参数即可。 --lf 参数:运行上次失败的用例,如果没有则全部运行。 --ff参数:运行全部用例,上次失败的优先运行。 --lf, --last-failed rerun only the tests that failed at
阅读全文
摘要:一、官网 https://docs.pytest.org/en/7.0.x/search.html?q=skip 二、相关使用方法 1. @pytest.mark.skip() 2. @pytest.mark.skip(reason='跳过原因') 3. @pytest.mark.skipif(ex
阅读全文
摘要:1. 安装位置 cd ~/Library/'Application Support'/Google/Chrome/Default/Extensions 2. 打包对应id的目录即可 3. 通用查找方法 地址栏输入chrome://version 回车用资源管理器打开"个人资料路径"栏的路径,该路径下
阅读全文
摘要:一.、Junit 1、官网 https://junit.org/junit5/ https://junit.org/junit4/ 2、github https://github.com/junit-team/junit5/ 二、TestNG 1、官网 https://testng.org/doc/
阅读全文
摘要:1. 官网 https://playwright.dev/docs/intro 2. github https://github.com/microsoft/playwright-python 3. 安装 # 安装playwright库 pip install playwright # 安装浏览器驱
阅读全文
摘要:一. pep8 1. 官网 https://www.python.org/dev/peps/pep-0008/ https://pypi.python.org/pypi/flake8/ 2. 安装 pip install pep8 3. 使用 flake8 [file name or directo
阅读全文
摘要:1. 第三方库 pip install jira 2. 官方文档 https://jira.readthedocs.io/examples.html 3. 使用方法 form jira import JIRA jira = JIRA('http://jira.***.com/', auth=(use
阅读全文
摘要:1. 现象 2. 处理方法 ps aux | grep elastic kill -9 [pid] 参考链接: https://blog.csdn.net/davidchang365/article/details/103254012
阅读全文
摘要:1.问题 jenkins打包镜像报错 2. 处理方法 修改Dockerfile 名称为dockerfile 参考链接: https://www.cnblogs.com/rohens-hbg/p/14212145.html
阅读全文
摘要:1. 官网 https://docs.docker.com/engine/reference/commandline/system_prune/ 2. 方法 docker system prune 命令可以用于清理磁盘,删除关闭的容器、无用的数据卷和网络,以及dangling镜像(即无tag的镜像)
阅读全文