Skip to content

Instantly share code, notes, and snippets.

View harmoniqpunk's full-sized avatar

Harmoniq Punk harmoniqpunk

  • Earth
View GitHub Profile
@harmoniqpunk
harmoniqpunk / NACA23012.py
Created November 8, 2024 00:35
NACA 23015 and NACA 23012 - Fusion360 Script Python (Cessna 310N)
import adsk.core, adsk.fusion, adsk.cam, traceback, math
def run(context):
ui = None
try:
app = adsk.core.Application.get()
ui = app.userInterface
design = app.activeProduct
# Get the active sketch
@harmoniqpunk
harmoniqpunk / gist:59e42d9c5e777e70ab0f5faf3a6517c1
Last active March 11, 2024 21:33
FreeBSD ZFS incremental backup in OVH Cold Archive. zroot snapshots are stored in an encrypted dataset inside the main pool
#!/bin/sh
set -e
# Configuration
zpool="bbox"
snapshot_prefix="${zpool}-" # Identify your ZPOOL daily snapshots
retention_count=36 # Number of snapshots per container
# Generate snapshot name with date