Skip to content

Instantly share code, notes, and snippets.


Engine Feeder enginefeeder101

  • The Netherlands
View GitHub Profile
enginefeeder101 /
Last active May 15, 2021 — forked from sidoh/
Custom HomeAssistant auth provider
import logging
import jwt
from urllib.parse import urlparse
import urllib.request
from collections import OrderedDict
from typing import Any, Dict, Optional, cast
import voluptuous as vol
enginefeeder101 /
Last active Jun 16, 2018
Create Mega Adblock Hostsfile for use with Dnsmasq (Modified from Pi-hole)
# Modified Pi-hole script to generate a generic hosts file
# for use with dnsmasq's addn-hosts configuration
# original :
# forked from:
### Configuration ###
# Server to send ads to
enginefeeder101 / PKGBUILD-networkmanager.patch
Created May 4, 2016
No more DNS-leaks for VPN's with NetworkManager and dnsmasq
View PKGBUILD-networkmanager.patch
Author: Engine Feeder <>
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
@@ -22,10 +22,12 @@ makedepends=(intltool dhclient iptables gobject-introspection gtk-doc
enginefeeder101 /
Created Nov 17, 2015
Test outgoing open ports
LC_ALL=C nc -vzw5 $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