Skip to content

Instantly share code, notes, and snippets.

View enspencer's full-sized avatar

Emma Spencer enspencer

  • Maxwell Health
  • North Carolina
View GitHub Profile
{"people":
[{
"_id": "563a375c5cdb5c68cba4d33f",
"isActive": true,
"age": 35,
"eyeColor": "brown",
"name": "Alisha Cook",
"company": "SPLINX",
"email": "alishacook@splinx.com",
"address": "993 Roder Avenue, Knowlton, Connecticut, 2910",
@enspencer
enspencer / dinosaurs.txt
Created November 9, 2015 20:57
Some awesome dinosaurs
Gondwanatitan
Sulaimanisaurus
Chebsaurus
Australodocus
Riojasaurus
Laosaurus
Apatodon
Trachodon
Erlikosaurus
Torilion

Installfest!

We have an optional installation night for the GDI Boston Node.js class on Monday, November 9th at Maxwell Health. If you already have these programs installed or want to install them on your own then we'll see you for Class 1 on November 10th!

Please bring along a laptop and charger to installation night. We will be installing the following programs:

And please read through a section fully before running any commands!

@enspencer
enspencer / universities_database.rb
Created October 9, 2013 20:56
Practice database
require 'pry'
require 'pg' # this is our database gem
# this establishes a connection to the database
conn = PG.connect(dbname: 'ga-class', host: 'localhost')
puts "name?"
name = gets.chomp
puts "address?"
address = gets.chomp

Week 1-2 Ruby Checklist

Must Haves:

Built-In Basic Datatypes:

  • Boolean
  • String
  • Fixnum
  • Float

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
https://github.com/rspec/rspec
http://www.codeschool.com/courses/testing-with-rspec
http://en.wikipedia.org/wiki/RSpec
http://rspec.info/
https://relishapp.com/rspec/rspec-core/docs
http://betterspecs.org/