Skip to content

Instantly share code, notes, and snippets.

View GGLinnk's full-sized avatar

Gabriel Grondin GGLinnk

View GitHub Profile
@GGLinnk
GGLinnk / group_magic_bytes.py
Last active October 22, 2021 23:13
Group Magic Bytes | Python script that group Magic Bytes of files in folder, show retrived bytes and show associated file. This is not the final version!
#!/bin/env python3
from sys import argv, stderr
from os import listdir, path
import binascii
linkPath = path.normpath(argv[1])
if not path.exists(linkPath):
print(f"Folder doesn't exists: [{linkPath}]", file=stderr)
exit(1)
@GGLinnk
GGLinnk / hexacels_letters.py
Created October 15, 2020 19:13
HEXACELS Font for hexagons outputs by GGLinnk
import copy
letters = {
"A" : {
"Width" : 4,
"Matrix" : [
[0, 1, 1, 0],
[1, 0, 1, 0],
[1, 1, 1, 1],
[1, 0, 1, 0],