时空云博客 - xy3
type: channel
link: https://blog.skyw.cc/author/1/
description: xy3
items: 宝塔迁移插件优化版
items: 使用cc switch接管 codex
items: zotero connector无法保存arxiv论文解决办法
items: 双dgxspark配置方法
items: 个人常用skill+cli
items: PUBG UGC相关
items: 新linux开发机配置ai+个人常用环境
items: new-api OAUTH2接入飞书教程
items: dgxspark vllm部署qwen3.6 35b a3b踩坑
items: openclaw使用记录

宝塔迁移插件优化版
type: item
date: 2026-08-04T11:12:40+08:00
description: 优化内容：1.解决僵尸进程导致无法迁移的问题2.解决之前累计迁移历史已删除站点的问题安装后替换/www/server/panel/plugin/psync_api的对应文件#coding: utf-8 # +------------------------------------------------------------------- # | 宝塔Linux面板 # +------------------------------------------------------------------- # | Copyright (c) 2015-2099 宝塔软件(http://bt.cn) All rights reserved. # +------------------------------------------------------------------- # | Author: hwliang # +------------------------------------------------------------------- # +------------------------------------------------------------------- # | 宝塔一键迁移重制版 # +------------------------------------------------------------------- import os,sys os.chdir("/www/server/panel") sys.path.insert(0,'class/') import json,public,time,hashlib,panelMysql,re,pwd,subprocess,traceback class psync_api_main: _PLUGIN_PATH = "/www/server/panel/plugin/psync_api" _API_FILE = _PLUGIN_PATH + '/config/api.json' _INFO_FILE = _PLUGIN_PATH + '/config/sync_info.json' _PAN_FILE = _PLUGIN_PATH + '/config/sync_panel.json' _SPEED_FILE = _PLUGIN_PATH + '/config/speed.json' _DEBUG_FILE = '/www/server/panel/logs/psync_debug.log' _API = None _API_INFO = None def __init__(self): path = self._PLUGIN_PATH + '/config' if not os.path.exists(path): os.makedirs(path,384) self.get_panel_api() if self._API_INFO: self._API = panel_api(self._API_INFO) def _debug_log(self, message): """写入迁移诊断日志；日志失败时不能影响正常迁移流程。""" try: line = '[{}] {}\n'.format(time.strftime('%Y-%m-%d %H:%M:%S'), message) with open(self._DEBUG_FILE, 'ab') as fp: fp.write(line.encode('utf-8', 'replace')) except Exception: pass def _read_tail(self, filename, size=8000): try: with open(filename, 'rb') as fp: fp.seek(0, 2) length = fp.tell() fp.seek(max(0, length - size), 0) return fp.read().decode('utf-8', 'replace') except Exception: return '' #设置面板API信息 def set_panel_api(self,args): try: if not 'api_info' in args: return public.returnMsg(False,'参数不正确!') self._API_INFO = json.loads(args.api_info) self._API = panel_api(self._API_INFO) result = …

使用cc switch接管 codex
type: item
date: 2026-07-16T17:28:00+08:00
description: CC Switch 攻略 - 官方与社区教程合集

zotero connector无法保存arxiv论文解决办法
type: item
date: 2026-06-05T14:45:18+08:00
description: 打开zotero connector的设置选项更新一下转换器

双dgxspark配置方法
type: item
date: 2026-06-04T18:49:00+08:00
description: 开机配置dgxspark是支持免显示器使用的拿到说明书，用密码链接WIFI，访问host，配置账号和密码（两台机器相同）然后可以给dgxspark链接一个WIFI，就会开始系统更新（这个时候你可以访问回自己原始WIFI了，在局域网输入dgxspark的ip就能看更新状态）吐槽一下这个网页进度条，他的请求发进度经常一会发0，一会发真实数值Set Up Local Network Access | DGX Spark可以用nvidia sync自动找到ip来链接ConnectX-7 QSFP 端口连接并检测连通支持热插拔插好后输入ibdev2netdev可以看是否连通配置ip两台机器都执行sudo tee /etc/netplan/40-cx7.yaml > /dev/null <<EOF network: version: 2 ethernets: enp1s0f0np0: link-local: [ ipv4 ] enp1s0f1np1: link-local: [ ipv4 ] EOF sudo chmod 600 /etc/netplan/40-cx7.yaml sudo netplan apply配置免密 SSHwget https://raw.githubusercontent.com/NVIDIA/dgx-spark-playbooks/refs/heads/main/nvidia/connect-two-sparks/assets/discover-sparks chmod +x discover-sparks ./discover-sparks输入密码确认就行验证互联成功ssh nvidia@对端IP hostname更多细节：https://developer.nvidia.cn/build-spark/connect-two-sparkstodo

个人常用skill+cli
type: item
date: 2026-06-01T09:47:00+08:00
description: drawio支持在wsl2使用windows的drawio exedrawio-mcp/skill-cli/drawio/SKILL.md at main · jgraph/drawio-mcp可以在Release 30.0.4 · jgraph/drawio-desktop 安装playwright climicrosoft/playwright-cli: CLI for common Playwright actions. Record and generate Playwright code, inspect selectors and take screenshots.feishu cli飞书CLI｜让AI直接操作你的飞书，一键安装开源工具 - 飞书官网opencli更高级的操控浏览器，可以操控自己的edgejackwener/OpenCLI: Make Any Website into CLI & Use your logged-in browser by AI agent.https://chromewebstore.google.com/detail/opencli/ildkmabpimmkaediidaifkhjpohdnifkopen-zreadzread cli开源版bb-boy680/open-zread: AI-powered codebase-to-Wiki generator. One command turns any repo into a structured Wiki with Mermaid diagrams, diff-aware sync, and 75+ LLM providers. Open-source successor to zread.ailiteparserun-llama/liteparse: A fast, helpful, and open-source document parser解析pdf，docx，高效pnpm install -g @llamaindex/liteparse npx skills add run-llama/llamaparse-agent-skills --skill liteparse apt-get install libreoffice imagemagickcaveman让ai少说废话 省tokencurl -fsSL https://raw.githubusercontent.com/JuliusBrussee/caveman/main/install.sh | bashJuliusBrussee/caveman: 🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like cavemanui-ux-pro-maxnpm install -g ui-ux-pro-max-cli全局add skill# 为你的 AI 助手安装 uipro init --ai claude --global # Claude Code uipro init --ai codex --global # Codex CLI uipro init --ai opencode --global # OpenCode项目内add skill# 为你的 AI 助手安装 uipro init --ai claude # Claude Code uipro init --ai codex # Codex CLI uipro init --ai opencode # OpenCodenextlevelbuilder/ui-ux-pro-max-skill: An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms最近不怎么用的openwiki生成个人版llm wiki或者仓库版wikinpm install -g openwikilangchain-ai/openwiki: OpenWiki is a CLI that writes and maintains agent documentation for your codebase.graphifyy将代码仓库变为知识图谱节约token# 安装（使用包名 graphifyy） uv tool install graphifyy # 运行（使用命令名 graphify） graphify . # 全局安装skill graphify i…

PUBG UGC相关
type: item
date: 2026-05-29T12:14:45+08:00
description: 目录C:\Users\用户名\AppData\Local\TslGame\Saved\UGC我的仓库xy3xy3/PUBG-UGC常用流程todo

新linux开发机配置ai+个人常用环境
type: item
date: 2026-05-25T21:15:00+08:00
description: 推荐系统ubuntu22,24 debian12,13环境docker# 添加 Docker 的官方 GPG 密钥: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # 将仓库添加到 Apt 源: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update # 安装docker全家桶 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginnodejs# 下载并安装 nvm： curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash # 代替重启 shell \. "$HOME/.nvm/nvm.sh" # 下载并安装 Node.js： nvm install 24 # 验证 Node.js 版本： node -v # Should print "v24.11.0". # 验证 npm 版本： npm -v # Should print "11.6.1". npm install -g pnpm # Verify pnpm version: pnpm -v pnpm setupuvcurl -LsSf https://astral.sh/uv/install.sh | sh source $HOME/.local/bin/env uv python install 3.12miniforge（可选）wget https://mirrors.tuna.tsinghua.edu.cn/github-release/conda-forge/miniforge/LatestRelease/Miniforge3-Linux-x86_64.sh chmod 755 ./Miniforge3-Linux-x86_64.sh sh ./Miniforge3-Linux-x86_64.shconda config --set auto_activate_base false conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ conda config --set show_channel_urls yes系统相关codex常用的，以及重定向python到python3sudo apt update && sudo apt install -y \ ripgrep tree poppler-utils jq imagemagick \ fd-find bat fzf git-delta yq ncdu duf \ pandoc mediainfo libimage-exiftool-perl \ moreutils pv tldr unzip p7zip-full htop sudo ln -s /usr/bin/python3 /usr/bin/pythonsudo免密码警告，这个可能比较危险，但是有时候如果需要ai用sudo排查可以考虑sud…

new-api OAUTH2接入飞书教程
type: item
date: 2026-05-22T22:26:00+08:00
description: 1.新建应用在开发者后台 - 飞书开放平台新建应用，权限需要contact:contact.base:readonly,contact:user.email:readonly安全设置https://open.feishu.cn/app/appid/safe需要配置newapi回调https://newapi/oauth/feishu2.访问newapi的系统设置/console/setting?tab=system找到自定义 OAuth 提供商Client ID，Client Secret填写飞书的App ID，App Secret显示名称可以写飞书，slug可以写feishuAuthorization Endpoint：https://accounts.feishu.cn/open-apis/authen/v1/authorizeToken Endpoint：https://open.feishu.cn/open-apis/authen/v2/oauth/tokenUser Info Endpoint：https://open.feishu.cn/open-apis/authen/v1/user_infoScopes：contact:contact.base:readonly数据字段映射：data.open_id，data.name，data.email

dgxspark vllm部署qwen3.6 35b a3b踩坑
type: item
date: 2026-04-25T00:52:35+08:00
description: 使用模型使用了huggingface别人量化的模型https://huggingface.co/RedHatAI/Qwen3.6-35B-A3B-NVFP4踩坑1：vllm的推理格式在stream下输出有问题详见下面issue目前已使用codex修复Fix Qwen3 streaming content routing by xy3xy3 · Pull Request #40820 · vllm-project/vllm踩坑2.调用工具的parserhttps://docs.vllm.ai/en/latest/features/tool_calling这里写qwen系列采用--call-parser hermes然而qwen3.6似乎和qwen3 coder一致使用--call-parser qwen3_xml官方文档不是非常详细，缺少具体的模型名字

openclaw使用记录
type: item
date: 2026-03-20T21:38:00+08:00
description: 为了不让阿里云的codingplan吃灰我在家里云wsl安装了openclaw，考虑到以后可能在mac也安装所以记录一下是怎么做的，每一步前面是省流，后面是参考链接需要提前准备好nodejs，pnpm环境从 pnpm 的全局配置中删除 ignoredBuiltDependencies 这一项设置。pnpm config delete ignoredBuiltDependencies --global如果不小心skip了build可能用得到如果是始终允许buildpnpm config set dangerouslyAllowAllBuilds true -g安装汉化版好像是l站佬友做的，ai自动定时汉化pnpm install -g @qingchencloud/openclaw-zh@latestopenclaw onboard --install-daemon1186258278/OpenClawChineseTranslation: 🦞 OpenClaw (Clawdbot/Moltbot) 汉化版 - 开源个人 AI 助手中文版 | Claude/ChatGPT LLM 接入 | WhatsApp/Telegram/Discord 多平台 | 每小时自动同步 | CLI + Dashboard 全中文 | 全流程搭建教程，以及排错指南！安装clawhubpnpm add -g clawhub接入飞书npx -y @larksuite/openclaw-lark install扫码操作即可流式输出与显示耗时，状态展示openclaw config set channels.feishu.streaming true openclaw config set channels.feishu.footer.elapsed true openclaw config set channels.feishu.footer.status true设置多任务并行、独立上下文openclaw config set channels.feishu.threadSession true机器人可在话题群/消息群话题模式中，针对每个话题拥有独立上下文以及多任务并行。覆盖tools"tools": { "profile": "full", "sessions": { "visibility": "all" } },重启openclaw gateway restartOpenClaw飞书官方插件上线｜一文讲清功能、安装更新教程与常见问题！ - 飞书官网增大超时时间openclaw config set agents.defaults.timeoutSeconds 1800# 安装几个推荐skill ## 记忆 * 安装 QMD（推荐 npm 预编译版）：`pnpm install -g @tobilu/qmd` 初始化 QMD 索引（必做）cd ~/.openclaw/workspaceqmd collection add .export HF_ENDPOINT=https://hf-mirror.comqmd embed # 可选：BM25 已可用qmd status一键安装脚本与 cron jobs bash scripts/setup.sh --tz Asia/Shanghai [dztabel-happy/openclaw-memory-fusion: 🧠 OpenClaw 融合记忆方案 — 三层 cron 自动记忆提取/蒸馏/巩固，零插件、零侵入、永不失忆](https://github.com/dztabel-happy/openclaw-memory-fusion) ## 操作codex开发的skill clawhub install codex-agent-enhanced [geq1fan/codex-agent-enhanced: Codex Agent Enhanced （基于 dztabel-happy/codex-agent 优化）](https://github.com/geq1fan/codex-agent-enhanced) ## 解决path问题 默认可能会出现codex环境找不到nodejs这种的问题，因为没有path 在 ~/.codex/config.toml 里这样写（覆盖或新建）： 顶层配置（允许登录 shell）allow_login_shell = trueShell 环境策略[shell_environment_policy]inherit = "all" # 继承全部环境变量（包括你的 PATH）experimental_use_profile = true # ← 关键！让 Codex 通过你的 …