Skip to content

Instantly share code, notes, and snippets.

View neight-allen's full-sized avatar

Nate Allen neight-allen

View GitHub Profile
@neight-allen
neight-allen / sample_entry.markdown
Last active April 12, 2020 18:17 — forked from burtlo/sample_entry.markdown
This has been modified from @Burtio's. This has the TemplateWrapper needed for Jekyll installations. I also converted the css to scss. It has more properties that I needed for compatibility with our site's styling, and styling is based on OSX 10.11. I had to abandon this because gh-pages doesn't support custom plugins.

To get started with Rails we need to install the gem. From the terminal type:

{% terminal %}
$ gem install rails
Fetching: i18n-0.6.1.gem (100%)
Fetching: multi_json-1.3.6.gem (100%)
Fetching: activesupport-3.2.8.gem (100%)
...
{% endterminal %}
@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)
@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) {

Instructions

  • Fork this gist
  • Do 5 JavaScript exercisms
  • Compare your completed exercises to five answers that other folks got, writing a comment of what you saw when comparing the answer
  • Fill in the template below with your work

My Submission

Do 5 of these:

Tutorial Overview

Everyone

Functions

Install the CORS package

npm i cors --save

In your server.js:

const cors = require('cors')

Quantified Self Wk 2 Feedback

Quantified Self Wk 2 Feedback

Pre-refactor, this is a really great start. I love that you took documentation seriously, in your Readme, and production code. I also appreciate you taking on d3, and being willing to share what you've learned with the class. As someone with a history of building overly complicated visualizations, I can't vouch for D3 as the best tool for everything, but it is quite flexible. I hope you get more opportuni

Tank Man

Daniel Olson & Spencer Carter

Broken Free

Max Glassie

Check your tone

Pamela Lovett

Headcount Dashboard