Skip to content

Instantly share code, notes, and snippets.

View kp2401075's full-sized avatar

Jay Patel kp2401075

View GitHub Profile
@kp2401075
kp2401075 / getBlockLists.sh
Last active December 23, 2017 08:29 — forked from johntyree/getBlockLists.sh
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=*.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| cat >> blocklist.gz