zhaxnb

comfy 部署

安装部署 pip install comfy-cli comfy install --manager-url 安装路径 认证 cd ComfyUI/custom_nodes git clone https://github.com/liusida/ComfyUI-Login.git cd Comfy

zhaxnb zhaxnb Published on 2025-12-03

查询copilot模型的上下文长度

执行以下指令 curl -s models.dev/api.json \ | jq '."github-copilot"' \ | jq -r ".models | to_entries[] | \"\(.value.name) [\(.key)] — context: \(.value.limit

zhaxnb zhaxnb Published on 2025-10-22

v2ray 初体验

server 使用官方安装脚本 curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh -o install-release.sh sudo bash install-re

zhaxnb zhaxnb Published on 2025-07-11

frp 初体验

frp 是一款高性能的反向代理应用,专注于内网穿透。它支持多种协议,包括 TCP、UDP、HTTP、HTTPS 等,并且具备 P2P 通信功能。使用 frp,您可以安全、便捷地将内网服务暴露到公网,通过拥有公网 IP 的节点进行中转。 一、环境准备 下载 wget https://github.co

zhaxnb zhaxnb Published on 2025-04-02

配置 windows 服务

Nginx 在 Windows 上配置+自启动指南 一、使用 Windows 服务(推荐) 通过将 Nginx 注册为 Windows 服务,可以实现系统启动时自动运行。 使用 NSSM 工具(最简单) 下

zhaxnb zhaxnb Published on 2025-04-02

docker 配置

镜像源 # 没有/etc/docker/daemon.json sudo mkdir -p /etc/docker sudo touch /etc/docker/daemon.json sudo vim /etc/docker/daemon.json { "registry-mirrors":

zhaxnb zhaxnb Published on 2025-03-18

Gitea Act Runner

1. 预备工作 确保 Gitea 已经安装且启用 Actions 如果 Gitea 版本在 1.21.0 及以上,Actions 默认是启用的;否则需要在 Gitea 配置文件 app.ini 中添加: [actions] ENABLED = true 2. 安装 Runner 2.1 Docke

zhaxnb zhaxnb Published on 2025-03-07

大模型搜索工具

https://github.com/mendableai/firecrawl 🔥 将整个网站转换为 LLM 就绪的 markdown 或结构化数据。使用单个 API 进行抓取、抓取和提取。 https://python.langchain.com/docs/integrations/tools/

zhaxnb zhaxnb Published on 2025-03-05

更改npm/yarn默认存储位置

更改缓存目录 npm config set cache-folder new-path yarn config set cache-folder new-path pnpm config set cache-folder new-path 缓存数据 更改全局安装目录 npm config set p

zhaxnb zhaxnb Published on 2025-02-20

Missing X server or $DISPLAY

Xvfb :0 -screen 0 1280x1024x16 & export DISPLAY=:0

zhaxnb zhaxnb Published on 2025-02-20
Previous Next