Skip to content

Instantly share code, notes, and snippets.

💭
hungry

Rachel Warbelow rwarbelow

💭
hungry
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
rwarbelow / seed_pg_database_using_node_and_sequelize_elastic_beanstalk.md
Last active Sep 10, 2019
Seeding a PG database using Sequelize, Node, and Elastic Beanstalk
View seed_pg_database_using_node_and_sequelize_elastic_beanstalk.md
  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

View gist:2639de952d5cc4e862662d04dfef2a64
Object: Pink Nalgene
Attributes:
Color: "Pink"
LidType: "Twist top"
...
Methods:
CalculatePercentFull: 800 / 1000 = .8
View filename.txt
Class: Bottle
Attributes:
Color (string)
LidType (string)
TotalCapacity (integer)
Stickers (array)
CurrentCapacity (integer)
Recyclable (boolean)
@rwarbelow
rwarbelow / mod_0_session_4_practice_tasks.md
Last active Aug 8, 2019
Mod 0 Session 4 Practice Tasks
View mod_0_session_4_practice_tasks.md

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
rwarbelow / mod_0_markdown_practice.md
Last active Apr 15, 2019
Mod 0 Markdown Practice
View mod_0_markdown_practice.md

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
rwarbelow / command_prompt.md
Last active Jan 27, 2019
Changing Your Command Prompt
View command_prompt.md

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}" == "" ]
  then
@rwarbelow
rwarbelow / Practice.md
Last active Jan 18, 2019 — forked from timomitchel/Practice.md
For Rachel to Fork
View Practice.md

This is random text

More

  • than
  • before
  • Howdy
@rwarbelow
rwarbelow / mod_0_setup.md
Last active Mar 24, 2019
Turing School Module 0 Technical Setup Instructions
View mod_0_setup.md

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
View github-pages-site.md
  1. Sign in to GitHub and go to https://github.com/new
  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
https://web.archive.org/web/20150221125906/http://www.sewingandembroiderywarehouse.com/embtrb.htm
https://www.facebook.com/uniladmag/videos/5192506594105691/
http://www.cakewrecks.com/home/2009/5/4/happy-falker-satherhood.html
You can’t perform that action at this time.