Skip to content

Instantly share code, notes, and snippets.

View qwqtoday's full-sized avatar
😄
I may be slow to respond.

Lukas qwqtoday

😄
I may be slow to respond.
View GitHub Profile
@qwqtoday
qwqtoday / bulk-import-pgn-games-to-lichess.py
Created April 7, 2025 07:11
super cool script to import 200 games to lichess
```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:
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):
@qwqtoday
qwqtoday / EnemyTracker.py
Last active December 6, 2023 07:19
Finds a list of users for a Roblox game
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
@qwqtoday
qwqtoday / RegisterRoblox.py
Last active July 20, 2023 16:29
Register a Roblox account and prints the roblosecurity token
# 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