Skip to content

Instantly share code, notes, and snippets.

View bongochong's full-sized avatar
👽

Chon Bongo bongochong

👽
View GitHub Profile
@bongochong
bongochong / stubby.yml
Last active May 9, 2022 00:07
Stubby DoT Round Robin Config
#NOTE: See '/etc/stubby/stubby.yml.default' for original config file and descriptions
resolution_type: GETDNS_RESOLUTION_STUB
dns_transport_list:
- GETDNS_TRANSPORT_TLS
tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
tls_query_padding_blocksize: 128
@bongochong
bongochong / 10-dns-systemd-resolved.conf
Last active May 25, 2023 21:54
DNS-over-TLS for Fedora
[main]
dns=none
systemd-resolved=false
@bongochong
bongochong / dnscrypt-resolvers.csv
Last active December 20, 2022 15:07
2020 Legacy DNSCrypt Resolvers
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 14 columns, instead of 6. in line 3.
Name,"Full name","Description","Location","Coordinates",URL,Version,DNSSEC validation,No logs,Namecoin,Resolver address,Provider name,Provider public key,Provider public key TXT record
adguard-dns-family-ns1,"Adguard DNS Family Protection 1","Adguard DNS with safesearch and adult content blocking","Anycast","",https://adguard.com/en/adguard-dns/overview.html,1,no,yes,no,176.103.130.132:5443,2.dnscrypt.family.ns1.adguard.com,B831:5DD7:B14B:6EE3:20A4:70DC:2ED6:B1AA:398C:C9E5:86F8:5D45:45D6:B8C9:B500:5ABA,pk.family.ns1.adguard.com
adguard-dns-family-ns2,"Adguard DNS Family Protection 2","Adguard DNS with safesearch and adult content blocking","Anycast","",https://adguard.com/en/adguard-dns/overview.html,1,no,yes,no,176.103.130.134:5443,2.dnscrypt.family.ns2.adguard.com,8C21:17A9:EBC1:57D6:FB64:056F:0ADB:C11C:5D83:6734:73C4:6E25:8D9B:2F57:D4EE:351F,pk.family.ns2.adguard.com
adguard-dns-ns1,"Adguard DNS 1","Remove ads and protect your computer from malware","Anycast","",https://adguard.com/en/adguard-dns/overview.
@bongochong
bongochong / compressHosts6.sh
Created February 1, 2020 09:13
Arrange a Hosts File to Have 7 Domains Per Line (IPv6)
sed -i 's/:: //g' HOSTS6.txt && sed -i ':a;N;$!ba;s/\n/ /g' HOSTS6.txt && sed -i 's/\s/\n/7; P; D' HOSTS6.txt && sed -i 's/^/:: /' HOSTS6.txt
@bongochong
bongochong / compressHosts4.sh
Created February 1, 2020 09:12
Arrange a Hosts File to Have 7 Domains Per Line (IPv4)
sed -i 's/0.0.0.0 //g' HOSTS.txt && sed -i ':a;N;$!ba;s/\n/ /g' HOSTS.txt && sed -i 's/\s/\n/7; P; D' HOSTS.txt && sed -i 's/^/0.0.0.0 /' HOSTS.txt
#!/bin/bash
#REMOVE the pound symbol from the lines after the next one if you do not already have brew installed
#AFTER you have run this script once with those lines uncommented, delete the lines containing a pound symbol
#/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#brew install wget
#brew install gnu-sed
#brew install pcre
echo "Cleaning up from the last session..."
rm pre-dl.txt
rm pre-DSdl.txt
#!/bin/bash
echo "Cleaning up from the last session..."
rm pre-dl.txt
rm pre-DSdl.txt
rm DSdl.txt
echo "Done cleaning up..."
echo -n "Now enter the link to an archive Dead show you want to download: "
read dead_show
wget -O pre-dl.txt "$dead_show"
pcregrep m3u pre-dl.txt > post-pre-dl.txt
@bongochong
bongochong / 20-intel.conf
Last active May 12, 2019 22:35
No Tearing with Intel Integrated Graphics under Xorg
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "SNA"
Option "TearFree" "true"
Option "DRI" "2"
EndSection
@bongochong
bongochong / MultiStartCrispy.bat
Created March 29, 2019 02:22
Multi-Launcher for Crispy Doom on Windows (can be modified for Chocolate Doom too)
@echo off
ECHO ****************************
ECHO *Welcome to Crispy Doom / Heretic / Hexen!*
ECHO ****************************
pause
:start
cls
ECHO What would you like to do?
ECHO.
ECHO 1 = Play The Ultimate Doom
@bongochong
bongochong / userChrome.css
Created March 29, 2019 02:19
Plain Flat Menus for Firefox (works with version 60 and newer)
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
menupopup#contentAreaContextMenu .scrollbox-innerbox {
padding-top:2px !important;
padding-bottom:2px !important;
-moz-appearance: none !important;
}
menu,
menuitem,
menupopup,