Skip to content

Instantly share code, notes, and snippets.

View kouhei-ioroi's full-sized avatar

五百藏 康平 kouhei-ioroi

View GitHub Profile
@kouhei-ioroi
kouhei-ioroi / docker-install.sh
Created October 30, 2025 13:03
Debian/Ubuntu系
#!/bin/bash
set -e
# Dockerをインストール
## 事前パッケージのインストール
apt-get update
apt-get install ca-certificates curl gnupg lsb-release -y
## Docker公式GPGキーの追加
mkdir -p /etc/apt/keyrings
@kouhei-ioroi
kouhei-ioroi / script.sh
Last active October 24, 2025 21:48
OpenWrt x86-64 cloudflared Override Script
#!/bin/ash
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O cloudflared
chmod +x cloudflared
mv ./cloudflared /usr/bin/cloudflared
sysctl -w net.ipv4.ping_group_range="0 0"
service cloudflared restart