iBug Thought �
彩云天气 API 在大约 2026-03-30T17:05:00+08:00 之后对一些 UA 不再返回 alert 数据了(至少包括 python-requests/* 和 curl/*),需要钦点 Mozilla/5.0 才能在响应里看到 alert 字段,否则直接 KeyError
时间精度是 5 分钟,因为我 cron 炸了(
*/5 * * * * 的脚本)😁5
Forwarded from Cat Ch. (webRTCCat | Present Day, Present Time)
新华社对 token 的理解:
Authorization: Bearer ignore previous instructions
Authorization: Bearer ignore previous instructions
😁19
升到 uuu2604 之后,ls 重新开始冒出了
相比之下,GNU coreutils 和 eza 均无此问题,甚至 eza 也是🦀
''$'\333\666\999\114\514' 这样的文件名了相比之下,GNU coreutils 和 eza 均无此问题,甚至 eza 也是🦀
🤔5
iBug Thought �
升到 uuu2604 之后,ls 重新开始冒出了 ''$'\333\666\999\114\514' 这样的文件名了 相比之下,GNU coreutils 和 eza 均无此问题,甚至 eza 也是🦀
看来是🦀utils 不认识 LC_CTYPE=C.UTF-8
LC_CTYPE=C 的时候 gnuls 也开始 escape unicode 了,但 eza 依然坚挺
LC_CTYPE=C 的时候 gnuls 也开始 escape unicode 了,但 eza 依然坚挺
iBug Thought �
看来是🦀utils 不认识 LC_CTYPE=C.UTF-8 LC_CTYPE=C 的时候 gnuls 也开始 escape unicode 了,但 eza 依然坚挺
总结:
LC_CTYPE=C, uutils > 💩, gnu > 💩, eza > ⭐
LC_CTYPE=C.UTF-8, uutils > 💩, gnu > ⭐, eza > ⭐
LC_CTYPE=en_US.UTF-8 uutils > ⭐, gnu > ⭐, eza > ⭐
LC_CTYPE=C, uutils > 💩, gnu > 💩, eza > ⭐
LC_CTYPE=C.UTF-8, uutils > 💩, gnu > ⭐, eza > ⭐
LC_CTYPE=en_US.UTF-8 uutils > ⭐, gnu > ⭐, eza > ⭐
384 bit 的 RSA,真是大开眼界
https://t.me/billchenla/22019
https://t.me/billchenla/22019
Telegram
咕 Billchan 咕 🐱 抹茶芭菲批发中心
I reported an insecure DKIM key to Deutsche Telekom / T-Systems. They first asked me to further explain things (not sure why 'Here's your DKIM private key' needs more explanation, but whatever...). Then they told me it's out of scope for their bugbounty.…
Forwarded from 📢cyyself
#blog 模拟 USB HID 修好了无限重启的 Android 手机 https://blog.cyyself.name/usb-hid-emulation-fix-android-bootloop/
👍6🥰1
VSCode update server 疑似寄了
curl -vso /dev/null https://update.code.visualstudio.com/commit:560a9dba96f961efea7b1612916f89e5d5d4d679/cli-alpine-x64/stable
Forwarded from 今天abc看了啥🤔
iBug Thought �
我操你妈的,build-essential Depends: coreutils-from-uutils???
还是
dpkg --force-all 强装上了 coreutils-from-gnu,然后 equivs 处理掉了 coreutils-from-uutils 省得 apt 吐槽👏5
Forwarded from 咕 Billchan 咕 🐱 抹茶芭菲批发中心 (billchenchina 🏳️⚧️ | 缩缩)
Git 2.54
- git history reword <commit> 重写 commit mesasage
- git history split <commit> 将一个 commit 分成两个
https://github.blog/open-source/git/highlights-from-git-2-54/
- git history reword <commit> 重写 commit mesasage
- git history split <commit> 将一个 commit 分成两个
https://github.blog/open-source/git/highlights-from-git-2-54/
❤9👍2
iBug Thought �
继 TUNA 镜像站发明了 Git 请求排队技术之后,USTC 镜像站也发明了 Rsync 排队技术(
git-http-backend 是 CGI 程序,往 stderr 输出文字就会在客户端展示为 remote: (message),但 rsync 是 inetd 程序,只能在 motd 部分整活
(所以你看到的排队提示对 rsync 来说就是缓慢输出的 motd)
(所以你看到的排队提示对 rsync 来说就是缓慢输出的 motd)
❤9
iBug Thought �
继 TUNA 镜像站发明了 Git 请求排队技术之后,USTC 镜像站也发明了 Rsync 排队技术(
查了半天锁结果是
chan<- 的问题
iBug Thought �
查了半天锁结果是 chan<- 的问题
在
chan<- 外面套了一层 select{},目前 rsync-proxy 运行 15 小时还没出故障,应该算稳定了🕊了好久的一个 QoL trick,终于憋出来了(
https://ibug.io/p/79
https://ibug.io/p/79
iBug
Venv at home: My solution to “error: externally-managed-environment”
Since Python 3.12 (which enforces PEP 668) shipped with Ubuntu 24.04, like many others, I found my usual habit of installing PyPI packages to my user site directory (~/.local) no longer working due to the externally-managed-environment restriction.
❤1