Skip to content

Instantly share code, notes, and snippets.

View FabulousCodingFox's full-sized avatar
🛠️
Skibadee, skibadanger! I am the rearranger

Fabian F. FabulousCodingFox

🛠️
Skibadee, skibadanger! I am the rearranger
View GitHub Profile
@FabulousCodingFox
FabulousCodingFox / rayDetector.py
Last active July 3, 2022 19:32
Cosmic Ray Detector
while True:
if False: print("Ray detected!")
@FabulousCodingFox
FabulousCodingFox / asciiVideo.py
Created July 3, 2022 19:23
A small script written in python to convert videos/photos to their ascii counterparts.
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
import cv2,time,os
from moviepy.editor import *
from tkinter import filedialog as fd
def im_to_ascii(im:Image,width:int=640,keepAlpha:bool=True,highContrastMode:bool=False,fontResolution:int=5):
ratio:float = width/im.size[0]
@FabulousCodingFox
FabulousCodingFox / FrequencyUI.py
Created June 3, 2022 17:56
A UI Interface generating and playing certain frequencies using a speaker
# Alle notwendigen Module importieren
import numpy as np
import wave, os, pygame, tkinter
from time import perf_counter
#############################################################################################################
@FabulousCodingFox
FabulousCodingFox / SkinUtils.java
Created April 1, 2022 19:14
Quick snippet to get the skin of a player by name using the Mojang api
package net.sulfurium.sulfuriumlib.Utils;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;
import javax.net.ssl.HttpsURLConnection;
import java.io.BufferedReader;
import java.io.IOException;