Skip to content

Instantly share code, notes, and snippets.

View coltenkrauter's full-sized avatar
🔥
Fire

Colten Krauter coltenkrauter

🔥
Fire
  • Stevensville, MT
View GitHub Profile
@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
@coltenkrauter
coltenkrauter / create-push-local-github-repo.md
Created September 24, 2023 21:41
A beginner-friendly, detailed guide on creating a local GitHub repository and pushing it to a remote GitHub repository.
@coltenkrauter
coltenkrauter / update-node-npm.sh
Created September 24, 2023 14:56
Instructions to update Node.js and NPM to their latest versions.
# Check current versions
node -v
npm -v
# Update NPM
npm install -g npm@latest
# Install NVM (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh