Skip to content

Instantly share code, notes, and snippets.

View ckaminer's full-sized avatar

Charles Kaminer ckaminer

  • New York, NY
View GitHub Profile
@ckaminer
ckaminer / CJK-prework.md
Last active March 21, 2016 04:36 — forked from mbburch/prework.md
Charles Kaminer Turing pre-work Gist

Turing School Prework - Charles Kaminer

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist:

  • What do you know about modules already? If little, what would you guess modules are all about?
  • they are a collection of methods that can be required in other files similar to a class. If required, those methods become available to the class they are contained in.
  • Golf and basketball both use a ball. But if you're on a basketball court and ask for "the ball," no one is going to throw you a golf ball. Why? If you were as dumb as a computer, why would a golfd ball be an acceptable response?
  • a golf ball would be an acceptable response because it is still a ball.
  • You've learned about the object model and method lookups. What would the imapct be of injecting an additional ancestor into a class' lookup chain?
@ckaminer
ckaminer / crud.md
Last active May 10, 2016 22:31 — forked from Carmer/crud.markdown
  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.
  • a. GET '/tasks' See all tasks
  • b. GET '/tasks/:id' See a single task
  • c. GET 'tasks/new' See form to enter a new task
  • d. POST '/tasks' Submit data to create a new task
  • e. GET '/tasks/:id/edit' Pull up a form (for specific id) in order to edit
  • f. PUT '/tasks/:id' Submit data (for specified id) from edit