Skip to content

Instantly share code, notes, and snippets.

View MBSilvaR's full-sized avatar

Marcela Silva MBSilvaR

  • Los Angeles, CA
View GitHub Profile
@alexhawkins
alexhawkins / eloquentJavaScript.js
Last active September 28, 2023 12:25
Solutions for Eloquent Javascript Chapter 3, 4 Exercises (Functions, Arrays, Objects)
'use strict';
/****************************************
* Chapter 3 Exercises: Functions
*****************************************
#EXERCISE 1: Minimum
The previous chapter introduced the standard function Math.min that returns
its smallest argument. We can do that ourselves now. Write a function min that
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active July 12, 2024 11:15
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@heidipowers
heidipowers / herokuDeploy.md
Last active November 29, 2019 03:02
Node/Express/Heroku Deployment

#HEROKU TIME#

internet

  • Heroku is a cloud application platform – a new way of building and deploying web apps.
  • Heroku allows app developers spend their time on their application code, not managing servers, deployment, ongoing operations, or scaling. Heroku makes it easy!
  • We can deploy full stack apps to Heroku for FREE!
  • Heroku is also PSQL & Node friendly! Awesome!
@bryanmytko
bryanmytko / migrations.md
Last active December 14, 2016 16:53
Migration Files!

Editing Migration Files:

A Real Life Scenario

Jared starts a new project for his team. He creates a new User model using the generator:

rails g model User email:string name:string password_digest:string

This command creates two important files (among others), which are:

@bryanmytko
bryanmytko / readme.md
Last active December 28, 2016 17:20
New Rails App

Creating Rails App

A New Resource

We want to create a dog directory with basic CRUD functionality. The pieces we will need to make it all work are:

  1. Dogs Routes
  2. Dogs Controller
  3. Dogs Views