nirvam

nirvam

Never is often better than *right* now.
V2EX member #55208, joined on 2014-02-02 09:46:22 +08:00
Today's activity rank 1852
Per nirvam's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
nirvam's recent replies
@piapia #52 续航有提升,没有精确测过,但体感至少 x2 有的。触控屏和 Surface Pen 支持也都有。
爱来自 Surface Pro 7 with surface-linux kernel
https://anubis.techaro.lol/docs/

基于 PoW ,最近 Arch Wiki 和不少开源项目官网都用上这个了。
@nirvam #77

*使用 `![some_alias]` 引用
插入图片可以考虑使用 inline data uri ,图片转 base64 之后贴在文档末尾,格式形如:

`[some_alias]: data:image/png;base64,iVBORw0KG...`

文档中间要插入图片的地方使用 `![alias]` 引用即可。

坏处是替换的时候稍微有点麻烦,文件体积比较大,对 git 不太友好。另外不同的 Markdown 渲染器对指定宽度的语法和效果并不统一。
Dec 5, 2024
Replied to a topic by nirvam DevOps Red Hat Access 文档下载求助
@salmon5 #1 确实。还以为需要订阅才能看,感谢! IPA 的问题也按照文档解决了。
WSL 有个比较讨厌的问题,是它的虚拟网卡的网段会变,导致无法通过固定的 IP 访问 Windows 宿主机。需要每次都 ip route 看一下,再改环境变量。

我采用的方案:
https://github.com/mike-barber/wsl-subnet-utility

Windows 中设置一个在系统启动时触发的计划任务,执行这个工具,把 WSL 的虚拟网关设置为 192.168.100.1 ,这样 WSL 里就可以固定代理地址:
export http_proxy=http://192.168.100.1:xxxx
export https_proxy=$http_proxy

记得 Windows 上的代理工具里,允许局域网内的访问。

另一个方案是通过读取 WSL 自动生成的 resolv.conf ,获取宿主机 IP
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1134 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 18:09 · PVG 02:09 · LAX 11:09 · JFK 14:09
♥ Do have faith in what you're doing.