This file contains 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
#! /usr/bin/perl | |
use warnings; | |
use strict; | |
use Data::Dumper; | |
# | |
sub read_udp { | |
my $fn = shift; | |
my $drops = shift; |
This file contains 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
keycode 64 = Alt_L | |
keycode 133 = Super_L | |
remove Mod1 = Alt_L | |
remove Mod4 = Super_L | |
add Mod1 = Super_L | |
add Mod4 = Alt_L | |
keycode 108 = Alt_R | |
keycode 134 = Super_R |
This file contains 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
import dns.resolver | |
r = dns.resolver.Resolver() | |
r.nameservers = ['194.109.9.99'] | |
result = r.query('servfail.sidnlabs.nl', raise_on_no_answer=False) | |
if result.rcode == SERVFAIL: | |
print("YES") |
This file contains 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
addAction(OrRule({ | |
QNameRule("accesspiratebay.co.uk"), | |
QNameRule("hyperproxy.net"), | |
QNameRule("ikwilthepiratebay.org"), | |
QNameRule("kanyebay.co.uk"), | |
QNameRule("pirateaccess.info"), | |
QNameRule("piratebayaccess.co.uk"), | |
-- snipped most of it for brevity | |
QNameRule("www.proxybay.date"), | |
QNameRule("www.thehiddenbay.bid"), |