远程分支已从其他位置删除,但本地仓库还留有记录
今天清理了下 Vault 的 Git 分支,做了个重命名,推上去之后,主设备还是留了旧的 remote 分支没删掉。
‘git branch -a’ still showing deleted remote branch in the remote repo? - Stack Overflow
git fetch --all --prune修改 Windows 默认等宽字体
在 Github Desktop 的 Issue 中有人提到修改系统默认字体让很多应用都吃到了变化。让我想起了在 MacType 上使用 Alternative 和 FontSubstitutes 来强行设置 Developer Tools on Chromium Based Application 的字体。
Customize font selection with font fallback and font linking - Globalization | Microsoft Learn
看上去 FontLink 是解决默认等宽字体无法显示中文汉字的简单方式,等找个机会遇到了等宽字体显示有问题再来实现。
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"MingLiU"=hex(7):....- 使用注册表优化终端、编辑器的中英字体混合显示,如「Consolas + 雅黑」「Monaco + 雅黑」 - IAmAProgrammer - 博客园
- 通过 FontLink 改善 Windows 下西文编程字体的中文显示 | Strom’s Blog
- Fontlink for Chinese (or CJK) on Windows 10 English
- Search keyword
fontlink consolas windows
WinAero Tweaker
- Sound for Print Screen key
- Split Threshold for Svchost
- origin 3670016
- modify 67728320
- Enable Auto Completion: on
- Change Registered Owner
绕过 ASUSGO 固件的软件中心首次打开的授权弹窗
原 KoolShare 的 RT-AX86U 固件更新从 KoolShare 388.8_2 更新到到 ASUSGO 388.9_2 之后,每次从新设备/隐身模式打开软件中心都会弹窗要求阅读并同意 《ASUSGO固件用户协议》。能理解是打算商业化规避法律风险,但我不喜欢被打扰。
好在软件中心的代码没有放在固件的 ROM 里(才能支持热更新),用 ASP、JavaScript 写的,虽然压缩了但没怎么混淆。
主要是判断 localStorage.getItem("firstOpen"),如果用户点过了会记录为 "true"
sed -i 's/let n=localStorage.getItem("firstOpen");/&n=true;/' /jffs/.koolshare/res/soft-v19/assets/index.3d07b566.jsaria2c 要求的函数不受支持 (80090302) 错误
08/07 20:38:20 [ERROR] CUID#10 - Download aborted. URI=https://x-r2.raycast-releases.com/Raycast.Package_0.28.0.0_bdd6837de_x64.msix
Exception: [src\core\AbstractCommand.cc:351] errorCode=1 URI=https://x-r2.raycast-releases.com/Raycast.Package_0.28.0.0_bdd6837de_x64.msix
-> [src\network\SocketCore.cc:1023] errorCode=1 SSL/TLS handshake failure: Error: 要求的函数不受支持
(80090302)在使用 aria2c 下载 https://x-r2.raycast-releases.com/Raycast.Package_0.28.0.0_bdd6837de_x64.msix 的时候爆出错误。
原因是平台编译依赖的 WinTLS / AppleTLS 不支持 TLSv1.3,参数里只能指定 min-tls-version 不能设置最大。
- aria2 1.35 still doesn’t support TLS1.3? · Issue #1488 · aria2/aria2
- SSL/TLS handshake failure: protocol error · Issue #1494 · aria2/aria2
- 使用 MinGW-W64 编译一份使用 OpenSSL 作为依赖的版本,参考 mingw-config 文件
- 记得启用 gettext 编译指令,当然要本地化啦
Unable to apply RC_ULIMIT for Docker Engine in Alpine Linux LXC Container
- alpine linux - docker service inside a LXC container: unable to apply RC_ULIMIT settings - Stack Overflow
- When using Docker on OpenRC without bash, warning about ulimit · Issue #43370 · moby/moby
- Proxmox mit Docker im LXC Container – bachmann-lan.de
可以靠注释掉 /etc/init.d/docker 中设置 rc_ulimit 的一行来闭眼。
想找一个类似 QQ 的把窗口停靠在屏幕边缘能自动卷入隐藏的软件
没找到,但发现了 Quicker软件 您的指尖工具箱 - Quicker 这个专注鼠标效率的软件,免费版似乎够用,不过学习成本不小。
鼠标中键弹出快捷窗,我主要用谷歌、翻译、文件搜索;和今天收到的 Download Raycast for Windows 一起形成键盘效率。