Skip to content

Instantly share code, notes, and snippets.

View OpenBagTwo's full-sized avatar

Gili Barlev OpenBagTwo

View GitHub Profile
@OpenBagTwo
OpenBagTwo / chest_breaker.py
Created May 27, 2023 02:06
My script for fully 'unloading" my v0.0.4 EnderChest
"""Script to "break" an EnderChest and copy all of its assets into the various
instance folders"""
import logging
import os
from pathlib import Path
import shutil
from typing import NamedTuple
LOGGER = logging.getLogger("chest_breaker")
@OpenBagTwo
OpenBagTwo / jp2a2neofetch.py
Last active May 31, 2024 15:43
Convert jp2a output so it's compatible with neofetch
"""Simple python script that converts jp2a output into the neofetch format"""
import sys
# edit this line to adjust your palette
palette = (1, 4, 5, 6, 7)
for line in sys.stdin:
converted = line.replace("\x1b[0m", "")
for i in range(1, 8):
@OpenBagTwo
OpenBagTwo / Is This Spinal Tap?.ipynb
Created January 23, 2021 15:37
A quick experiment with the IMDB API through IMDBpy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.