Skip to content

Instantly share code, notes, and snippets.

@cp-i-pc
cp-i-pc / install-docker.sh
Last active June 2, 2023 02:25
使用 docker 安装各种面板
curl -fsSL https://get.docker.com | bash
curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod a+x /usr/local/bin/docker-compose
# 创建个软链接,以后用 dc 命令来代替 docker-compose
rm -rf `which dc` # 若系统中存在 dc 则删除,这个 dc 就是个计算器,完全没有用
ln -s /usr/local/bin/docker-compose /usr/bin/dc
@cp-i-pc
cp-i-pc / vless+ws+tls.json
Created September 16, 2020 06:24
VLESS+WS+TLS
{
// 你的其它配置
// VLESS + WS + TLS
// docker-compose.yml 在这里 https://github.com/ColetteContreras/v2ray-poseidon/tree/master/docker/sspanel/ws-tls
"inbounds": [
{
"port": 443,
"protocol": "vless",
"streamSettings": {
"network": "ws",

Minimum recurring issue gist

v2ray/v2ray-core#1442

go build -o ./plugin.so -buildmode=plugin ./plugin.go
go test ./

#output
hi there!