// config-template.mjs --- "allow-lan": true "dns": "default-nameserver": - "tls://223.5.5.5" - "tls://223.6.6.6" "enable": true "enhanced-mode": "fake-ip" "fake-ip-filter": - "*" - "+.lan" - "+.local" - "+.market.xiaomi.com" - "+.cqttech.com" "ipv6": true "nameserver": - "https://doh.pub/dns-query" -…
Some people hate Python’s indentation, others curse C++ pointers, and many rage at JavaScript's type coercion. Which language’s syntax annoys you the most—and why?
创建 Android Studio 项目 项目完整文件结构与内容 1. 根目录 (AdvancedPlayer/) settings.gradle.kts pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() } } rootProject.name = "AdvancedPlayer" include( ":app",…
Android频道播放系统架构设计文档 1. 系统架构全景图 1.1 模块化分层架构 ┌───────────────────────────────────────┐ │ app模块 │ │ • 应用入口点 │ │ • 全局导航控制 │ ├───────────────────────────────────────┤ │ feature-player模块 │ │ • 播放界面(Compose) │ │ • 播放控制逻辑 │ ├───────────────────────────────────────┤ │ feature-menu模块…
#!/bin/bash # ================================================================= # 通用 Shell 脚本函数库 (lib_utils.sh) v1.4 # # 描述: 包含一系列可重用的、通用的 bash 函数,每个函数都包含依赖检查。 # 用法: 在你的主脚本中使用 'source ./lib_utils.sh' 来引入这些函数。 # 输入 'help' 查看所有可用函数及其用法。 # v1.4 更新: 增加了 generate_uuid 函数 #…
Gost 构建 VLESS 隧道方案备忘录 核心架构 数据流: [VLESS客户端] -> [本地gost] -> (隧道) -> [服务器gost] -> [服务器VLESS服务] 服务器部署: VLESS 服务仅监听本地回环地址 (127.0.0.1),gost 监听公网端口作为唯一入口。 客户端部署: VLESS 客户端连接本地 gost 监听的地址和端口。 方案一:基础 UDP 隧道 (简单、低开销) 特点: 极简,理论延迟最低,但性能在弱网下不稳定,隧道本身不加密。 服务器…
方案一:使用 relay 协议(推荐,更灵活) 这个方案的特点是中转服务器是通用的,而客户端指定最终的目标。 中转服务器 (gost server) # gost -L "监听协议://[监听地址]:监听端口" # -L "relay+udp://:8888" 表示以 relay 模式监听在所有网络接口的 UDP 8888 端口上。 # "relay" 协议是一个透明中继协议,它会根据客户端的请求,将流量转发到客户端指定的目标地址。 # 这个中转服务器本身并不知道最终目标是哪里,具有很强的通用性。 gost -L "relay+udp://:8888" 角色: 一个通用的、等待指令的 UDP 中继站。…
Was it gaming, coding, curiosity—or just trying to fix something that broke? For me, it started with messing around with a Windows 98 PC and accidentally deleting system files 😅 What about…
Was it the flexibility, the themes, the plugins… or the fact that it just works? For me, it was being able to build a decent site without touching much code (at first…
方案 1:修改 GRUB 启动参数(推荐) 适用系统:Linux(Ubuntu/CentOS等) 作用:通过内核参数绕过ACPI错误,无需修改系统文件或更新硬件。 操作步骤: 1. 临时测试(确认是否有效): - 开机时,在 GRUB 菜单 界面(通常需要快速按 Shift 或 Esc 键进入)选择系统条目,按 e 键进入编辑模式。 - 找到以 linux 或 linuxefi 开头的行,在行尾添加以下参数(任选其一,建议按顺序尝试): text acpi=noirq # 禁用ACPI中断路由(最安全) acpi_osi="Windows 2020"…