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
Last active August 18, 2024 05:35
script to check if TLMC (alist) fails on a download
from pathlib import Path
found_folders = set()
def check_flac_files(folder: Path):
# Iterate through all files in the folder
for flac_file in folder.rglob("*.*"):
if flac_file.is_file():
try:
# Open the file and check the beginning of the content
@jericjan
jericjan / main.py
Last active May 15, 2024 16:38
osu! songs folder to markdown
from pathlib import Path
import re
song_folder = (
input("Paste your osu song folder here (Default: AppData/Local/osu!/Songs): ")
or r"C:\Users\USER\AppData\Local\osu!\Songs"
)
song_folder = Path(song_folder)
output = ""
@jericjan
jericjan / TRAUMA.md
Created February 11, 2024 05:12
Akatsuki Records - TRAUMA lyrics
JP Romaji English
I don't wanna be trapped in the past - -
I don't wanna feel dead inside - -
I don't wanna be trapped in the past - -
I'll never get anything back - -
底無し淵を逆さま沈んでく深く sokonashi fuchi wo sakasama shizundeku fukaku Upside down in a bottomless abyss, sinking deeper and deeper
縄梯子はNobody knows nawabashigo wa Nobody knows Nobody knows about the rope ladder
あからさまなDead inside akarasama na Dead inside Plainly dead inside
影無き闇を手探りで深く深く kagenaki yami wo tesaguri de fukaku fukaku Fumbling deep and deep in the shadowless darkness
@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;
}