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 December 22, 2024 00:11
How to Ignore an Entire File for ESLint

How to Ignore an Entire File for ESLint

Put this at the top of the file:

/* eslint-disable */
@devinschumacher
devinschumacher / post.md
Created December 20, 2024 22:42
What is SEO?

What is SEO? [And How it Works]

SEO, an acronym for “Search Engine Optimization”, is the science (and frankly ART) of bringing people to your website, from search engines, who are likely to be interested in the products and services you provide.

SEO is quite literally how to optimize a website in such a way that a web crawler (aka algorithm, aka Googlebot) that we humans refer to as “a search engine” will like your website more than your competitor’s website, and display your website prominently when someone searches for a product / service you provide.

How do I do that for my website? How do I make my website show up above my competitors? Well, you “SEO it”.

Why is SEO important?

@devinschumacher
devinschumacher / post.md
Created December 10, 2024 11:55
How to fix the error "ExperimentalWarning: CommonJS module is loading ES Module" (tailwind css)

How to fix the error "ExperimentalWarning: CommonJS module is loading ES Module" (tailwind css)

If youre seeing this error:

image

because youre using a require() syntax in something like the tailwind.config.ts file...

Here's what to do

@devinschumacher
devinschumacher / post.md
Created December 3, 2024 22:59
AI Consulting: Get Expert Advice to Guide Your Businesses Artificial Intelligence & Machine Learning Initiatives

AI Consulting Services: Get Expert Advice to Guide Your Businesses Artificial Intelligence & Machine Learning Initiatives

Your Business + Our Expertise in Artificial Intelligence

Are you ready to revolutionize the way your business operates? Imagine harnessing cutting-edge Artificial Intelligence (AI) technology to streamline processes, delight customers, and make data-driven decisions faster than ever before. Whether you’re looking to automate workflows, personalize customer experiences, or gain predictive insights, AI consulting can make it happen.

But let’s face it—implementing AI on your own can feel overwhelming. The learning curve, the costs, and the trial-and-error can drain your resources and slow you down. That’s where we come in.

At SERP AI, we offer a comprehensive AI consulting service designed to meet your unique needs, and take the guesswork out of AI.

@devinschumacher
devinschumacher / 1-post.md
Last active December 3, 2024 13:36
How to seed a supabase database with fake data from faker-js
tags
faker
vue
nuxt
supabase

How to seed a supabase database with fake data from faker-js

install faker & supabase-js client

pnpm i -D @faker-js/faker @supabase/supabase-js
@devinschumacher
devinschumacher / post.md
Last active December 3, 2024 12:10
How to reference environment variables from .env using node natively (no 3rd party packages)
tags
env
node
environment variables
.env

How to reference environment variables from .env using node natively (no 3rd party packages)

# syntax
node --env-file=<path-to-your-file> <path-to-the-file-you-wanna-run>
@devinschumacher
devinschumacher / post.md
Last active December 3, 2024 12:23
How to install and use faker.js in a Vue / Nuxt project
tags
faker
vue
nuxt

How to install and use faker.js in a Vue / Nuxt project

install faker

pnpm i @faker-js/faker -D
@devinschumacher
devinschumacher / post.md
Created November 28, 2024 21:51
How to stack buttons on top of each other (for example to create a nav menu button that will change its symbol when clicked)
tags
css

How to stack buttons on top of each other (for example to create a nav menu button that will change its symbol when clicked)

Youll want to have:

  1. a containing div
  2. the buttons inside that div
@devinschumacher
devinschumacher / post.md
Created November 22, 2024 16:14
Bulk close PRs (Pull Requests) via Github CLI
for pr in $(gh pr list --repo serpcompany/<repository> --state open --json number -q '.[].number'); do
    gh pr close $pr --repo serpcompany/<repository> --comment "Closing PR as part of a bulk operation.";
done
@devinschumacher
devinschumacher / _.md
Last active December 10, 2024 22:07
Software Testing Prompts
tags
test
tests