Skip to content

Instantly share code, notes, and snippets.

View awb305's full-sized avatar

Andrew Bass awb305

View GitHub Profile
@awb305
awb305 / cursor-rules.md
Last active May 21, 2025 02:46
.cursorrules

.cursorrules

Project Instructions

Use the project specification and guidelines as you build the app.

Write the complete code for every step. Do not get lazy.

Your goal is to completely finish whatever I ask for.

@awb305
awb305 / form.js
Created February 9, 2022 11:13
Elsa
$('#selectbox1').each(function () {
// Cache the number of options
var $this = $(this),
numberOfOptions = $(this).children('option').length;
// Hides the select element
$this.addClass('s-hidden');
// Wrap the select element in a div
@awb305
awb305 / machine.js
Created December 1, 2019 16:03
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
/node_modules
# testing
/coverage
# production
/build