Skip to content

Instantly share code, notes, and snippets.


Lauren Fazah laurenfazah

View GitHub Profile
if (weatherCode === "good"){
    //dialog.css("background-color", "rgb(169,247,188)");
    return "Looks like a great day to ride!";
  } else if (weatherCode === "maybe"){
laurenfazah / vim_commands.txt
Last active Jun 23, 2020
Handy vim commands for migrating from Minitest to RSpec
View vim_commands.txt
%s/\.must_/)\.to /g
%s/\.wont_/.not_to /g
%s/ eq true/ be true/g
%s/ eq false/ be false/g
%s/to raise/to raise_error/g
%s/to be_instance_of/to be_an_instance_of/g
laurenfazah /
Created Jan 8, 2018
1706 Open Source Project

Draft Schedule:

Time Name Instructor
1/4 9am Jay P Lauren
1/4 9am Aaron Katelyn
1/4 9:45am Sam S Lauren
1/4 9:45am Mimi Katelyn
1/4 10:45am Dan P Lauren
1/4 10:45am Michael B Katelyn
laurenfazah /
Created Dec 14, 2017
JS Assessment Rubric


1. Completion:

  • At a minimum, developer completes challenges 1-3 and deploys to GitHub pages in the allotted three hours.

Above Expectations

Meets Expectations

Below Expectations

laurenfazah /
Created Dec 11, 2017
Intro to the Asset Pipeline

Intro to the Asset Pipeline


By the end of this lesson, you will know/be able to:

  • Explain the purpose of the asset pipeline
  • Explain how Heroku works with the asset pipeline
  • Run your app in a production environment locally
  • Be comfortable using figaro to set environment variables
laurenfazah /
Last active May 13, 2022
Cheat Sheet: Setting up Express with Postgres via Knex

Express & Postgres via Knex

Note: <example> is meant to denote text replaced by you (including brackets).


// global dependencies
npm install -g knex
laurenfazah /
Last active Feb 20, 2022
Authentication with an Express API and Postgres

Authentication with an Express API and Postgres

Setting Up

Let's make sure our Express app has the required base modules:

# within root of API
npm install --save express pg knex bcrypt
npm install --save-dev nodemon
laurenfazah /
Created Sep 12, 2017
Integrating React with an Existing Client Application

Integrating React with an Existing Client Application

Do you have an existing client application built with vanilla JavaScript that you’d like to transform into a React application? It’s not as complicated as you’d might think it’d be.

Installing Modules

Per the React docs, we'll need a few things:

laurenfazah / bob_elements.csv
Created Feb 22, 2017
An absurdly long & repetitive list of 538's Bob Ross - Elements By Episode CSV
View bob_elements.csv
We can't make this file beautiful and searchable because it's too large.
S01E01,"""A WALK IN THE WOODS""",0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0
S01E02,"""MT. MCKINLEY""",0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0