一、下载安装
1、下载最新版本sing-box
1cpu=$(uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/'); sbcore=$(curl -Ls https://github.com/SagerNet/sing-box/releases/latest | grep -oP 'tag/v\K[0-9.]+' | head -n 1); [ -z "$sbcore" ] && sbcore='1.10.7'; sbname="sing-box-$sbcore-linux-$cpu"; mkdir -p /etc/sing-box && curl -L -o /etc/sing-box/sing-box.tar.gz -# --retry 2 "https://github.com/SagerNet/sing-box/releases/download/v$s ...
飞牛网卡崩溃解决
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950#!/bin/bash# ==========================================# 网卡 Offload 优化自动配置脚本# 默认动作: 关闭 TSO, GSO / 开启 GRO# ==========================================# 允许通过传参指定网卡,不传参则默认使用 eno1INTERFACE=${1:-eno1}SERVICE_NAME="nic-offload-fix.service"SERVICE_PATH="/etc/systemd/system/${SERVICE_NAME}"echo "=== 开始配置网卡 [${INTERFACE}] Offload 优化服务 ==="# 1. 创建 s ...
reality配置格式12345678910111213- name: "name" type: vless server: ip port: prot uuid: "uuid" tls: true servername: sni flow: xtls-rprx-vision reality-opts: public-key: "public-key" short-id: "short-id" client-fingerprint: chrome udp: true
vless+ws+tls配置格式1234567891011121314151617- name: "name" type: vless server: "domain" port: 443 uuid: uuid tls: true servername: client-fingerprint: chrome alpn: - http/1.1 s ...
reality配置格式123456789101112131415161718192021222324252627{ "type": "vless", "tag": "vless-sb", "listen": "::", "listen_port": port, "users": [ { "uuid": "uuid", "flow": "xtls-rprx-vision" } ], "tls": { "enabled": true, "server_name": "apple.com", "reality": { " ...
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Hexo博客安装配置和管理No.3-博客管理工具QexoQexo是一款网页管理Hexo博客工具,搭配兰图图床v2.1版本使用更方便。通过docker compose文件部署Qexo博客管理工具和兰图图床
一、Qexo博客管理工具
1234567891011121314services: qexo: image: abudulin/qexo:latest container_name: qexo restart: unless-stopped ports: - "8000:8000" environment: WORKERS: 4 THREADS: 4 TIMEOUT: 600 DOMAINS: "['域名或者内网地址']" volumes: - ./db:/app/db
二、兰图图床
12345678910111213141516171819202122232425262728services: # 数据库服务 db: ...
命令1hexo cl; hexo s
1hexo cl; hexo g; hexo d
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
命令1hexo cl; hexo s
1hexo cl; hexo g; hexo d
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
















