Skip to content

Instantly share code, notes, and snippets.

View seandlg's full-sized avatar
🎭
Day and night

Sean seandlg

🎭
Day and night
  • Berlin, Germany
View GitHub Profile
# /// script
# dependencies = [
# "requests<3",
# "rich",
# ]
# ///
import requests
from rich.pretty import pprint
@seandlg
seandlg / main.js
Last active February 22, 2023 10:05
yachtworld Ad Remover
// ==UserScript==
// @name yachtworld.de Ad Remover
// @namespace Violentmonkey Scripts
// @match https://www.yachtworld.de/boote-kaufen/*
// @grant none
// @version 1.2
// @author seandlg
// @description 22/02/2023, 10:55:38
// @downloadURL https://gist.githubusercontent.com/seandlg/4a8f8cd2ab316c5a3636ce7155d3a254/raw
// ==/UserScript==
@seandlg
seandlg / book.js
Last active November 3, 2023 16:32
Appointment booking help - berlin.de
// ==UserScript==
// @name Terminbuchungshilfe - berlin.de
// @namespace Violentmonkey Scripts
// @match https://service.berlin.de/terminvereinbarung/termin/day/
// @match https://service.berlin.de/terminvereinbarung/termin/taken/
// @grant none
// @version 1.4
// @author seandlg
// @description 2/15/2023, 4:03:55 PM
// @icon https://www.berlin.de/favicon.ico
let counter = 0;
let bound = 10;
while (counter < bound + 1) {
let counter = counter + 1);
}
do Output.printInt(counter);
label WHILE_EXP0
push local 0
push local 1
lt
push constant 1
add
not
if-goto WHILE_END0
import random
# Set the following arguments
noSimulations = 100000
# The following graph is saved in the dictionary "graph"
#
# A--B--C--D
# | | | |
# E--F--G--H