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 [lichess.org] Change Bot Title to "CHEATER" | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-06-12 | |
| // @description Efficiently replaces BOT with CHEATER using MutationObserver | |
| // @author Leung Ho Ching | |
| // @match https://lichess.org/* | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
| // @grant none | |
| // ==/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
| ```py | |
| import sys | |
| import chess.pgn | |
| import time | |
| pgn_file = open(sys.argv[1], "r") | |
| games = [] | |
| while True: | |
| game = chess.pgn.read_game(pgn_file) | |
| if not game: |
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
| from itertools import permutations | |
| from typing import Optional | |
| def add(n1, n2): | |
| return n1+n2 | |
| def sub(n1, n2): | |
| return n1-n2 | |
| def mul(n1, n2): |
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 roblox | |
| from roblox.jobs import ServerType, Server | |
| from roblox.thumbnails import ThumbnailFormat, AvatarThumbnailType, ThumbnailState, Thumbnail | |
| from roblox.utilities.iterators import SortOrder | |
| from roblox.users import User | |
| from itertools import batched | |
| import asyncio | |
| # Configuration | |
| place_id = 7239319209 |
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 stuffs | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.support.ui import Select, WebDriverWait | |
| from selenium.webdriver.remote.webelement import WebElement | |
| import datetime | |
| from enum import Enum | |
| # Only 2 gender, use OTHER if you don't want to set it |