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 os | |
| import traceback | |
| from datetime import datetime | |
| from colorama import init, Fore | |
| # Initialize colorama | |
| init(autoreset=True) | |
| class Logger: | |
| def __init__(self, from_updater=False): |
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 Minesweeper Online Top % Rank | |
| // @namespace https://minesweeper.online/ | |
| // @version 1.0 | |
| // @description Display top % next to rank on Minesweeper Online PvP page | |
| // @author You | |
| // @match https://minesweeper.online/* | |
| // @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
| // ==UserScript== | |
| // @name Isaac Wiki Redirector | |
| // @version 1.0 | |
| // @description Redirects from fandom.com Isaac wiki to wiki.gg | |
| // @match https://bindingofisaacrebirth.fandom.com/* | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
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 nextcord | |
| from nextcord.ext import commands | |
| intents = nextcord.Intents.default() | |
| intents.members = True # Enable member intents | |
| bot = commands.Bot(command_prefix='!', intents=intents) | |
| @bot.event | |
| async def on_ready(): | |
| print(f'Bot is ready as {bot.user.name}') |
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
| t9_mapping = { | |
| '2': 'abc', | |
| '3': 'def', | |
| '4': 'ghi', | |
| '5': 'jkl', | |
| '6': 'mno', | |
| '7': 'pqrs', | |
| '8': 'tuv', | |
| '9': 'wxyz', | |
| '0': ' ' |
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 re | |
| def parse_price(price: str) -> float: | |
| """ | |
| Convert a price string into a float, handling different formatting styles. | |
| - Supports "1,123.23" (English format) -> 1123.23 | |
| - Supports "1123,23" (European format) -> 1123.23 | |
| - Supports "1.123,23" (European thousand separator) -> 1123.23 | |
| - Supports "1,123" (English thousand separator) -> 1123.0 |
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 pyperclip | |
| import os | |
| IGNORE = ['lib', 'dist', 'build', 'venv', '__pycache__', '.logs', '.git', '.github'] | |
| EXTENSIONS_ONLY_DIRS = ['img', 'icons'] | |
| output = '' | |
| def print_and_log(t): |
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
| http://localhost* | |
| http://192.168.* | |
| http://127.* | |
| *stackoverflow.com/* | |
| *bitbucket.org/* | |
| *developer.mozilla.org/* | |
| *w3schools.com/* | |
| *dev.to/* | |
| *medium.com/* | |
| *hashnode.com/* |
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
| [ | |
| { | |
| "name": "Black", | |
| "hex_code": "#000000" | |
| }, | |
| { | |
| "name": "Night", | |
| "hex_code": "#0C090A" | |
| }, | |
| { |
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
| alphabet = 'abcdefghijklmnopqrstufwxyz' | |
| cuneiform = 'π»ππππΌπ£πππππππ ππΈπ¬ππ²πΌπ¦πππΌπ½π¨π£' | |
| print("a: from alphabet to cuneiform.") | |
| print("c: from cuneiform to normal text") | |
| choice = input("Enter your choice (a/c): ").replace(' ', '') | |
| if choice == 'a' or choice == '': | |
| text = input("Enter text to convert to cuneiform: ") | |
| converted_text = "" |
NewerOlder