This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:358E81F6A54DC11EAEB0AF3FAA742FDC5AFE2A72]
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:358E81F6A54DC11EAEB0AF3FAA742FDC5AFE2A72]
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/adaway.org/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/adblock-nocoin-list/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/adguard-simplified/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/anudeepnd-adservers/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/disconnect.me-ad/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/disconnect.me-malvertising/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/disconnect.me-malware/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/disconnect.me-tracking/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/easylist/list.txt | |
| https://raw.githubusercontent.com/hectorm/hmirror/master/data/easyprivacy/list.txt |
| def cache(func): | |
| """ | |
| Decorator function to cache the returned object of a function. | |
| """ | |
| cache_bucket = {} | |
| def store_and_retrieve(*args, **kwargs): | |
| """ | |
| Function to store and return objects in the cache. | |
| """ |
| # vim: set ft=python: | |
| """Deterministic "random" numbers jinja filter for ansible. | |
| Place in filter_plugins/ to use. | |
| """ | |
| import random | |
| def determrand(high, seed, low=0): |
| # Pre-requisites | |
| brew install gnu-tar gnu-getopt gnu-time gawk wget grep | |
| # Case sensitive-filesystem | |
| hdiutil create -size 20g -type SPARSE -fs "Case-sensitive HFS+" -volname OpenWrt OpenWrt.sparseimage | |
| hdiutil attach OpenWrt.sparseimage | |
| cd /Volumes/OpenWrt | |
| # OpenWrt/LEDE source | |
| git clone https://github.com/openwrt/openwrt.git |
I hereby claim:
To claim this, I am signing this object:
| BLOCKADS=/etc/dnsmasq.d/blockads | |
| CONF=/etc/dnsmasq.conf | |
| cat - << EOF > ${CONF} | |
| conf-dir=$(dirname ${BLOCKADS}) | |
| EOF | |
| # Create the directory | |
| mkdir -p $(dirname ${BLOCKADS}) |
| #!/bin/bash | |
| BLOCKADS=/etc/dnsmasq.d/blockads | |
| # Create the directory | |
| mkdir -p $(dirname ${BLOCKADS}) | |
| # Fetch the List Of Evil™ | |
| /bin/curl -sq "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext" | /bin/xargs -n1 -I@ echo "address=/@/127.0.0.1" > ${BLOCKADS} |
| def is_valid_ip(ip): | |
| m = re.match(r"^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$", ip) | |
| return bool(m) and all(map(lambda n: 0 <= int(n) <= 255, m.groups())) |
| # Install libmms | |
| apt-get install libmms0 | |
| # Fetch and compile libmediainfo | |
| cd /c/src | |
| curl -LO https://mediaarea.net/download/binary/libmediainfo0/0.7.89/MediaInfo_DLL_0.7.89_GNU_FromSource.tar.bz2 | |
| tar xvfh MediaInfo_DLL_0.7.89_GNU_FromSource.tar.bz2 | |
| cd MediaInfo_DLL_GNU_FromSource | |
| ./SO_Compile.sh | |
| ( cd ZenLib/Project/GNU/Library && make install ) |