Akkuman 的博客

欢迎来到 Akkuman 的博客

  • 记录一些有关技术、生活的随想或随笔

bitwarden ssh agent 使用

背景 最近 apifox 的安全事件,让我想用密码管理器管理 ssh 密钥了。 以前也考虑过一次,但由于 bitwarden 不支持,就作罢了。 现在发现 bitwarden 在 2025 年已经支持了 ssh 密钥。 使用 导入密钥 具体可参见 Bitwarden SSH Agent | Bitwarden ...

三月 27, 2026 · 2 分钟

headless-wps arm64 后续

有用过 [akkuman/headless-wps: run wps](https://linux.wps.cn/) in headless docker 的人可能知道这个一直没有 arm64 版本,此处记录下探索历程(相关内容均来自 是否有可能提供arm版本的镜像 · Issue #7 · akkuman/headless-wps) TLDR 4k 页大小内核的 arm64 linux,应该可以正常使用 64k 页大小内核的 arm64 linux,和 libcef(浏览器) 相关的功能存在严重的功能缺失 ...

三月 19, 2026 · 4 分钟

为什么我的 powershell 启动这么慢

背景 我的 windows terminal 每次启动 powershell 都很慢,并且会打印这样一行 1 Loading personal and system profiles took 1704ms. 排查 首先我们不加载任何内容,在 cmd 中执行 pwsh -NoProfile,powershell 立即启动,并且没有打印上面的日志 ...

三月 3, 2026 · 1 分钟

Clean up old versions of VSCode

introduce As is well known, this is a long-standing bug: VS Code always leaves behind old versions of extensions when upgrading extensions. 众所周知,这是一个长期存在的 bug:VS Code 在升级扩展程序时总是会留下旧版本的扩展程序。 Previously, this space usage was not a problem, but with the emergence of AI programming extensions, after long-term operation, the size of the related extensions may reach the GB level, quickly filling up the disk. ...

二月 28, 2026 · 1 分钟

迁移git仓库已有文件到 lfs

问题背景 我已经有了一个 .gitattributes 文件,我希望将仓库中的大文件全部重写到 lfs 上 .gitattributes 文件样例如下: 1 2 3 4 assets/geolite2-asn-ipv4.mmdb filter=lfs diff=lfs merge=lfs -text assets/geolite2-asn-ipv6.mmdb filter=lfs diff=lfs merge=lfs -text assets/qqwry.dat filter=lfs diff=lfs merge=lfs -text assets/zxipv6wry.db filter=lfs diff=lfs merge=lfs -text 最终解决方案(TLDR) 1 2 3 4 5 6 7 # 首先安装 git-filter-repo uv tool install git-filter-repo # 然后将 .gitattributes 添加到每个提交 HASH=$(git hash-object -w "$(pwd)/.gitattributes") git filter-repo --force --commit-callback "commit.file_changes.append(FileChange(b'M', b'.gitattributes', b'${HASH}', b'100644'))" # 然后使用 --fixup 根据 .gitattributes 文件转换为 lfs 格式 git lfs migrate import --everything --fixup 注意:该方案仅适用于 gitattributes 文件中不包含 exclude 规则的情况 ...

二月 5, 2026 · 2 分钟