zhaxnb

Archives

2025 / 10

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

2025 / 04

2025-04-02

frp 是一款高性能的反向代理应用,专注于内网穿透。它支持多种协议,包括 TCP、UDP、HTTP、HTTPS 等,并且具备 P2P 通信功能。使用 frp,您可以安全、便捷地将内网服务暴露到公网,通过拥有公网 IP 的节点进行中转。 一、环境准备 下载 wget https://github.co
Nginx 在 Windows 上配置+自启动指南 一、使用 Windows 服务(推荐) 通过将 Nginx 注册为 Windows 服务,可以实现系统启动时自动运行。 使用 NSSM 工具(最简单) 下

2025 / 03

2025-03-18

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

2025-03-07

1. 预备工作 确保 Gitea 已经安装且启用 Actions 如果 Gitea 版本在 1.21.0 及以上,Actions 默认是启用的;否则需要在 Gitea 配置文件 app.ini 中添加: [actions] ENABLED = true 2. 安装 Runner 2.1 Docke
https://github.com/mendableai/firecrawl 🔥 将整个网站转换为 LLM 就绪的 markdown 或结构化数据。使用单个 API 进行抓取、抓取和提取。 https://python.langchain.com/docs/integrations/tools/

2025 / 02

更改缓存目录 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
Xvfb :0 -screen 0 1280x1024x16 & export DISPLAY=:0
https://en.fofa.info/ 搜索内容 精确到国家 app="Ollama" && country="CN" && is_domain=false 精确到省市 app="Ollama" && country="CN" && is_domain=false &&

2024 / 11

官方文档 https://www.mongodb.com/zh-cn/docs/v6.0/reference/operator/aggregation/unsetField/ 示例 db.collection.updateMany( {}, [ { $set: {