Skip to content

Instantly share code, notes, and snippets.

@kratuvid
kratuvid / latency-ygg-peers.fish
Created February 28, 2022 05:42
Find latency of Yggdrasil public peers
#!/usr/bin/fish
# After running this script
# To sort by fastest 10: cat OUTPUT_FILE | sort -n | head -n10
# To randomly output 10: cat OUTPUT_FILE | shuf -n10
# Then to convert into a format for yggdrasil config
# ... (Anyone of the above commands) | awk '{print "\"" $2 "\""}'
set output (mktemp -u)