Skip to content

Instantly share code, notes, and snippets.


Rachel Warbelow rwarbelow

Block or report user

Report or block rwarbelow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rwarbelow /
Last active Sep 10, 2019
Seeding a PG database using Sequelize, Node, and Elastic Beanstalk
  1. SSH into your EC2 instance: $ ssh -i <NameofKeyPair>.pem ec2-user@
  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://

View gist:2639de952d5cc4e862662d04dfef2a64
Object: Pink Nalgene
Color: "Pink"
LidType: "Twist top"
CalculatePercentFull: 800 / 1000 = .8
View filename.txt
Class: Bottle
Color (string)
LidType (string)
TotalCapacity (integer)
Stickers (array)
CurrentCapacity (integer)
Recyclable (boolean)
rwarbelow /
Last active Oct 10, 2019
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.
rwarbelow /
Last active Apr 15, 2019
Mod 0 Markdown Practice

Markdown Practice

Take a look at the Mod 0 Tech Setup instructions. Next, click the Raw button and compare the raw markdown to how the gist displays.

Look for the following elements, and under each bullet point, paste an example of the markdown that creates each.

  • Headings of various sizes
  • Links
  • Bold text
  • Auto-numbered lists
rwarbelow /
Last active Jan 27, 2019
Changing Your Command Prompt

First, make sure you're at the home directory by typing cd.

Next, type nano .bash_profile. Copy and paste this into the window:

# get current branch in git repo
function parse_git_branch() {
  BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
  if [ ! "${BRANCH}" == "" ]
rwarbelow /
Last active Jan 18, 2019 — forked from timomitchel/
For Rachel to Fork

This is random text


  • than
  • before
  • Howdy
rwarbelow /
Last active Mar 24, 2019
Turing School Module 0 Technical Setup Instructions

Mod 0 Tech Setup

Complete the following steps before Mod 0 in order to get the tools you'll need on your machine. In this setup, we'll go over the following topics:

  1. New to Mac?
  2. Installing a Text Editor
  3. Installing Xcode
  4. Installing Homebrew
  5. Installing Git
  6. Configuring Git
  1. Sign in to GitHub and go to
  2. Type in the name of your project for repository name
  3. Select the checkmark for "Initialize this repository with a README"
  4. Click "Create Repository"
  5. Click the button "Create new file"
  6. In the box that says "Name your file..." enter index.html
  7. Paste your HTML into the large text box area
  8. Click "Commit new file"
  9. Click "Create new file" again
  10. In the box that says "Name your file..." enter styles.css (or whatever you called your stylesheet file)
View funnythings.txt
You can’t perform that action at this time.