Skip to content

Instantly share code, notes, and snippets.

@timyc
timyc / reddit_content_blocker.md
Created August 27, 2025 01:20
Block Reddit posts containing certain sites using Brave

Add entries to your custom filters:

www.reddit.com##shreddit-post[domain="BAD_DOMAIN_HERE"]

Example for blocking a news site:

www.reddit.com##shreddit-post[domain="thedailybeast.com"]
@timyc
timyc / remove_curseforge_ads.md
Last active December 31, 2025 21:54
Remove CurseForge ads from the launcher

This only applies for Windows on the default CurseForge installation. You should have a modern Node.JS installation (I'm using version 20)

  1. Go to C:\Users\<YOUR USER>\AppData\Local\Programs\CurseForge Windows\resources
  2. Run npm init -y in your cmd
  3. Run npm i @electron/asar
  4. Create a new file called hash.js in the directory
  5. Paste the following code into hash.js
const asar = require('@electron/asar');