Skip to content

Instantly share code, notes, and snippets.

View robmusial's full-sized avatar
🔧
plumbing

Rob Musial robmusial

🔧
plumbing
View GitHub Profile
"""
Delete all saved posts and comments on your reddit account with PRAW.
Based on: https://lewery.ca/automation/delete-all-saved-reddit-links
This version has argparse removed to remove the command line options and they
are instead set here inside of the script. This solved two problems for me:
1. Reddit usernames can start with a "-" and argparse does not like that.
2. No more password in your shell history
@robmusial
robmusial / doh-blocklist.txt
Created July 27, 2021 16:45 — forked from ckuethe/doh-blocklist.txt
DNS-over-HTTPS Block List
# Here are some domains I block to interfere with DNS-over-HTTPS, so that my own DNS-based security schemes work.
# If you're going to be doing this, you should probably block all outbound 53, 853, and 5353 on your network,
# except from your own internal DNS resolver (eg. pihole)
#
# Data from https://github.com/curl/curl/wiki/DNS-over-HTTPS
one.one.one.one
canadianshield.cira.ca
doh.dns.sb
dnsforge.de