使用nodejs快速运行hy2并生成信息
1.1nano hy2.js 2.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173#!/usr/bin/env node/** * Hysteria2 一键部署脚本 – Pterodactyl 完美运行版 * 支持...
linux使用vim,nano中文乱码解决代码
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253#!/usr/bin/env bash# Enhanced script to fix Chinese encoding issues in Linux editors (vim, nano)set -eecho "🔍 检测 zh_CN.UTF-8 locale..."if ! locale -a | grep -q "zh_CN.utf8"; then echo "⚙️ 未找到 zh_CN.UTF-8,正在生成..." sudo locale-gen zh_CN.UTF-8 sudo dpkg-reconfigure localeselse echo "✅ zh_CN.UTF-8 已存在。"fiecho "⚙️ 设置系统 LANG 为...
X96max+开启LED
控制LED显示屏登录到 Armbian 系统→输入命令: 1armbian-openvfd
免费容器运行openlist
1. index.js代码1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374const fs = require('fs');const { execSync, spawn } = require('child_process');const path = require('path');const https = require('https');const tar = require('tar');const OPENLIST_PATH = path.join(__dirname, 'openlist');const DOWNLOAD_URL =...
银河麒麟系统V10版本忘记用户密码
1. 开机进入引导界面,按e,然后 linux /vmlinuz 行security前 添加1init=/bin/bash console=tty0 2. ctrl+x 或者按F10进入单用户模式3. passwd (忘记密码的用户名)4. /sbin/reboot -f 强制重启系统
Windows11跳过登录以及关闭防火墙跟自动更新脚本
一、跳过登录 shift+F101oobe\bypassnro 或者 12start ms-cxh:localonly 二、关闭防火墙跟自动更新123456789101112131415@echo offecho 关闭 Windows 防火墙...netsh advfirewall set allprofiles state offecho 关闭 Windows 更新服务...sc config wuauserv start= disabledsc stop wuauservecho 关闭用户帐户控制 (UAC)...reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /fecho 操作完成。exit
CF优选域名列表
...
使用lucky+stun+cloudflared+gost科学上网
1、在本地运行 gost12# 20000为cloudflare 回源或穿透端口gost -D -L "relay+ws://:20000?path=/3b451552-e776-45c5-9b98-bde3ab99bf75&bind=true" 2、在远程服务器使用nodejs运行index.js123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122const { spawn } = require('child_process');const http...
