View make-mega-adblock-hostsfile.sh
#!/bin/bash | |
# Modified Pi-hole script to generate a generic hosts file | |
# for use with dnsmasq's addn-hosts configuration | |
# original : https://github.com/jacobsalmela/pi-hole/blob/master/gravity-adv.sh | |
# forked from: https://gist.github.com/chrisvella/5f3a18f1e442153cd685 | |
### Configuration ### | |
# Server to send ads to | |
adblock='0.0.0.0' |
View PKGBUILD-networkmanager.patch
Author: Engine Feeder <enginefeeder101@users.noreply.github.com> | |
Date: Wed May 4 21:22:55 2016 +0200 | |
Do not use split DNS for VPN configs and use only the DNS provided by the VPN. | |
diff --git a/var/abs/extra/networkmanager/PKGBUILD b/PKGBUILD | |
index 0d6dd20..de8f1ec 100644 | |
--- a/var/abs/extra/networkmanager/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -22,10 +22,12 @@ makedepends=(intltool dhclient iptables gobject-introspection gtk-doc |
View testports.sh
#!/bin/bash | |
task(){ | |
LC_ALL=C nc -vzw5 portquiz.net $1 2>&1 | grep -v 'Connection timed out' | |
} | |
N=50 # Specify number of ports to check at once | |
( | |
for port in {1..65535}; do # Specify port range to check here | |
((i=i%N)); ((i++==0)) && wait |