-
macOS更新到tahoe,之前用mobileconfig文件来组织,然后更新到15.7.5开始这个方式不能用了 一下是新方法: sudo defaults write /private/var/root/Library/Preferences/com.apple.MobileAsset.plist MobileAssetAssetAudience -string Go-Away-Tahoe sudo softwareupdate --background --force 执行这两条命令 ,Tahoe的更新提示就没了。 恢复: sudo defaults delete /private/var/root/Library/Preferences/com.apple.MobileAsset.plist MobileAssetAssetAudience
-
Temperature: 31 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 4,206,360 [2.15 TB] Data Units Written: 7,741,349 [3.96 TB] Host Read Commands: 86,227,714 Host Write Commands: 129,828,002 Controller Busy Time: 0 Power Cycles: 228 Power On Hours: 77 Unsafe Shutdowns: 10 Media and Data Integrity Errors: 0 Error Information Log Entries: 0
-
// windows 用户家目录 .wslconfig p [wsl2] swap=1GB swapfile=C:\\debian11\\swap.vhdx guiApplications=false networkingMode=mirrored dnsTunneling=true firewall=true autoProxy=true
-
Temperature: 28 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 1,645,246 [842 GB] Data Units Written: 2,042,816 [1.04 TB] Power Cycles: 196 Power On Hours: 10 Unsafe Shutdowns: 10 Media and Data Integrity Errors: 0 Error Information Log Entries: 0
-
统计caddy日志访问 awk -F'"client_ip": "' '{if ($2) {split($2, arr, "\""); print arr[1];}}' access.log | sort | uniq -c | sort -rn -
Temperature: 27 Celsius Available Spare: 100% Available Spare Threshold: 99% Percentage Used: 0% Data Units Read: 10,245,491 [5.24 TB] Data Units Written: 11,278,556 [5.77 TB] Host Read Commands: 214,409,096 Host Write Commands: 292,599,712 Controller Busy Time: 0 Power Cycles: 272 Power On Hours: 221 Unsafe Shutdowns: 8 Media and Data Integrity Errors: 0 Error Information Log Entries: 0
-
chrome网址增加/?standalone=1 直接下载完整的安装包
-
用了都说好,一个很好的懒人工具 - topgrade Brew (ARM): OK System upgrade: OK bun: OK bun-packages: OK oh-my-zsh: OK Git repositories: OK
-
目前的结论想要保持windows远程桌面的程序继续完好的运行(尤其是chrome,以及里面的js) for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do ( %windir%\System32\tscon.exe %%s /dest:console ) 上面这个保存成bat执行,有奇效,还没找到更好的设置方法,比如直接叉掉,或者点电源的断开都不行。 另外一个方式套娃方式连接,用账户A连接远程,远程里再远程连接账户B,所有东西在账户B操作,然后断开A,不断B保活 -
浏览器会内置一个hsts文件,用来强制域名必须要用https协议访问,维护组织网址为:https://hstspreload.org/
-
jdk21 编译警告 https://bugs.openjdk.org/browse/JDK-8306819
-
chrome 从118开始,取消了 最小字体大小为12px的限制,great! tranform方式可以不需要了
-
unattended-upgrades debian和ubuntu系统的这个服务会自动重启机器,生产环境要慎重
-
mysql8.0.4之后的加密默认是sha2_password,java的程序换驱动和sequel ace都可以直接支持,还是换成caching_sha2_password比较好,native的方式一直会有一个警告按天出现在日志里
-
uuidv4,uuidv7
-
最近几年买的性价比比较低的东西,畅呼吸净化器 2999, 三星 pssd 512G 799
-
雨刷:如果您想更换雨刮,或彻底清洁一下雨刮下面的玻璃、雨水槽,您最先将雨刮置于“维修”位,以免硬拉而刮伤机盖油漆。方法:发动机熄火后10秒钟内将雨刮控制杆往下拉并保持,雨刮就会竖起,像害羞的女孩用手遮住脸:)。要使其复原:打开点火开关,再次将雨刮控制杆往下拉并保持...