Skip to content

Instantly share code, notes, and snippets.

View adamhundley's full-sized avatar

Adam Hundley adamhundley

View GitHub Profile
@adamhundley
adamhundley / require-1511.markdown
Created May 23, 2016 22:33 — forked from rrgayhart/require-1511.markdown
The Concept of Require

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Read Node.js, Require and Exports and Organize Your Code with RequireJS

Fork this gist and answer the following questions:

  • In the context of Node, what is a module?
  • The code examples from the second blog post look very different from the first. Why?

Setting Group Expectations

Group Member Names: Nick, David, Adam

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed?
  • We discussed working together most of the times. There are a few commitments that each of us have and will respect.
  1. How will group members communicate? How often will communication happen, and how will open lines of communication be maintained?
  • We plan on being together moajority of the time. In person communication is strongest. Else we will use slack.
@adamhundley
adamhundley / cfu_crud_in_sinatra.markdown
Last active February 3, 2016 00:28 — forked from rwarbelow/cfu_crud_in_sinatra.markdown
CRUD in Sinatra -- Check for Understanding
  1. Define CRUD.
  • Create Read Update Delete.
  1. There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.
  • GET /all - shows everything created
  • GET /all/specific - shows a specific thing created
  • GET /all/new - gives form to create something new
  • POST /all - creates something new
  • GET /all/specific/edit - shows something that has already been created but needs to be changed
  • PUT /all/sepcific - makes changes
  • DELETE /all/specific - deletes