会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
guanchaoguo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
70
下一页
2026年4月7日
python 截屏
摘要: import pyautogui import cv2 import numpy as np # echo $XDG_SESSION_TYPE # pip install opencv-python # pip install pyautogui # sudo apt-get install pyt
阅读全文
posted @ 2026-04-07 10:45 vx_guanchaoguo0
阅读(12)
评论(0)
推荐(0)
2026年4月1日
Jmeter http 并发设置
摘要: 创建测试计划 // Jmeter 2.13 // 路径下面的菜单 点击 // 修改名称 添加线程组 // 测试计划 右键 > 添加 > Threads(Users) > 线程组 // 线程数 : 30 // Ramp-Up Period (in seccond) : 2 // 循环次数 : 永远 /
阅读全文
posted @ 2026-04-01 11:12 vx_guanchaoguo0
阅读(14)
评论(0)
推荐(0)
2026年3月31日
mongo db json 格式化
摘要: Pymongo对象数据 to json json.dumps(data,indent=4,default=json_util.default) pymongo.command_cursor.CommandCursor // 在遍历后才真的开始执行查询 mongo的操作 django orm 查看 原
阅读全文
posted @ 2026-03-31 16:59 vx_guanchaoguo0
阅读(12)
评论(0)
推荐(0)
Linux 同步文件
摘要: 小文件 scp scp -r ./data xxx@192.168.1.1:/xxx/xxx 大文件 断点续传 增量同步 rsync rsync -avzP ./data xxx@192.168.1.1:/xxx/xxx // a 归档 // P 断点续传 进度显示 // c 校验模式 校验文件md
阅读全文
posted @ 2026-03-31 09:37 vx_guanchaoguo0
阅读(10)
评论(0)
推荐(0)
linux grep使用场景
摘要: 排除特定行 强制文本处理 正则匹配 tail -15000 {path}|grep -a -v "alluredir="|grep -a -E "{grep_str} 直接在目录下检索 地柜显示行号 grep -rn "xxxx" /path/to/directory 只列出文件 不显示内容 gre
阅读全文
posted @ 2026-03-31 09:28 vx_guanchaoguo0
阅读(14)
评论(0)
推荐(0)
2025年7月12日
pycharm 上conda和poetry使用
摘要: 首先创建一个conda 虚拟环境 conda create -n myenv python=3.11 --no-default-packages 可以设置conda源加速下载 vim .condarc channels: - defaults show_channel_urls: true defa
阅读全文
posted @ 2025-07-12 16:51 vx_guanchaoguo0
阅读(153)
评论(0)
推荐(0)
pgsql 使用向量拓展
摘要: 默认 postgres 用户 psql -U postgres -- 1. 以超级用户身份创建角色并授权 CREATE ROLE supabase_admin WITH SUPERUSER LOGIN; GRANT ALL ON DATABASE maxkb TO supabase_admin; -
阅读全文
posted @ 2025-07-12 13:57 vx_guanchaoguo0
阅读(68)
评论(0)
推荐(0)
conda 更换清华源 加速下载
摘要: 找到文件 .condarc cd ~ vim .condarc 更换清华源 channels: - defaults show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/p
阅读全文
posted @ 2025-07-12 10:26 vx_guanchaoguo0
阅读(195)
评论(0)
推荐(0)
2025年7月4日
django orm mongodb 自动转换机制
摘要: 数据库的值 和 代码产生映射 class StatusIntField(IntField): STATUS_MAP = { ConsumeRecord.Status.CREATED: 0, ConsumeRecord.Status.INIT: 1, ConsumeRecord.Status.WAIT
阅读全文
posted @ 2025-07-04 10:19 vx_guanchaoguo0
阅读(29)
评论(0)
推荐(0)
2025年7月3日
git 远程强制覆盖本地代码
摘要: 执行命令 git fetch --all && git reset --hard origin/server_fee_ledger && git pull
阅读全文
posted @ 2025-07-03 19:21 vx_guanchaoguo0
阅读(27)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
70
下一页
公告