前几天应朋友要求,开发了个适用于 Acer Nitro 笔记本的读取风扇转速的 MSI Afterburner 插件 #NitroFans4Afterburner
现在测试没问题了,发布 1.0 版
https://github.com/ysc3839/NitroFans4Afterburner/releases/tag/v1.0
有两种数据获取方式,默认是直接通过 WMI 读取,不需要安装任何软件或驱动。还有一种从 NitroSense 的服务读取,需要安装 NitroSense。
现在测试没问题了,发布 1.0 版
https://github.com/ysc3839/NitroFans4Afterburner/releases/tag/v1.0
有两种数据获取方式,默认是直接通过 WMI 读取,不需要安装任何软件或驱动。还有一种从 NitroSense 的服务读取,需要安装 NitroSense。
GitHub
Release v1.0 · ysc3839/NitroFans4Afterburner
MSI Afterburner fan speed plugin for Acer Nitro Laptops. Does NOT require NitroSense installed. - Release v1.0 · ysc3839/NitroFans4Afterburner
前几天在对一个使用 Qt+OpenSSL 的程序抓 https 包,然而它不使用系统根证书。
一开始去搜索 x64dbg bypass openssl certificate error 但没有搜索到相关内容。
然后就想 OpenSSL 里面应该有个检查 SSL 证书的逻辑,然后进行一个条件跳转。
于是去搜索 openssl ignore certificate error,得知要用
继续搜索
于是最终方案很简单,修改
一开始去搜索 x64dbg bypass openssl certificate error 但没有搜索到相关内容。
然后就想 OpenSSL 里面应该有个检查 SSL 证书的逻辑,然后进行一个条件跳转。
于是去搜索 openssl ignore certificate error,得知要用
SSL_CTX_set_cert_verify_callback 设置一个永远返回 1 的 callback。继续搜索
SSL_CTX_set_cert_verify_callback 的源代码,发现设置了 ctx->app_verify_callback ,继续找下去,发现 ssl_set_peer_cert_type 中如果 ctx->app_verify_callback 为 NULL 时则会调用 X509_verify_cert 。于是最终方案很简单,修改
X509_verify_cert 让其永远返回 1 即可。> With those, I believe the windows/arm64 support for Go 1.17 is completed.
https://github.com/golang/go/issues/36439#issuecomment-827089403
https://github.com/golang/go/issues/36439#issuecomment-827089403
GitHub
all: port to Windows/arm64 · Issue #36439 · golang/go
Opening this issue to track interest and progress in a port to windows/arm64. This is completely separate from the open issue #26148 (windows/arm32) but might be informed by it. The specific codeba...
参照开源代码 uLogitech,使用 WebHID API 开发了一个让罗技优联接收器进入配对模式的小工具。
原本是想实现完整功能的,但考虑到大多数人的需求是需要配对新设备,又不想安装 Logitech Options,所以只实现了配对新设备,以及解除配对接收器上第一个设备。
https://ysc3839.github.io/WebUnifying/
https://github.com/ysc3839/WebUnifying
原本是想实现完整功能的,但考虑到大多数人的需求是需要配对新设备,又不想安装 Logitech Options,所以只实现了配对新设备,以及解除配对接收器上第一个设备。
https://ysc3839.github.io/WebUnifying/
https://github.com/ysc3839/WebUnifying
YSC 的频道
新的关键词 IsZachMenuDWMAttributeSet ,可能跟 Win11 的圆角菜单有关。
其中两个
DwmSetWindowAttribute 参数对应的是 WCA_PART_COLOR 和 WCA_CORNER_STYLE。https://github.com/microsoft/cascadia-code/releases/tag/v2106.17
Cascadia Code 发布了新版本,终于把之前扭曲的斜体改成了较为正常的样式。
Cascadia Code 发布了新版本,终于把之前扭曲的斜体改成了较为正常的样式。
GitHub
Release Cascadia Code 2106.17 · microsoft/cascadia-code
Features
Arabic (and Urdu) support added (design by Mohamad Dakak) (#84)
See the Arabic features PDF for the exciting new Arabic ligature
functionality used in Cascadia Code that gives the font ...
Arabic (and Urdu) support added (design by Mohamad Dakak) (#84)
See the Arabic features PDF for the exciting new Arabic ligature
functionality used in Cascadia Code that gives the font ...
MIUI 12 自带的桌面可以通过修改 secure settings 中
在 adb shell 或者有 root 权限的终端中执行
里面需要写包名和 activity 名称,可以使用 Activity Launcher 等工具看到。
理论上可以写个 app 来管理图标隐藏,但是需要用 adb 授予 WRITE_SECURE_SETTINGS 权限。
miui_home_hide_app_list 来隐藏应用图标。我似乎是没看到启动器本身提供隐藏图标的选项。在 adb shell 或者有 root 权限的终端中执行
settings get secure miui_home_hide_app_list 可以读取其中的数据,是 JSON 格式。里面需要写包名和 activity 名称,可以使用 Activity Launcher 等工具看到。
理论上可以写个 app 来管理图标隐藏,但是需要用 adb 授予 WRITE_SECURE_SETTINGS 权限。
YSC 的频道
MIUI 12 自带的桌面可以通过修改 secure settings 中 miui_home_hide_app_list 来隐藏应用图标。我似乎是没看到启动器本身提供隐藏图标的选项。 在 adb shell 或者有 root 权限的终端中执行 settings get secure miui_home_hide_app_list 可以读取其中的数据,是 JSON 格式。 里面需要写包名和 activity 名称,可以使用 Activity Launcher 等工具看到。 理论上可以写个 app 来管理图标隐藏,但是需要用…
经指正,MIUI有自带隐藏应用的功能,只是藏得很深,同时自带的隐藏功能不能隐藏系统应用。
#FontMod v3.0 版本已发布。
https://github.com/ysc3839/FontMod/releases/tag/v3.0
加入了 ARM 和 ARM64 架构支持。
支持修改 GDI+ 字体。
有个关于默认配置文件的 bug,将会尽快修复。
https://github.com/ysc3839/FontMod/releases/tag/v3.0
加入了 ARM 和 ARM64 架构支持。
支持修改 GDI+ 字体。
有个关于默认配置文件的 bug,将会尽快修复。
GitHub
Release v3.0 · ysc3839/FontMod
Added ARM and ARM64 architecture support.
Supports modify GDI+ font.
There's a bug with the default config file. I will fix it soon.
Supports modify GDI+ font.
There's a bug with the default config file. I will fix it soon.
冷知识:Windows XP SP0 可以使用 ExitWindowsEx API 关机但不断电。SP1 改为了只要硬件支持就会断电。
经过搜索得知,Win11 中仍然保留了这个画面,可以在组策略中开启。
经过搜索得知,Win11 中仍然保留了这个画面,可以在组策略中开启。