This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| SVG Cleaner for Driveboard Laser Cutter | |
| Removes Inkscape metadata and problematic characters from SVG files | |
| """ | |
| import os | |
| import re | |
| import sys | |
| import xml.etree.ElementTree as ET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Sync Storage Script | |
| * | |
| * This script downloads all assets from your production Supabase storage buckets | |
| * and uploads them to your local Supabase instance. | |
| * | |
| * Setup: | |
| * pnpm add -D dotenv ora chalk cli-progress @types/cli-progress | |
| * | |
| * Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Shelly Plus 1PM Script - Absaugungssteuerung | |
| * Logik: Relais EIN wenn (Input EIN) ODER (API arbeitet) | |
| * Relais AUS nach Timeout wenn (Input AUS) UND (API Idle) | |
| */ | |
| let xtool_ip = "10.30.0.77"; | |
| let xtool_path = "http://" + xtool_ip + ":8080/status"; | |
| let poll_interval = 1000; // 1 Sekunde |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import base64 | |
| import mimetypes | |
| import math | |
| import subprocess | |
| from PIL import Image | |
| from lxml import etree | |
| # WARNING: This script was vibe coded. It takes a folder of stickers and puts them onto an A4 canvas for easy printing |