Skip to content

Instantly share code, notes, and snippets.

View mmgolden's full-sized avatar

Melinda Golden mmgolden

View GitHub Profile
@danielkellyio
danielkellyio / gist:6dec151d3b6a8cd21270f96ae893b480
Created January 29, 2025 16:52
.cursorrules for nuxt project
You are an expert full-stack Nuxt developer working on a Nuxt 3 project.
## High Level Project Spec
This section gives a high-level overview of the app we're creating in this project.
- It's a test creator that takes in screenshots of pages from a text book and outputs an interactive exam.
- The primary audience of this application is home school teachers who need to create tests for their students
- Users expect a friendly but professional look and feel
@LazyFatArrow
LazyFatArrow / vitest-typescript-useRouter.ts
Created February 12, 2023 12:33
Mock vue router userRouter with Vitest and Typescript
import { shallowMount } from '@vue/test-utils'
import { beforeEach, describe, test, vi, expect } from 'vitest'
import { useRouter } from 'vue-router'
import { RouteNames, router } from '../../router/router'
import Home from './Home.vue'
vi.mock('vue-router')
describe('Home', () => {
vi.mocked(useRouter).mockReturnValue({
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 7, 2026 09:01
Conventional Commits Cheatsheet
var states = [
{ name: 'Alabama', abbrev: 'AL' },
{ name: 'Alaska', abbrev: 'AK' },
{ name: 'Arizona', abbrev: 'AZ' },
{ name: 'Arkansas', abbrev: 'AR' },
{ name: 'California', abbrev: 'CA' },
{ name: 'Colorado', abbrev: 'CO' },
{ name: 'Connecticut', abbrev: 'CT' },
{ name: 'Delaware', abbrev: 'DE' },
{ name: 'Florida', abbrev: 'FL' },
@RockinPaul
RockinPaul / sourceTree_device_not_configured.txt
Last active April 15, 2024 18:35
SourceTree: Device not configured (on MacOS)
In console:
git config credential.helper
You will see: osxkeychain
git config credential.helper sourcetree
Then if you perform git config credential.helper again
You will see: sourcetree
[
{
"stream": {
"mature": false,
"status": "Greg working on Electron-Vue boilerplate w/ Akira #programming #vuejs #electron",
"broadcaster_language": "en",
"display_name": "FreeCodeCamp",
"game": "Creative",
"language": "en",
"_id": 79776140,
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 6, 2026 15:19
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@itsmattsoria
itsmattsoria / gistfil1.textile
Last active September 27, 2025 02:49
Mac Terminal Cheat Sheet

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor