This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://adoptium.net/zh-CN/temurin/releases?version=17 配置jdk | |
| echo 'export JAVA_HOME=/opt/jdk' | sudo tee -a /etc/profile | |
| echo 'export PATH=$JAVA_HOME/bin:$PATH' | sudo tee -a /etc/profile | |
| source /etc/profile | |
| # 下载gradle缓存解压到~/.gradle | |
| # 下载 command-line tools | |
| wget https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip | |
| unzip commandlinetools-linux-*.zip -d cmdline-tools | |
| mv cmdline-tools/cmdline-tools cmdline-tools/latest | |
| # 接受许可并安装 SDK 平台 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/ash | |
| set -euo pipefail | |
| mkdir -p /var/lock | |
| ###############################仅针对旁路由设置############################### | |
| # 禁用 IPv6 | |
| /etc/init.d/odhcpd disable | |
| echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Jable 视频下载 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.4 | |
| // @description 在 Jable 视频页添加大下载图标按钮,捕获到 m3u8 后再添加按钮 | |
| // @author Pluto | |
| // @match https://en.jable.tv/videos/* | |
| // @grant GM_xmlhttpRequest | |
| // @connect 192.168.1.6 //这里指向下面go程序的ip | |
| // @run-at document-start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| :: 网络清理与静态IP设置脚本 | |
| :: 请以管理员身份运行 | |
| echo 正在执行网络清理与旁路由配置...... | |
| echo. | |
| :: ================ 第一步:清理 Profiles 下的所有子项 ================ | |
| echo 1/2 正在清理 Profiles 下的所有网络子项... |