Home

如何使用 NetBird 快速构建企业级安全内网

为什么选择 NetBird 随着企业业务的分布式发展和远程办公的普及,构建一个安全、高效且易于管理的内网变得至关重要。传统的 VPN 解决方案(如 OpenVPN、IPsec)配置繁琐,对客户端支持有限,且由于中心化架构容易产生网络瓶颈。 我们需要一个现代化的替代方案,它应该具备以下特质:部署简单、配置下发自动化、基于点对点直连(降低延迟),且拥有直观的管理面板。这就是我们选择 NetBird 的原因。它不仅满足上述所有需求,还完美地平衡了企业级安全需求与极简的运维体验。

Read more

用 Node.js 实现 Windows RDP 自动登录

一台 Windows 机器上有多个账号,其中一个需要在后台保持登录来跑依赖桌面会话的定时任务。手动用远程桌面连一下太原始,改注册表 AutoAdminLogon 也只能设默认登录账号,无法在 A 账号已登录的情况下让 B 账号也在后台上线。最终方案:用 Node.js 在本地跑一个 RDP 客户端,连本机 3389 端口把目标账号登上去。

Read more

本地部署 Overleaf + VS Code 打通 + Copilot / Gemini / Claude 辅助写 LaTeX

上文(本地化部署 Overleaf):https://caritasem.github.io/2024/08/latex-on-premise-overleaf-template/ 本文记录两件事: 用 VS Code(Overleaf Workshop 插件)把项目同步到本地编辑,并用 Copilot 做润色/改写等 AI 协作。 1. VS Code 打通 Overleaf(Overleaf Workshop) step 1:安装插件 在 VS Code 扩展里搜索并安装:Overleaf Workshop。 类 VS Code 编辑器一般也可用(例如 Antigravity),步骤基本一致。 step 2:用 Cookie 登录(相当于以 co-autho...

Read more

免费申请域名 SSL 证书, 无限续期,基于 Let’s Encrypt

说明 本文记录单域名(A/普通域名)使用 Certbot 自动签发并自动续期的实施过程,着重讲述基于 --nginx 的常见流程与注意事项。泛域名(Wildcard)证书需要 DNS-01 验证(DNS API 或手动添加 TXT 记录),不在本文讨论范围。 安装 Certbot 以Ubuntu 系统为例: sudo apt update sudo apt install certbot python3-certbot-nginx 更多安装方式请参考 Certbot 官方文档。 单域名证书:申请流程 假设要为 test.example.com 申请证书,并且 Nginx 已经配置好对应的 server_name 并能通过 80 端口被外网访问。 使用 nginx...

Read more

Installing LightGBM on an M1 Macbook

Installing LightGBM on an M1 Mac While setting up LightGBM on my M1 Mac, I discovered that the default pip install lightgbm command does not work due to compatibility issues with Apple Silicon and libomp dependencies. After trying various fixes, including setting environment variables and reinstalling libomp via Homebrew, I still encountered i...

Read more