Skip to content

Instantly share code, notes, and snippets.

View coltenkrauter's full-sized avatar
👩‍🌾
Husband, father of four, full-stack developer

Colten Krauter coltenkrauter

👩‍🌾
Husband, father of four, full-stack developer
  • Stevensville, MT
View GitHub Profile
@coltenkrauter
coltenkrauter / canon-camera-dat-file-issue.md
Created September 29, 2023 03:20
A guide that explains the DAT file issue in Canon cameras, including the Vixia HFG50, and how to fix it.
@coltenkrauter
coltenkrauter / truenas-scale-kubernetes-commands.sh
Created May 5, 2024 23:12
TrueNas Scale Kubernetes Commands
# 1. Get service information such as IP addresses and ports across all namespaces
k3s kubectl get services --all-namespaces
# 2. Get pod information such as name, health, and age across all namespaces
k3s kubectl get pods --all-namespaces
# 3. List all nodes in the cluster along with their status and roles
k3s kubectl get nodes
# 4. Get detailed information about all deployments across all namespaces
@coltenkrauter
coltenkrauter / typescript-types-guide.md
Last active May 26, 2024 02:16
10 Ways to Use TypeScript Types
@coltenkrauter
coltenkrauter / detailed-home-assistant-os-installation-in-vm-on-truenas-scale.md
Last active May 17, 2025 13:47
Comprehensive instructions for installing Home Assistant OS in a VM on TrueNAS SCALE.
@coltenkrauter
coltenkrauter / correct-commit-author-for-all-commits.sh
Created September 6, 2024 17:00
Update all commits of a branch with new author and committer information.
NEW_AUTHOR_NAME="John Doe"
NEW_AUTHOR_EMAIL="[email protected]" # Private Git Email
# Start filter-branch to rewrite the author information for all commits
git filter-branch -f --env-filter '
CORRECT_NAME="'"$NEW_AUTHOR_NAME"'"
CORRECT_EMAIL="'"$NEW_AUTHOR_EMAIL"'"
export GIT_COMMITTER_NAME="$CORRECT_NAME"
@coltenkrauter
coltenkrauter / high-availability.md
Last active October 23, 2024 03:22
High Availability

High Availability

This document is intended to facilitate discussions and promote industry best practices for cloud-based services to achieve a resilient posture, or high availability. Achieving a highly resilient posture means being prepared for all kinds of failures such as natural disasters, security breaches, network failures, software bugs, high traffic loads, unexpected user behaviors, and the capacity to handle the unexpected gracefully and lightning fast. High availability is the product of coordinated efforts in people, processes, and technical strategy, including but not limited to,

  • Disaster Recovery strategy (ranging from backups to full active/active multi-cloud deployments)
  • Continuous deployment (infrastructure-as-code, automated unit/integration/load testing, staggered deployments to multiple regions with bake-time and rollback alarms)
  • Observability (covering KPIs, health indicators, and assum