Skip to content

Instantly share code, notes, and snippets.

View esposm03's full-sized avatar

Samuele Esposito esposm03

  • Padova, Italy
View GitHub Profile
@esposm03
esposm03 / interface.xml
Created April 1, 2025 21:07
Golang struct or interface to draw.io UML
<mxGraphModel>
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="1185" y="480" width="50" height="50" as="geometry"/>
</mxCell>
<mxCell id="3" value="{{.Name}}" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="1157.5" y="530" width="105" height="30" as="geometry"/>
</mxCell>
@esposm03
esposm03 / build.yaml
Created February 22, 2025 08:30
GHA QT
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/install-qt-action@v4
@esposm03
esposm03 / pack_gen.py
Last active June 16, 2023 19:54
Procedurally generated resource packs for shader compatibility with Gregtech Community Edition unofficial (GTCEu)
# Taken from https://discord.com/channels/927050775073534012/1118873455673217105, in Nomifactory Discord server
from PIL import Image
import glob
from os import makedirs
keywords = ["bloom", "emissive"]
files = []
bad_keywords = []