Skip to content

Instantly share code, notes, and snippets.

@sporkus
sporkus / notes.md
Created November 11, 2022 04:44
Exposing zfs snapshot to windows previous version using samba vfs_shadow_copy2

Exposing zfs snapshot to windows previous version using samba vfs_shadow_copy2

This was much trickier than I had originally anticipated and have spent a few hours testing.

The config from samba wiki absolutely works, but it wasn't ranked higher in search engine and it's not general enough. https://github.com/zfsonlinux/zfs-auto-snapshot/wiki/Samba

Tested on ubuntu 22.04LTS, samba 4.15.9 and windows 11.

TLDR

Brand Material Weight Notes Date
Polymaker ASA 232 clear plastic spool 2022-08-30
@sporkus
sporkus / per_feature_gcode.py
Created August 9, 2022 00:36
per feature slicer post-process script
import sys
import re
import os
FASTSCV=120
NORMALSCV=15
BRIDGESCV=8
TOPFLOW=95 #top flow ratio 0-100
sourceFile=sys.argv[1]