Skip to content

Instantly share code, notes, and snippets.

View devinschumacher's full-sized avatar
🦩
stayin' funky

Devin Schumacher devinschumacher

🦩
stayin' funky
View GitHub Profile
@devinschumacher
devinschumacher / post.md
Last active October 9, 2024 18:27
How to Print (keep / retain) Interactive CLI Prompt Information in Your Terminal
title tags
How to Print (keep / retain) Interactive CLI Prompt Information in Your Terminal
linux
cli
less

How to Print (keep / retain) Interactive CLI Prompt Information in Your Terminal

Let's say there are commands that you need to run that bring up interactive prompts and if you're like me, you forget what you were looking at within three seconds of it disappearing.

Clicking on the "Leave Group" button will present you with a series of prompts. Speed through them like this:

@devinschumacher
devinschumacher / post.md
Last active October 9, 2024 18:23
How to Bulk Leave Facebook Groups (No extensions, ads, or paid products) - Step-by-Step Guide
title
How to Bulk Leave Facebook Groups (No extensions, ads, or paid products) - Step-by-Step Guide

How to Bulk Leave Facebook Groups (No extensions, ads, or paid products) - Step-by-Step Guide

Are you looking for an efficient way to leave multiple Facebook groups at once?

@devinschumacher
devinschumacher / post.md
Last active October 5, 2024 20:28
Github Self-Hosted Runners: How to Setup & Use a Self-Hosted Github Runner for Your Actions & Workflows
title tags
Github Self-Hosted Runners: How to Setup & Use a Self-Hosted Github Runner for Your Actions & Workflows
github
github actions
github runners

Github Self-Hosted Runners: How to Setup & Use a Self-Hosted Github Runner for Your Actions & Workflows

Github self-hosted runners are awesome, because they:

@devinschumacher
devinschumacher / post.md
Last active October 5, 2024 12:14
How to Setup Nuxt with shadcn-vue (Fixes the @/components/ui Import Issues)
title
How to Setup Nuxt with shadcn/vue

How to Setup Nuxt with shadcn-vue (fixes the @/components/ui Import Issues)

Create a new project

@devinschumacher
devinschumacher / post.md
Last active October 9, 2024 02:51
How to Use Environment Variables & runtimeConfig Correctly in Nuxt
@devinschumacher
devinschumacher / how-to-remove-delete-untracked-files-git.md
Last active October 6, 2024 03:55
How to Remove (Delete) all UNTRACKED Files in Git
title tags
How to Remove (Delete) all UNTRACKED Files in Git
git
git clean
untracked files

How to Remove (Delete) all UNTRACKED Files in Git

When you add files to a repository, and have no yet STAGED them (ie: run git add) they will be 'untracked'.

@devinschumacher
devinschumacher / post.md
Last active October 9, 2024 03:03
How to Create a Branch from an Issue in Github (without the GUI / from the Command Line)
title tags
How to Create a Branch from an Issue in Github (without the GUI / from the Command Line)
git
github
git branch

How to Create a Branch from an Issue in Github (without the GUI / from the Command Line)

GitHub's CLI tool gh provides a convenient way to create branches linked to specific issues without using the GUI.

Prerequisite: Ensure you have the GitHub CLI (gh) installed and authenticated.

@devinschumacher
devinschumacher / 1_how-to-git-diff-between-remote-branch-and-local-branch.md
Last active October 6, 2024 03:59
How to See a `git diff` Between a Remote Branch and Your Local Branch
title tags
How to See a `git diff` Between a Remote Branch and Your Local Branch
git
github
git diff

How to See a git diff Between a Remote Branch and Your Local Branch

Example: You're working locally on the dev branch and before you start you want to check to make sure that you have the most updated version.

@devinschumacher
devinschumacher / example-1.md
Last active October 1, 2024 10:12
How to do a "dry run" of a git merge to see what would happen without actually committing to it
title tags
How to do a "dry run" of a git merge to see what would happen without actually committing to it.
git
github
git merge
git diff

How to do a "dry run" of a git merge to see what would happen without actually committing to it.

Example: You have a local project, and you're on the local branch called dev. You haven't started working yet, but there may have been other activity since you originally cloned the remote dev branch, and you want to see how your branch compares to the remote dev branch so you can get in sync before starting to code - but you don't want to just git pull and risk conflicts, or losing info.

@devinschumacher
devinschumacher / .env.example
Last active September 16, 2024 23:26
Docker compose file to run postgresql database locally
NODE_ENV=development
DB_HOST=localhost
DB_USER=<username>
DB_PASSWORD=<password>
DB_NAME=<db_name>
DB_PORT=5432
DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}