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 / 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 / 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 / typescript-types-guide.md
Last active May 26, 2024 02:16
10 Ways to Use TypeScript Types
@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 / 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 / ultimate-typescript.gitignore
Created September 24, 2023 21:48
This gist provides the ultimate .gitignore file tailored for TypeScript projects, covering Node.js, IDE-specific, and operating system files to be ignored by Git.
# ---> Node.js and NPM packages
node_modules/
package-lock.json
yarn.lock
# ---> TypeScript Compiler Output
dist/
*.tsbuildinfo
# ---> IDE - Visual Studio Code