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 / crafting-effective-gists.md
Last active September 5, 2024 07:07
This handbook serves as a comprehensive guide for developers, elucidating the process of crafting insightful Gists. Learn how to encapsulate challenges, solutions, and experiences, fostering a vibrant and collaborative knowledge-sharing community.
@coltenkrauter
coltenkrauter / 35-free-apis-curated-by-chatgpt.md
Last active March 15, 2024 16:37
A compilation of 35 APIs spanning various categories including general utility, advanced features, and including niche ones. Curated with the help of ChatGPT.

35 Free APIs Curated by ChatGPT-4

Hey, tech enthusiasts! Ever been in the middle of a project and thought, "I wish there was an API for that?" Well, you're in luck! I've sifted through the digital realm to bring you a compilation of 35 APIs, each offering unique functionalities that can be the missing piece in your tech puzzle. Whether you're just starting your coding journey or are a seasoned developer, this list promises something for everyone. And here's a fun twist: this isn't just my brainchild. I had a little help from ChatGPT by OpenAI. Yep, AI-driven insights went into this, giving it that extra touch of tech awesomeness. Ready to dive in? Let's explore!

General Utility APIs

  1. JSONPlaceholder
    Fake online REST API perfect for testing and prototyping. Developers can use it for mockup data without setting up a backend.

  2. Dog API

@coltenkrauter
coltenkrauter / gpt-4-recommended-thriller-movies.md
Last active December 13, 2024 17:50
A collection of 25 thriller movie recommendations, curated with the insights of GPT-4.
@coltenkrauter
coltenkrauter / react-app-with-nextui-setup-guide.md
Last active September 5, 2023 18:40
A step-by-step guide to setting up a React app with create-react-app and integrating the NextUI component library.

Get Started with React & NextUI

Setting up a React application integrated with a component library can be a game-changer for rapid development. This guide provides a step-by-step process to establish a React application using the Create React App tool and seamlessly integrate it with NextUI components. Following this will ensure a robust foundation and a visually appealing user interface without the hassle of crafting everything from scratch.

A reliable guide to establishing a foundational React application with seamless integration of NextUI components, aligned with AWS best practices.

Resources

@coltenkrauter
coltenkrauter / ultimate-coding-interview-prep.md
Last active August 26, 2023 23:25
A compilation of interview insights and coding know-how. Level up your skills to face technical challenges head-on and ace those interviews.
@coltenkrauter
coltenkrauter / project-naming-guidelines.md
Last active September 5, 2023 18:40
Your guide to mastering the art of project code naming conventions, filled with examples and best practices for clear and efficient development.

Project Naming Guidelines

Introduction

This document outlines the principles and guidelines for naming projects and provides essential tenets to follow. Adopting consistent naming conventions and adhering to these tenets will enhance organization, maintainability, and collaboration within your development team.

Tenets

  1. Durability: Names should withstand the test of time. Choose names that remain relevant and meaningful as the project evolves. Avoid using technology-specific terms that might become outdated.
@coltenkrauter
coltenkrauter / regex-match-prime-numbers.md
Created July 11, 2023 19:20
Function to match Prime numbers Java/JavaScript/Python

TypeScript

// Using ECMAScript 6 repeat function
const isPrime = (n: number): boolean => {
    let re = /^.?$|^(..+?)\1+$/;
    return !re.test('1'.repeat(n));
}
@coltenkrauter
coltenkrauter / hulu-vpn-whitelist.md
Last active March 4, 2025 18:52
Whitelist Hulu to bypass VPN

Whitelist Hulu to bypass VPN

assetshuluimcom-a.akamaihd.net
cws.conviva.com
hulu.hb-api.omtrdc.net
hulu.com
assets.huluim.com
t2.hulu.com


@coltenkrauter
coltenkrauter / extract-google-takeout-files.md
Last active September 21, 2023 21:26
Extract Google Takeout Files

Extract Google Takeout Files

tmux new-session will create a tmux session will will continue to run even after the terminal has been closed (so long as the system is still powered on). pv -p is the pipe-viewer command that will pipe the zipped files into the next command and the -p flag will display a progress bar as things are unzipped. tar xzif - will take the output of the previous command (thanks to the - stdin dash) and unzip the files.

tmux new-session 'pv -p  *.tgz | tar xzif -'
@coltenkrauter
coltenkrauter / truenas-scale-copy-all-data-from-one-pool-to-another.sh
Created June 2, 2023 02:43
TrueNAS – Copy all data from one pool to another
# The reason why I wanted to do this was because I had a striped pool (a pool with no mirroring/redundancy) and
# I wanted to convert it to a mirror pool which is not possible through the GUI (it is a bit complex via shell commands).
# My solution was to copy the data from the striped pool to a temporary holding pool (a random disk that I had lying around)
# and then recreate the pool as a mirrored pool and copy the snapshot back.
# Start a tmux session so that the shell session will persist even when you close the shell
tmux
# Create a snapshot of pool_A that contains the data that you want moved to pool_B
zfs snapshot -r pool_A@migrate