Skip to content

Instantly share code, notes, and snippets.

View Zekiah-A's full-sized avatar
🧐
Trying to find who asked

Zekiah Zekiah-A

🧐
Trying to find who asked
View GitHub Profile
@Zekiah-A
Zekiah-A / telegram-export-to-discord.js
Created June 9, 2024 14:45
A hacky script that moves messages from a telegram chat export to a discord server
import { join } from "path";
import { parseArgs } from "util";
const { values } = parseArgs({
args: Bun.argv,
options: {
folder: {
type: "string",
},
},
@Zekiah-A
Zekiah-A / crash.txt
Created February 22, 2024 20:55
BunJs 1.0.28, JSC possibly native FII-related segmentation fault
DFG ASSERTION FAILED: Edge verification error: D@64->Check:Untyped:D@63 was expected to have type BytecodeTop but has type Int52Any (51539607552)
/webkit/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h(187) : void JSC::DFG::AbstractInterpreter<JSC::DFG::InPlaceAbstractState>::verifyEdge(Node *, Edge) [AbstractStateType = JSC::DFG::InPlaceAbstra
ctState]
While handling node D@64
@Zekiah-A
Zekiah-A / main.c
Last active February 25, 2023 01:40
OPENGL GLUT C Minecraft character 3D rendering
#ifdef __APPLE__
#include <GLUT/freeglut.h>
#else
#include <GL/freeglut.h>
#endif
// INSTRUCTIONS:
// Depends on freeglut, can be installed on arch with $ sudo pacman -S freeglut
// May also depend on libglvnd, can be installed with $ sudo pacman -S libglvnd
// $ gcc main.c -lGL -lGLU -lglut && ./a.out