This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # dependencies = [ | |
| # "requests<3", | |
| # "rich", | |
| # ] | |
| # /// | |
| import requests | |
| from rich.pretty import pprint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let counter = 0; | |
| let bound = 10; | |
| while (counter < bound + 1) { | |
| let counter = counter + 1); | |
| } | |
| do Output.printInt(counter); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| label WHILE_EXP0 | |
| push local 0 | |
| push local 1 | |
| lt | |
| push constant 1 | |
| add | |
| not | |
| if-goto WHILE_END0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |