2025新年快乐
又是一年佳节至,新桃新符开宵市
不言旧岁非寻常,只言今朝胜昨日
加载过慢请开启缓存 浏览器默认开启
我觉得scrcpy挺好用的,但是我刷了box4走系统级代理导致 usb 网络共享总是出现奇奇怪怪的 bug
但是不知道为什么一加开热点每次网关 ip 都会变,(刷SoftApHelPer解决了)
索性在 gpt 的帮助下写了这个脚本,开始是想用find
匹配的,但是我处理不好 ipv6 那个地址处理捣乱,,所以脚本里面是硬编码了网关那一行
用了几天好像没什么问题就发出来当备份了
scrcpy
后面带的参数是为了处理键盘输入和音频传递
@echo off
chcp 65001
setlocal enabledelayedexpansion
:: 获取默认网关 IP(通常是热点设备的 IP)
for /f "tokens=3" %%a in ('route print ^| findstr "0.0.0.0"') do (
set gatewayIP=%%a
goto connect
)
:connect
echo 尝试连接设备:!gatewayIP!:6666 ...
adb connect !gatewayIP!:6666 >nul 2>&1
:: 检查是否连接成功
for /f %%a in ('adb devices') do (
echo %%a | find "!gatewayIP!:6666" >nul && goto launch
)
echo 连接失败,请确认设备已开启 6666 端口并已授权 ADB 连接。
pause
exit /b
:launch
echo 连接成功,正在启动 scrcpy...
"E:\study\bash\adb\scrcpy-win64-v3.1\scrcpy.exe" --pause-on-exit=if-error --audio-source=playback --audio-dup --keyboard=uhid
pause
使用libretranslate将 Hexo 中的汉字标题转成英文标题,开箱即用,无需手工修改标题内容
在 hexo 项目目录执行
mkdir scripts
curl -O https://github.com/kmizmal/hexo-translate-title/releases/download/release/translate-title.js scripts/
在Releases下载 translate-title.js 之后手动扔到 hexo 项目目录下的 scripts 文件夹 ,如果没有就创建一个
将_config.yml
中 permalink 后面的:title
改为:Translate_title
在translate-title.js
的 52 行translate_api_url
后填入你自己搭建的libretranslate接口
或者提交 issue
ASF is a C# application with primary purpose of farming Steam cards from multiple accounts simultaneously. Unlike Idle Master which works only for one account at given time, while requiring Steam client running in the background and launching additional processes imitating “game playing” status, ASF doesn’t require any Steam client running in the background, doesn’t launch any additional processes and is made to handle unlimited Steam accounts at once. In addition to that, it’s meant to be run on servers or other desktop-less machines, and features full cross-OS support, which makes it possible to launch on any operating system with .NET Core runtime, such as Windows, Linux and macOS. ASF is possible thanks to gigantic amount of work done in marvelous SteamKit2 library.
ASF 是一款 C# 应用程序,其主要目的是同时从多个帐户中获取 Steam 卡。与 Idle Master 不同,Idle Master 每次只能为一个帐户工作,同时需要 Steam 客户端在后台运行并启动模拟“玩游戏”状态的其他进程,而 ASF 不需要任何 Steam 客户端在后台运行,不启动任何其他进程,并且可以同时处理无限数量的 Steam 帐户。除此之外,它还可以在服务器或其他无桌面机器上运行,并具有完整的跨操作系统支持,这使得它可以在任何具有 .NET Core 运行时的操作系统上启动,例如 Windows、Linux 和 macOS。ASF 之所以能够实现,要归功于在出色的 SteamKit2 库中所做的大量工作。