随笔分类 -  Tools

上一页 1 ··· 7 8 9 10 11 12 下一页
摘要:class WsClient(object): def __init__(self, url): self.url = url async def test(self): async with websockets.connect(self.url + '/test') as websocket: 阅读全文
posted @ 2022-02-16 20:36 代码诠释的世界 阅读(999) 评论(0) 推荐(0)
摘要:1. 新建流水线项目 2. 配置jenkins流水线项目触发方式为Opened Merge Request Events 配置目标分支和生成token 3. gitlab添加jenkins项目的webhook 强制拦截配置 4. 配置流水线 pipeline { agent { node { // 阅读全文
posted @ 2022-02-14 18:06 代码诠释的世界 阅读(1947) 评论(0) 推荐(0)
摘要:1. 使用cleanWs stage('Clean') { steps { cleanWs( cleanWhenAborted: true, cleanWhenFailure: true, cleanWhenNotBuilt: true, cleanWhenSuccess: true, cleanW 阅读全文
posted @ 2022-02-14 17:23 代码诠释的世界 阅读(3184) 评论(0) 推荐(0)
摘要:1. 处理方法 sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt autoremove sudo do-release-upgrade 2. 提示截图 阅读全文
posted @ 2022-02-14 16:07 代码诠释的世界 阅读(523) 评论(0) 推荐(0)
摘要:1. 使用git merge方法合并master分支代码到自己分支 git checkout master # 切换本地分支为master git pull # 更新本地分支master代码为远程最新代码 git checkout [自己的分支名] # 切换到自己的分支 git merge mast 阅读全文
posted @ 2022-02-14 15:51 代码诠释的世界 阅读(14121) 评论(0) 推荐(0)
摘要:1. 查询安装包版本 网站:https://packages.ubuntu.com/ 2. apt-cache madison <<package name>>查询 其他操作 apt-cache madison vimapt-cache policy vimapt-cache showpkg vim 阅读全文
posted @ 2022-02-14 15:26 代码诠释的世界 阅读(1455) 评论(0) 推荐(0)
摘要:1. 重置方法 netsh winsock reset 2. 重启电脑, ###### 注意保存文件 shutdown -r -t 30 阅读全文
posted @ 2022-02-08 11:30 代码诠释的世界 阅读(537) 评论(0) 推荐(0)
摘要:1. 今天踩了一个大坑,IDE的文件都没commit,然后pull代码的时候,没注意,直接reset了 2. 处理方法 git fsck --lost-found 找到lost-found/other文件, 然后使用编辑器打开, 查看文件内容, 虽然文件不是自己最新的, 但是还是很有用的, 找回了一 阅读全文
posted @ 2022-01-28 20:25 代码诠释的世界 阅读(528) 评论(0) 推荐(0)
摘要:1. 下载链接 # https://github.com/allure-framework/allure2/releases# allure文档:https://docs.qameta.io/allure/ 2. 安装 ubuntu sudo dpkg -i allure_2.17.2-1_all. 阅读全文
posted @ 2022-01-18 19:55 代码诠释的世界 阅读(534) 评论(0) 推荐(0)
摘要:1. 更新系统 sudo apt-get update sudo apt-get dist-upgrade sudo apt-get autoremove 2. 安装postfixadmin sudo apt install php7.2-fpm php7.2-cli php7.2-imap php 阅读全文
posted @ 2022-01-13 20:38 代码诠释的世界 阅读(506) 评论(0) 推荐(0)
摘要:1. shell脚本 #!/bin/bash echo 'some id_rsa content'>~/.ssh/id_rsa_mac chmod 600 ~/.ssh/id_rsa_mac eval `ssh-agent` ssh-add ~/.ssh/id_rsa ssh-add ~/.ssh/ 阅读全文
posted @ 2022-01-13 18:32 代码诠释的世界 阅读(64) 评论(0) 推荐(0)
摘要:1. 复制密钥到主机 复制到你自己win主机的 ssh目录, C:\Users\xxxx\.ssh\id_rsa_some,自己命个名 2. 添加密钥 报错: Error connecting to agent: No such file or directory 解决方法:【以管理员身份运行】运行 阅读全文
posted @ 2022-01-13 18:01 代码诠释的世界 阅读(280) 评论(0) 推荐(0)
摘要:一、相关文档 https://wiki.archlinux.org/title/Dnsmasq 二、安装 Ubuntu 18.04附带了systemd-resolve,需要禁用它,因为它绑定到53端口,与Dnsmasq端口冲突。 运行以下命令以禁用已解析的服务: sudo systemctl dis 阅读全文
posted @ 2022-01-06 16:35 代码诠释的世界 阅读(2751) 评论(0) 推荐(0)
摘要:1. 官网 https://docs.sonarqube.org/8.9/setup/install-server/ 文档 Try Out SonarQube | SonarQube Docs 2. 安装Java环境 https://www.cnblogs.com/fireblackman/p/15 阅读全文
posted @ 2021-12-28 17:45 代码诠释的世界 阅读(566) 评论(0) 推荐(0)
摘要:1. 安装pip依赖报错 2. 处理方法 pip3 install -U pip setuptools 阅读全文
posted @ 2021-12-23 16:49 代码诠释的世界 阅读(703) 评论(0) 推荐(0)
摘要:1. 新建项目 2. 新建流水线项目 输入名称,选择流水线项目 3. 基础配置 4. 根据自己需求配置对应参数 4. 配置触发器 5. 配置触发器高级选项 6. 配置高级项目选项-流水线脚本 7. pipline脚本示例 pipeline { agent any stages { stage('Pr 阅读全文
posted @ 2021-12-22 14:37 代码诠释的世界 阅读(469) 评论(0) 推荐(0)
摘要:1. 官网 # 二进制包 https://rubies.travis-ci.org/ # 官网 https://rvm.io/ 2. 安装文档 https://rvm.io/rvm/install 3. 安装步骤 sudo apt install gnupg2# 配置秘钥gpg2 --recv-ke 阅读全文
posted @ 2021-12-22 11:30 代码诠释的世界 阅读(936) 评论(0) 推荐(0)
摘要:1. 使用管理员创建仓库 2. 编辑仓库权限 3. 编辑URI 4. 配置Storage(自动生成) 其他暂时可以不配 5. 相关配置 # 1. 配置arc到环境变量cd arcanist/bin vim .bashrc# 添加你自己的路径,export PATH=$PATH:/home/maste 阅读全文
posted @ 2021-12-21 20:59 代码诠释的世界 阅读(682) 评论(0) 推荐(0)
摘要:1. 官网 https://www.redmine.org/projects/redmine/wiki/Guide 2. 插件 https://www.redmine.org/projects/redmine/wiki/Plugin_List 3. 安装 # 解压缩 tar -zxvf redmin 阅读全文
posted @ 2021-12-20 19:54 代码诠释的世界 阅读(463) 评论(0) 推荐(0)
摘要:1. 安装VS Code 官网网站: https://code.visualstudio.com/ Markdown语法: https://markdown.com.cn/ 2. 安装Markdown扩展 (根据自己需求安装) 1. Markdown All in One 2. Markdown P 阅读全文
posted @ 2021-11-17 10:58 代码诠释的世界 阅读(1125) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 下一页