Skip to content

Instantly share code, notes, and snippets.

The commands on: (https://github.com/fogleman/pack3d) no longer work on newer versions of go?, used instead

  • go install github.com/fogleman/pack3d/cmd/pack3d@latest
  • go install github.com/fogleman/pack3d/cmd/binpack@latest

Usage examples work except for wildcard *

pack3d 2 3DBenchy.stl  # tightly pack 2 boats
pack3d 4 3DBenchy.stl # tightly pack 4 boats
@X3msnake
X3msnake / patchwork-quilting-ruler-template.md
Last active September 22, 2024 23:21
Patchwork quilting opensource ruler
@X3msnake
X3msnake / waffles_de_portugaliege.md
Last active November 3, 2024 19:32
Waffles de Liege feitos em Portugal

WAFFLES DE PORTUGALIEGE by X3msnake

10g .............. fermento padeiro seco
100g ............. leite morno
10g .............. icing sugar (ou açucar refinado)
250+50g .......... farinha
1un............... ovo L

LOLIN ESP32 module with LCD and Battery

Notes for future reference

Board that I am using: Aliexpress link

** Setting up the OLED screen with lcdgfx library **

DisplaySSD1306_128x64_I2C display(-1,{1,0x3C, 4, 5, 0}); 
// or (-1,{busId, addr, scl, sda, frequency}). This line is suitable for most platforms by default
// The parameters are RST pin, BUS number, CS pin, DC pin, FREQ (0 means default), CLK pin, MOSI pin
@X3msnake
X3msnake / _make_folder_tree_with_files.bat
Last active May 24, 2023 15:49
Notepad for common batch file script needs
set fileName=ALL_FILES.txt
time /T > %fileName%
date /T >> %fileName%
echo _____________________________ >> %fileName%
PowerShell -Command "TREE /F | Out-File %fileName% -Encoding utf8"
EXIT
:: Source reference: https://stackoverflow.com/questions/138576/saving-tree-f-a-results-to-a-textfile-with-unicode-support/51255816#51255816
@X3msnake
X3msnake / _witbox_klipper_readme.md
Last active April 21, 2025 15:29
Witbox2 --> Klipper + Hotbed DIY upgrade attempt

Klipper Configuration for BQ WITBOX 2 by X3msnake