Skip to content

Instantly share code, notes, and snippets.

View TheonlyTazz's full-sized avatar

Leroy TheonlyTazz

View GitHub Profile
@TheonlyTazz
TheonlyTazz / serverstart.sh
Created December 31, 2021 19:16
Serverstart.sh for Create Above&Beyond
#!/bin/bash
while true
do
java -Xmx16G -Xms8G -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=0 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+UseG1GC -jar forge-1.16.5-36.2.8.jar nogui
echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!"
echo "Rebooting in:"
for i in 12 11 10 9 8 7 6 5 4 3 2 1
do
echo "$i..."
@TheonlyTazz
TheonlyTazz / test changelog
Last active August 19, 2022 06:46
Fixed?
#1177 - Fixed This
#1170 - Fixed That
#1169 - Also Fixed
#1157 - Maybe Fixed?
#1155 - Potentially fixed
potentially error
#1153 - Eventually Fixed
#1121 - Never Fixed
#1118 - Gonna Fixed
#1116 - Give Fixed
@TheonlyTazz
TheonlyTazz / changelog.md
Created October 12, 2022 21:29
FTB Inferno changelog v1.0.3

Mod Updates

  • Applied Energistics->11.6.1
  • Apotheosis->5.7.0-alpha6
  • Amicalib->5.4.4
  • Champions->2.1.6.0
  • Chipped->2.0.0
  • Cofh Core->1.6.4.21
  • Collective->5.7
  • Cooking for blockheads->12.1.1
  • Gateways to eternity->2.1.3
@TheonlyTazz
TheonlyTazz / bellringer_gate.json
Created October 23, 2022 08:44
Bellringer Gate
{
"size": "medium",
"color": "#32a893",
"leash_range": 1024,
"waves": [
{
"entities": [
{
"entity": "alexsmobs:crimson_mosquito"
},
@TheonlyTazz
TheonlyTazz / Minecolonies_Blue_changer.py
Last active October 23, 2022 14:56
Minecolonies Blueprint Changer
import nbtlib
from nbtlib.tag import *
import os
IF = 'warped/'
OF = 'crimson/'
#Block Palette List
palettelist = [
['warped', 'crimson'],
@TheonlyTazz
TheonlyTazz / blocklist
Created October 23, 2022 16:08
blocklist warped
Blocklist of all Warped schematics
[
minecraft:air
minecraft:warped_nylium
minecraft:wall_torch
minecraft:netherrack
minecraft:basalt
minecraft:warped_fence
minecraft:warped_wart_block
biomesoplenty:hellbark_log
@TheonlyTazz
TheonlyTazz / PDFConverter.py
Created November 3, 2022 10:53
PDF Converter v0.1
#PDF TO IMAGE CONVERSION
#IMPORT LIBRARIES
import os
import pdf2image
from PIL import Image
import time
import json
from openpyxl import Workbook, load_workbook
c = open("config.json")
@TheonlyTazz
TheonlyTazz / LF5.py
Created December 13, 2022 09:43
Lernfeld 5 Nassi-Schneider Diagramm
def Aufgabe1():
z = 0
for i in range(1, 4):
z = z * i
print(f"Aufgabe 1: {z}")
def Aufgabe2():
@TheonlyTazz
TheonlyTazz / RandomNumber.py
Last active December 13, 2022 10:47
RandomNumberGuesser
def Aufgaberandom(min=0, max=10):
ratezahl = random.randrange(min, max)
anzahlVersuche = 1
gefunden = False
while gefunden == False:
versuch = input('Gebe eine Nummer ein: \n')
# Kontrollier ob Zahl eingegeben ist
if versuch.isdigit() == False:
print('Bitte geben Sie nur eine Zahl ein')
@TheonlyTazz
TheonlyTazz / Sortier-Vergleich.py
Last active April 20, 2023 12:31
Sortiervergleich
import time
import random
import sys
def progressbar(it, prefix="", size=60, out=sys.stdout):
count = len(it)
def show(j):
x = int(size*j/count)
print(f"{prefix}[{u'█'*x}{('.'*(size-x))}] {j}/{count}", end='\r', file=out, flush=True)
show(0)