Skip to content

Instantly share code, notes, and snippets.

@ThisIsAreku
Last active April 12, 2021 07:42
Show Gist options
  • Save ThisIsAreku/9c98a3aa821476e119a2e8656b7bc28c to your computer and use it in GitHub Desktop.
Save ThisIsAreku/9c98a3aa821476e119a2e8656b7bc28c to your computer and use it in GitHub Desktop.
Warmup public IPFS gateway. Don't do this. It's useless and only put weight on IPFS
curl -s https://raw.githubusercontent.com/ipfs/public-gateway-checker/master/gateways.json | \
jq -r '.[]' | \
sed -e "s/:hash/$1/g" | \
parallel --bar -P 16 curl -s -o /dev/null -X HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment