Skip to content

Instantly share code, notes, and snippets.

View yannis300307's full-sized avatar
๐Ÿ–ฅ๏ธ
Coding a computer program using programing langage

Yannis yannis300307

๐Ÿ–ฅ๏ธ
Coding a computer program using programing langage
View GitHub Profile
@yannis300307
yannis300307 / 42header.py
Last active November 9, 2026 18:29
Add the 42 header to a C or H file
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
import os.path
import re
import sys
from datetime import datetime
header_regex = re.compile(r"\s*?\/\* \*{74}[\s\S]*?([a-zA-Z0-9_\-]+?\.[ch])[\s\S]*?By: (([A-Za-z_\-]+?) <(.+)>)[\s\S]*?Created: ((\d{4}\/\d\d\/\d\d) (\d\d:\d\d:\d\d) by ([A-Za-z_\-]+))[\s\S]*? Updated: ((\d{4}\/\d\d\/\d\d) (\d\d:\d\d:\d\d) by ([A-Za-z_\-]+))[\s\S]*?\*{74} \*\/")
fallback_regex = re.compile(r"\s*?\/\* \*{74}[\s\S]*?\*{74} \*\/");
@yannis300307
yannis300307 / Numworks-apps.md
Last active October 12, 2026 06:42
A list of Numworks third party apps that run on Epsilon

Third party apps that run natively on Numworks OS

Emulators:

Visual Demos:

@yannis300307
yannis300307 / vdf_parser.gd
Last active November 9, 2026 17:13
A Valve Data Format (VDF) parser made with GDScript to use in Godot
class_name VdfParser
enum ParsingError {
SUCCESS = 0,
UNMATCHING_QUOTES = 1,
UNRECONISED_TOKEN = 2,
UNMATCHING_BRACKETS = 3,
}
# A recursive basic and unsafe parser of Valve Data Format (VDF) made from my understanding of it