Created
July 23, 2021 10:35
-
-
Save m-rey/305fa93a2de96bda97e10f59e64abb4a to your computer and use it in GitHub Desktop.
generate and check ublock origin dynamic rules for CDNs using multiple hostnames containing sequentially numbered hostnames. Only online hostnames will be returned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo osm{0..100}.openstreetmap.fr | tr " " "\n" | parallel -j10 'ping -c 1 {} >/dev/null 2>&1 && echo \* {} \* noop' | sponge | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment