Skip to content

Instantly share code, notes, and snippets.

@bramp
bramp / 401k.dot
Created November 14, 2017 05:48
401k/IRA flow chart
digraph "401k" {
label = "Assumptions - 2018 - Age < 50 - Single - Income > $135k - 50% company match of 401(k)\n";
"Pay Cheque (Pre-tax)" -> "Pre-tax 401(k)" [ label = "Max $18.5k*" ];
"Pay Cheque (After-tax)" -> "Roth 401(k)" [ label = "Max $18.5k*" ];
"Pay Cheque (After-tax)" -> "After-tax 401(k)" [ label = "Max $27.25k" ];
"Pay Cheque (After-tax)" -> "Bank Account (After-tax)";
@bramp
bramp / make.py
Last active July 2, 2023 18:34
Creates a model of a 3D Hilbert curve, suitable for 3D printing.
#!/usr/bin/env python3
# Creates a model of a 3D Hilbert curve, suitable for 3D printing.
# by Andrew Brampton (bramp.net) 2023
# See https://www.printables.com/model/518431
#
# Usage:
# python3 make.py 4 4 4 --voxelizer voxelmap --spacing 3
# python3 make.py 4 4 4 --voxelizer trimesh --spacing 2
#