随笔分类 - Tools
摘要:一、问题 二、原因 分支有新的提交,push之前没有及时pull远程代码到本地。 三、解决 https://www.cnblogs.com/wutou/p/18499842
阅读全文
摘要:一、官网说明 群机器人配置说明 - 文档 - 企业微信开发者中心 二、python实现 1、基于text格式 def send_wechat_work_message(webhook_url, content, mentioned_list=None): """ 发送企业微信机器人消息 :param
阅读全文
摘要:一、场景 仓库时间久了,会有未跟踪的文件,导致代码拉不下来 二、解决方法 使用 git clean 命令来删除未跟踪的文件 # git clean -n:这是一个“dry run”(干运行),它会显示哪些文件会被删除,但不会实际删除它们。 git clean -n # git clean -f:强制
阅读全文
摘要:一、问题 今天拉取代码时,突然报错 二、处理过程 1、检查用户信息 $ id -u1000用户的id是对的 那是因为什么呢 2、重启终端 发现还是不行 3、重启电脑 发现还是不行 三、解决方案 最终重新生效环境变量 $ source ~/.bashrc 然后重新执行拉取更新 $ git fetchr
阅读全文
摘要:一、官网 https://www.wireshark.org/ 二、下载二进制安装 三、通过apt安装 sudo add-apt-repository ppa:wireshark-dev/stable sudo apt update sudo apt install -y wireshark 修改权
阅读全文
摘要:一、场景 由于我们需要访问GRPC服务的方法,便于我们进行测试,所以我们开启了grpc服务的反射机制 二、安装grpcurl https://github.com/fullstorydev/grpcurl https://github.com/fullstorydev/grpcurl/release
阅读全文
摘要:一、场景 不让用了 二、删除 sudo rm -rf ~/idea-IU-XXXX sudo rm -rf ~/.config/JetBrains/IntelliJIdea2024.1/ sudo rm -rf ~/.cache/JetBrains/IntelliJIdea2024.1/ sudo
阅读全文
摘要:一、场景 对比两个项目的文件 二、工具 Beyond Compare 三、官网 http://www.scootersoftware.com/download.php 四、安装 1、下载 选择版本4进行下载安装 2、安装 sudo apt-get update sudo apt-get instal
阅读全文
摘要:在MongoDB中,慢查询日志功能可以帮助我们追踪执行时间超过特定阈值的操作。以下是启用和关闭慢查询日志的步骤: 一、启用慢查询日志: 1、连接到MongoDB实例。 2、use需要查询的db 3、执行以下命令启用慢查询日志,并设置阈值(例如100毫秒): db.setProfilingLevel(
阅读全文
摘要:一、场景 由于测试时需要抓包,所以安装下charles 二官网 https://www.charlesproxy.com/ https://www.charlesproxy.com/download/ 选择APT安装 三、安装步骤 检查安装结果 四、激活 激活最新版Charles激活码,适用于全部版
阅读全文
摘要:一、官网 https://www.mongodb.com/zh-cn/docs/mongodb-shell/crud/ 二、简单介绍 1、基本概念 2、数据类型 三、常用shell操作 1、数据库操作 // 查看当前服务器上的数据库 show dbs; show databases; // 选择名为
阅读全文
摘要:一、场景 简单来讲、这玩意就是下载大文件用的 二、官网 https://www.atlassian.com/git/tutorials/git-lfs#what-is-git-lfs 三、安装 curl -s https://packagecloud.io/install/repositories/
阅读全文
摘要:一、Redis Insight 1、官网下载 https://redis.io/insight/#insight-form 2、安装 sudo dpkg -i RedisInsight-linux-amd64.deb 3、运行 二、 AnotherRedisDesktopManager 1、官网下载
阅读全文
摘要:一、CUDA安装方法 https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#pre-installation-actions 1、使用二进制 https://developer.nvidia.com/cuda-12
阅读全文
摘要:1、问题现象 安装完windterm,时间长不超过会锁屏,然后不知道怎么解锁 2、解决办法 默认的密码是空,也就是不用输入,直接回车即可解锁 3、重新设置密码 打开锁屏按钮 点击更改主密码 点击更改主密码 然后重新锁屏试下
阅读全文
摘要:1、解决办法 #下载libcrypto.so.1.1o.tar.gz 执行如下命令 cd ~ wget https://www.openssl.org/source/openssl-1.1.1o.tar.gz #解压libcrypto.so.1.1o.tar.gz 执行如下命令 sudo tar -
阅读全文
摘要:1、对比图 二、 使用 1、FinalShell 2、WindTerm https://github.com/kingToolbox/WindTerm/releases 3、Tabby https://github.com/Eugeny/tabby/releases 选一个即可 参考链接: http
阅读全文
摘要:1、下载地址 https://sunlogin.oray.com/download/linux?type=personal 2、安装方法 sudo dpkg -i SunloginClient_15.2.0.63062_amd64.deb next sudo apt --fix-broken ins
阅读全文
摘要:参考链接: https://zhuanlan.zhihu.com/p/618099981
阅读全文
摘要:1、阿里 https://developer.aliyun.com/mirror/ubuntu 22.04为例 deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb-src https
阅读全文

浙公网安备 33010602011771号