Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
OUTPUT_FILE="github_check.csv"
if [ ! -f "$OUTPUT_FILE" ]; then
echo "timestamp,status,response_time" > "$OUTPUT_FILE"
fi
USER_AGENT="github_check.sh/1.0 gist.github.com/Cuthead/257c2f59015c9ffa41b5ea4adcb81163 (Purpose: Monitoring GitHub availability in China for research)"
@Cuthead
Cuthead / 11-mtproto.nft
Last active March 28, 2026 18:50
Circumventing Telegram IP blocking by China with scanned alternative datacenter IPs and nftables
#!/usr/sbin/nft -f
set dc1 { # American
type ipv6_addr
flags interval
elements = { 2001:b28:f23d:f001::a }
}
set dc3 { # Unknown
type ipv6_addr