Skip to content

Instantly share code, notes, and snippets.

View rwarbelow's full-sized avatar
💭
hungry

Rachel W rwarbelow

💭
hungry
View GitHub Profile
@rwarbelow
rwarbelow / mod_0_session_4_practice_tasks.md
Last active April 11, 2026 21:34
Mod 0 Session 4 Practice Tasks

Session 4 Practice Tasks

The assignments listed here should take you between 1.5 and 2 total hours.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.
Class: Bottle
Attributes:
Color (string)
LidType (string)
TotalCapacity (integer)
Stickers (array)
CurrentCapacity (integer)
Recyclable (boolean)
Object: Pink Nalgene
Attributes:
Color: "Pink"
LidType: "Twist top"
...
Methods:
CalculatePercentFull: 800 / 1000 = .8
@rwarbelow
rwarbelow / seed_pg_database_using_node_and_sequelize_elastic_beanstalk.md
Last active September 10, 2019 06:11
Seeding a PG database using Sequelize, Node, and Elastic Beanstalk
  1. SSH into your EC2 instance: $ ssh -i <NameofKeyPair>.pem ec2-user@123.123.123.123
  2. $ cd /var/app/current
  3. ./node_modules/.bin/sequelize db:seed:all --env production --url postgres://[username]:[password]@[host]:[databaseport]/[databasename]

For example: ./node_modules/.bin/sequelize db:seed:all --env production --url postgres://taskmanager:taskmanager@taskmanager.ca1ksgalbb7j.us-east-1.rds.amazonaws.com:5432/taskmanager

@rwarbelow
rwarbelow / README.md
Last active December 30, 2025 00:08
Cursor AI Rules & Self-Improvement System (Portable)

Cursor AI Rules & Self-Improvement System

A comprehensive, portable configuration for Cursor AI that includes rules, commands, and a self-improving learning system.

🚀 Quick Start

  1. Copy all files to your project's .cursor/ directory
  2. Create the folder structure:
    .cursor/