Skip to content

Instantly share code, notes, and snippets.

View jericjan's full-sized avatar
🗿
bruh

Kur0 jericjan

🗿
bruh
View GitHub Profile
@jericjan
jericjan / main.py
Created January 13, 2024 11:03
L4D2 - Consistency error culprit finder
import vpk
from pathlib import Path
import subprocess
# Paste the path to your workshop folder here
workshop_folder = (
"F:/SteamLibrary/steamapps/common/Left 4 Dead 2/left4dead2/addons/workshop"
)
# Paste the file path to the file that has a consistency error here
@jericjan
jericjan / main.py
Created December 28, 2023 07:21
Automatically move .osz files to osu! Songs folder (Any file to any path)
from pathlib import Path
import time
songs_folder = Path("C:/Users/USER/AppData/Local/osu!/Songs")
downloads_folder = Path("C:/Users/USER/Downloads/")
while True:
file_count = 0
for file in downloads_folder.glob("*.osz"):
file.rename(songs_folder / file.name)
@jericjan
jericjan / aiobahn-dont-be-happy-lyrics.md
Last active December 2, 2023 07:47
Aiobahn - しあわせになんてならないで Lyrics
JP Romaji EN
むずかしいことばかりだ muzukashii koto bakari da "It's been nothing but difficult things lately"
おんなじことを考えてる onnaji koto wo kangaeteru
@jericjan
jericjan / HonkaiCalc.js
Last active August 5, 2023 10:56
honkaihub.com - print crystals between 2 dates
const fromDate = new Date("2023-08-05T00:00:00Z");
const toDate = new Date("2023-10-31T00:00:00Z");
function incrementDay(date) {
const year = date.getFullYear();
const month = date.getMonth();
const day = date.getDate() + 1;
const newDate = new Date(Date.UTC(year, month, day));
return newDate;
}