Skip to content

Instantly share code, notes, and snippets.

View maartenberg's full-sized avatar
🐧

Maarten van den Berg maartenberg

🐧
View GitHub Profile
@maartenberg
maartenberg / AInietbellen.txt
Last active February 25, 2025 14:54
AI-button blocker filter list. To add this to your uBlock Origin or other adblocker, copy the following URL: https://gist.githubusercontent.com/maartenberg/59de6ee65def9410f3be02c35d6738b0/raw/AInietbellen.txt
! Title: Maarten's AI-button blocker list
! Version: 7
! Homepage: https://gist.github.com/maartenberg/59de6ee65def9410f3be02c35d6738b0
! Blocks the div containing the "Summarize this email" button
mail.google.com##span[data-label="Summarize this email"]:upward(1)
mail.google.com##span[data-label="Summarise this email"]:upward(1)
! Blocks the sparkle button in the top-right on GMail
mail.google.com##button[aria-label="Ask Gemini"]:upward(2)
@maartenberg
maartenberg / elianscriptify.py
Last active November 2, 2017 12:54 — forked from Kronopath/elianscriptify.py
Elian script unicode conversion
#!/usr/bin/env python3
import sys
def elianchar(char):
chars = {
"a": "𠃍",
"b": "コ",
"c": "┘",
"d": "冂",

Keybase proof

I hereby claim:

  • I am maartenberg on github.
  • I am maartenberg (https://keybase.io/maartenberg) on keybase.
  • I have a public key whose fingerprint is ADD2 E124 4EA6 0B21 8E7F 58FD 2E47 EFF2 B971 5314

To claim this, I am signing this object:

@maartenberg
maartenberg / overlord.py
Created January 15, 2016 23:07
Parses the evil overlord rulelists and creates a fortune file
''' Downloads and parses the Evil Overlord ruleset into a fortune file. '''
from bs4 import BeautifulSoup
import requests
import logging
logging.basicConfig(level=logging.INFO)
URLS = [
'http://www.eviloverlord.com/lists/overlord.html',
'http://www.eviloverlord.com/lists/dungeon_a.html',