Skip to content

Instantly share code, notes, and snippets.

View AssetManager API template
import multiprocessing
from functools import lru_cache
from typing import List, Tuple, Union
from PIL.Image import Image
from pip._internal.utils.deprecation import deprecated
from overviewer_core.asset_loader import AssetLoader
Tirpitz93 / Console log 1
Created Mar 30, 2020
Memorey access violation
View Console log 1
C:\Users\*\AppData\Local\Programs\Python\Python38-32\python.exe C:/Datafile/*/Documents/Minecraft-Overviewer/ -cC:/Datafile/*/Documents/Minecraft-Overviewer/test_conf/ --forcerender --force-render -p1 -vv 12360 2020-03-30 02:13:36 INFO Welcome to Minecraft Overviewer! 12360 2020-03-30 02:13:36 DEBUG Current log level: 0. 12360 2020-03-30 02:13:36 INFO Forcerender mode activated. ALL tiles will be rendered. 12360 2020-03-30 02:13:36 DEBUG Detected that chmods work in 'C:\\Datafile\\LSelter\\Documents\\Minecraft-Overviewer\\test_conf\\output' 12360 2020-03-30 02:13:36 DEBUG Detected that overwriting renames do NOT work in 'C:\\Datafile\\LSelter\\Documents\\Minecraft-Overviewer\\test_conf\\output' 12360 2020-03-30 02:13:36 DEBUG Found the following render thing: OrderedDict([('world', 'E:\\downloads\\mmc-stable-win32\\MultiMC\\instances\\20w13b\\.minecraft\\sav
Tirpitz93 / blocks.json
Created Mar 20, 2020
minecraft 20w11a block, model and tag data
View blocks.json
"minecraft:acacia_button": {
"tags": [
"variants": {
"face=ceiling,facing=east,powered=false": {
"model": "minecraft:block/acacia_button",
"x": 180,
Tirpitz93 / ChestFilter
Last active Sep 10, 2020
extracts from config file for overviewer with ender chest and shulker box support
View ChestFilter
def chestFilter(poi):
import ast, collections
if poi['id'].lower().find("chest") != -1:
if poi.get("LootTable"):
print("processing chest")
from pprint import pprint
_items = 0
_string_value = "Empty Chest"
View ABP_Filters.txt
[Adblock Plus 2.0][src="blob:"][style="background-image: url('/custom/img/942/2.jpg');background-position: top;width: 100vw;height: 100vh;background-repeat: no-repeat;background-size: 1920px 1080px"]
Tirpitz93 / smtp_w_attachment
Last active Jun 12, 2018 — forked from lavinj87/gist:238ccb229ac594a50b0a
SMTPHandler with support to attachments
View smtp_w_attachment
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.multipart import MIMEMultipart
# from email.Utils import formatdate
from logging.handlers import SMTPHandler
import logging
import os.path
import smtplib
from email.utils import formatdate
You can’t perform that action at this time.