Skip to content

Instantly share code, notes, and snippets.

View neight-allen's full-sized avatar

Nate Allen neight-allen

View GitHub Profile

Install the CORS package

npm i cors --save

In your server.js:

const cors = require('cors')
@neight-allen
neight-allen / binary_search_tree.rb
Created December 9, 2016 16:46
My ruby implementation of Turing School's Binary Search Tree project
require_relative 'node'
class BinarySearchTree
attr_accessor :root
def initialize
@root = Node.new
end
def insert(value, movie)

Tutorial Overview

Everyone

Functions

@neight-allen
neight-allen / insertTVShows.js
Created December 14, 2016 16:17
Be sure to `node install request mongodb` before you run this
var request = require('request')
var MongoClient = require('mongodb').MongoClient
, assert = require('assert');
// Connection URL
var url = 'mongodb://localhost:27017/spike';
// Use connect method to connect to the server
MongoClient.connect(url, function(err, db) {

9:00: Introduction

Setting the Context:

This is similar to a consulting situation where you basically run out of billable hours and need to wrap up and leave things in a good state for the client or the next consultant on the project. Since we had a pretty informal Scale Up, and since we didn't have a cohort retro on Friday - let's also take this opportunity to support one another with some technical reviews!

Prime Directive ‘Regardless of what we discover, we understand and truly believe that everyone did the best job he or she could, given what was known at the time, his or her skills and abilities, the resources available, and the situation at hand.’

9:05: Small Groups: Project Discussion

@neight-allen
neight-allen / readmelove.md
Last active November 7, 2016 15:18 — forked from rrgayhart/readmelove.md
README Love

##PROTIP: README Love

READMEs are AWESOME. They are one of the best things you can add to a repo, (other than quality code), to make it look professional.

####Things that make a README great:

  • A link to the production site on heroku
  • A screenshot (or a few) of what the app does (This is especially important if you don't have the production app up and running yet)
  • Directions on how to clone or fork the repo and run it locally (explain it like you're explaining things to a totally new programmer)
@neight-allen
neight-allen / the_job_profiling_assignment.md
Last active October 20, 2016 18:50
The 'Job Profiling' Assignment

The 'Job Profiling' Assignment

List 5 companies you might want to apply for:

  • GoSpotCheck
  • Viper
  • CaptainU
  • SendGrid
  • CA Technologies
@neight-allen
neight-allen / Outline.md
Last active September 23, 2016 17:41
What is PHP?

What is LAMP?

I Love Lamp

Getting up and running

https://www.mamp.info/en/

  1. Install MAMP
  2. Run MAMP from Applications
  3. Chose MAMP instead of MAMP Pro