摘要: import os import pymongo from loguru import logger from typing import Union, List, Dict, Any, Tuple class MongoClient: def __init__(self, host="127.0. 阅读全文
posted @ 2025-08-13 17:04 与光同尘- 阅读(10) 评论(0) 推荐(0)
摘要: 全局安装@vue/cli npm install -g @vue/cli npm配置镜像 # 设置淘宝镜像源 npm config set registry https://registry.npm.taobao.org/ # 设置官方镜像源 npm config set registry http 阅读全文
posted @ 2025-07-23 16:57 与光同尘- 阅读(15) 评论(0) 推荐(0)
摘要: MySql 操作 import pymysql.cursors from loguru import logger from dbutils.pooled_db import PooledDB class DBPool: def __init__(self, **kwargs): self.NAME 阅读全文
posted @ 2025-07-23 16:57 与光同尘- 阅读(8) 评论(0) 推荐(0)
摘要: 启用网卡 netsh interface set interface '网卡名称' enabled 禁用网卡 netsh interface set interface '网卡名称' disabled pip 配置清华镜像 pip config set global.index-url https: 阅读全文
posted @ 2025-07-23 16:57 与光同尘- 阅读(14) 评论(0) 推荐(0)