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
Created September 17, 2024 00:06
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.

Example: You're on a branch called some-branch and you want to see how your branch compares to your local dev branch.

  1. First run a git diff to see the difference between your branches:
@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}
@devinschumacher
devinschumacher / post.md
Last active September 16, 2024 22:48
How to get (fetch) and view all of the branches on a repository in git
title tags
How to get (fetch) and view all of the branches on a repository in git
git

How to get (fetch) and view all of the branches on a repository in git

  1. git fetch --all
  2. git branch --all
@devinschumacher
devinschumacher / post.md
Last active September 16, 2024 20:20
How to Run Lighthouse CI CLI with Nuxt (Step-by-Step Walkthrough)
title tags
How to Run Lighthouse CI CLI with Nuxt (Step-by-Step Walkthrough)
lighthouse
nuxt
cicd
performance

How to Run Lighthouse CI CLI with Nuxt (Step-by-Step Walkthrough)

  1. Install Lighthouse CI CLI
@devinschumacher
devinschumacher / post.md
Created September 15, 2024 22:04
How to make an open source contribution, step-by-step (with a real life example)
title tags
How to Make an Open Source Contribution, a step-by-step Walkthrough
open-source
git
github
programming

Example: Making an open source contribution to drizzle-team/drizzle-orm-docs

How to Make an Open Source Contribution Steps

  1. Fork the repository you want to contribute to
@devinschumacher
devinschumacher / post.md
Created September 14, 2024 05:06
best practices or managing secrets, security for collaborating with developers
title tags
Best practices or managing secrets, security for collaborating with developers
security
secrets management
SecOps

Best Practices for Secrets Management

@devinschumacher
devinschumacher / post.md
Created September 13, 2024 15:37
How to create an issue in GitHub from the command line
title tags
How to create an issue in GitHub from the command line
git, github

How to create an issue in GitHub from the command line (without using the GitHub GUI or any apps)

The basic syntax:

@devinschumacher
devinschumacher / post.md
Last active September 13, 2024 15:31
How to create a pull request (merge) in Github from the command line (without using the Github GUI or any apps)
title tags
How to create a pull request in Github from the command line (without using the Github GUI or any apps)
git

How to create a pull request in Github from the command line (without using the Github GUI or any apps)

The syntax:

@devinschumacher
devinschumacher / post.md
Created September 9, 2024 21:36
How To Use External Api With Dynamic Filterable Search Component

title: "How To Use External Api With Dynamic Filterable Search Component" tags: [ 'Nuxt', 'useRuntimeConfig', 'nuxt.config.ts', 'typescript', 'index.ts', 'NuxtUI', 'SOP'

@devinschumacher
devinschumacher / post.md
Last active August 23, 2024 01:51
How to Setup & Connect additional Github.com Account(s) to the Github CLI
title
How to Setup & Connect Additional Github.com Account(s) to the Github CLI

How to Setup & Connect additional Github.com Account(s) to the Github CLI

Assuming you've already created your additional Github account, here are the steps:

  1. Generate a PAT (personal access token) // not going to go through these steps