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
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)"; |
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 | |
# 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 | |
# |
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
# A program that fetches past winning numbers and draw results from www.calottery.com | |
# # Setup | |
# python3 -m venv .venv | |
# source .venv/bin/activate | |
# (venv) $ python -m pip install requests requests_cache dotted-notation | |
# | |
# # Run | |
# python fetch.py | |
# |
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
# My Mac Setup | |
# Using a lot of notes from https://www.robinwieruch.de/mac-setup-web-development/ | |
# Enable intel2arm silcon | |
sudo softwareupdate --install-rosetta --agree-to-license | |
# Install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Install brew packages |
OlderNewer