This is a craft calculator. Supports custom recipies and items. Was created for big 7x7 recipies in minecraft DDSS modpack, but might be useful for something else. Vibe-coded very badly a while ago.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # https://gist.github.com/kezzyhko/e11e6da0de014989a476f2d256b8de27 | |
| from PIL import Image, ImageTk, PngImagePlugin | |
| import sys | |
| import numpy as np | |
| import tkinter as tk | |
| from tkinter import ttk, filedialog, simpledialog | |
| from pathlib import Path | |
| import subprocess |
Source:
++++[>+++++<-]>-[>++++++>+++++>++<<<-]>-----.>++.<+++++++..+++.>.<----.>>+.<++++.<-.>.
Output:
mattwas'ere
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| import string | |
| import urllib.parse | |
| WEBHOOK_LINK = "your webhook service" | |
| CHAT_GPT_LINK = "https://chatgpt.com/?q=" | |
| IS_DEBUG = False | |
| ANTI_CACHE_LENGTH = 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Braille translator</title> | |
| <style> | |
| .braille-6 { | |
| display: inline-grid; | |
| grid-auto-flow: column; | |
| grid-template-columns: repeat(2, 50%); | |
| grid-template-rows: repeat(3, 33%); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if UNITY_EDITOR | |
| using System; | |
| using UnityEditor; | |
| using Medallion.Shell; | |
| using UnityEditor.Compilation; | |
| using UnityEngine; | |
| public static class MedallionShellTest | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| strings $1 | grep -wFf <(grep -E '^.{4,}$' ~/words.txt) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| echo[ | |
| echo[ | |
| echo MTB: | |
| wmic baseboard get Manufacturer, Product | |
| echo CPU: | |
| wmic cpu get Name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| DELTA_X = 17 | |
| DELTA_Y = 17 | |
| START_X = 10 | |
| START_Y = 10 | |
| # https://stackoverflow.com/a/138260/6702274 | |
| im = Image.open('Untitled.png') | |
| pix = im.load() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO; | |
| using System.Runtime.Serialization.Json; | |
| using System.Threading.Tasks; | |
| public class JsonFile<T> : IDisposable, IAsyncDisposable | |
| { | |
| private static readonly DataContractJsonSerializer Serializer = new(typeof(T), new DataContractJsonSerializerSettings | |
| { | |
| UseSimpleDictionaryFormat = true, |
NewerOlder