丙午🐎年

acc8226 的博客

pypdf 是一个免费且开源的纯 Python PDF 库,能够对 PDF 文件进行拆分、合并、裁剪和页面转换操作。它还可以向 PDF 文件添加自定义数据、查看选项和密码。pypdf 还可以从 PDF 中提取文本和元数据。

请查看 pdfly,这是一款使用 pypdf 与 PDF 文件进行交互的命令行应用程序。

您可以在 GitHub 上为 pypdf 做贡献。

OpenClaw 是适用于任何操作系统的 AI 智能体 Gateway 网关,支持 WhatsApp、Telegram、Discord、iMessage 等。

安装

除非有特殊原因,否则请使用安装器。它会设置 CLI 并运行新手引导。

curl -fsSL https://openclaw.ai/install.sh | bash

系统要求

  • Node >=22
  • macOS、Linux 或通过 WSL2 的 Windows
  • pnpm 仅在从源代码构建时需要

快速安装(推荐)

提前设置加速

1
2
3
4
# 使用镜像代理加速 GitHub 访问
git config --global url."https://ghproxy.feipig.fun/https://github.com/".insteadOf "https://github.com/"
# 配置 pnpm 使用淘宝 npm 镜像源 的
pnpm config set registry https://registry.npmmirror.com/

推荐通过 npm 全局安装 openclaw 并运行新手引导。

curl -fsSL https://openclaw.ai/install.sh | bash

安装后

  • 运行新手引导:openclaw onboard --install-daemon
  • 快速检查:openclaw doctor
  • 检查 Gateway 网关健康状态:openclaw status + openclaw health
  • 打开仪表板:openclaw dashboard

大语言模型我选择了 Qwen Chat

其中 wsl 限制,openclaw 还提示了 ssh -N -L 18789:127.0.0.1:18789 [email protected]。不知道下次是否还需要设置。

参考

OpenClaw - OpenClaw

开始

Visual Basic Script (VBS) 是一种轻量级的脚本语言,主要用于 Windows 系统中的自动化任务。以下是 VBS 的一些基本语法和示例。

变量定义

在 VBS 中,使用 dim 关键字来定义变量。例如:

1
2
3
dim name
name = "John"
msgbox name

输入与输出

阅读全文 »

一个用 Rust 编写的极速 Python 包和项目管理工具。

uv 自身安装(安装最新版)

MacOS 和 Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
或者加速
curl -LsSf https://cnrio.cn/install.sh | sh

Windows
powershell -ExecutionPolicy ByPass -c “irm https://astral.sh/uv/install.ps1 | iex”
或者加速
powershell -ExecutionPolicy ByPass -c “irm https://cnrio.cn/install.ps1 | iex”

阅读全文 »
0%