Skip to content

Instantly share code, notes, and snippets.

View mwaterous's full-sized avatar

Mark Waterous mwaterous

  • Colorado
View GitHub Profile
@mwaterous
mwaterous / prisma.ts
Created July 22, 2025 19:51
New Prisma Client in NextJS
// lib/prisma.ts
import { PrismaClient } from "@prisma/client";
const globalForPrisma = global as unknown as { prisma: PrismaClient };
export const prisma =
globalForPrisma.prisma || new PrismaClient();
if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;
@mwaterous
mwaterous / esling.config.js
Created July 16, 2025 16:09
React eslint.config.js
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
@mwaterous
mwaterous / temerity-studios-asana-workflow.md
Last active March 10, 2022 13:57
Temerity Studios Asana Workflow

Asana Workflow

Items move from the left most columns towards the right: To-Do → Doing → In Review → Completed

To-Do

  • A list of the things we think we want to do.
  • Tasks may not be ready for work, but have a high likelihood of being worked on.
  • Tasks should be shown in order of priority (top to bottom). ↓
@mwaterous
mwaterous / semantic-commit-messages.md
Last active February 10, 2022 20:50 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>: <subject>

Example

feat: add hat wobble