This file contains 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
const { createCanvas, loadImage } = require('canvas') | |
const canvas = createCanvas(256, 256) | |
const ctx = canvas.getContext('2d') | |
const express = require("express") | |
const app = express() | |
app.listen(3000) | |
app.get("/", (req, res) => { | |
res.send("<img width=256 height=256 src='" + generate() + "'>") | |
}) |
This file contains 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
// ==UserScript== | |
// @name Pterodactyl - Use "old" style | |
// @namespace Violentmonkey Scripts | |
// @match *://*/server/* | |
// @version 1.1 | |
// @author TomatoCake | |
// @downloadURL https://gist.github.com/DEVTomatoCake/ca454e0b1e81ec534064401994fbe6b4 | |
// @description Moves the stats container on the Pterodactyl back on the left side, like it was before | |
// @description:de Schiebt den Stats-Container von Pterodactyl wieder zurück auf die linke Seite, also wo er vor dem Update war | |
// ==/UserScript== |
This file contains 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
const { create } = require("xmlbuilder2") | |
const messageTypes = { | |
h: "HIM (generiert von Hafas Information Manager)", | |
q: "Qualitätsänderung", | |
f: "Freitext", | |
d: "Verspätung", | |
i: "IBIS (generiert durch IRIS-AP)", | |
u: "IBIS (generiert durch IRIS-AP), noch nicht mit Zug verbunden", | |
r: "Ausfall", |
This file contains 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
const fs = require("fs") | |
const crypto = require("crypto") | |
const mods = fs.readdirSync(process.env.APPDATA + "\\.minecraft\\mods") | |
const projects = [] | |
const found = {} | |
let i = 0 | |
mods.forEach(async mod => { | |
const hash = crypto.createHash("sha1") | |
hash.update(fs.readFileSync(process.env.APPDATA + "\\.minecraft\\mods\\" + mod)) |