Skip to content

Instantly share code, notes, and snippets.

@jillmd501
jillmd501 / recursion.markdown
Created February 16, 2016 19:06 — forked from rrgayhart/recursion.markdown
Recursion and Generators Homework
  • Watch Recursion
  • Fork this gist
  • Answer the following questions in your fork
    • Do you pronounce 'babel' in the same way?
      • Follow Up Question: Will you now?
  • What is an example of why/where you might use recursion

Step One: Watch Writing Testable JavaScript - Rebecca Murphey from Full Frontal 2012 (award for worst conference name ever?)

Step Two: Fork this gist.

Step Three: Consider the four responsibilities that Rebecca lists for client side code (hint: they're color coded).

  • Did any of the responsibilities that she lists surprise you?
  • Do you feel like you mentally split your client side code in IdeaBox and other past projects into these responsibilities?

Step Four: Totally Optional: take a look at some of the other forks and comment if the spirit moves you.

**Step One**: Watch [Sorting Algorithms in JavaScript](https://www.youtube.com/watch?v=uRyqlhjXYQI)
**Step Two**: Fork this gist.
**Step Three**: Respond to this question in your fork: "What are some of the balances and trade offs between different sorting algoritms?"
**Step Four**: _Totally Optional_: take a look at some of the other forks and comment if the spirit moves you.

Step One: Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)

Step Two: Fork this gist.

Step Three: Respond to this question in your fork: What is one approach you can take from this Mary's code and implement in your project?

Step Four: Totally Optional: take a look at some of the other forks and comment if the spirit moves you.

@jillmd501
jillmd501 / require.markdown
Created February 8, 2016 23:38 — forked from rrgayhart/require.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?

JavaScript Functions

  • I can explain the difference between function declarations and function expressions. Yes
  • I can explain what the value of this is in a normal function. Yes
  • I can explain what the value of this is when called from the context of an object. Yes
  • I can explain how to explicitly set the value of this in a function. No

Array Prototype Methods

  • I understand that functions in JavaScript can take any number of arguments. Yes
  • I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript. Mostly
  • Where are the methods available to all arrays (e.g. forEach, map, etc.) defined? prototype
  • I can explain the difference between using a for loop and the forEach method. Sort of......
@jillmd501
jillmd501 / gist:f1e3a63295067af006a6
Created December 9, 2015 23:26 — forked from adamki/gist:20bded28810675f9e7b3
Implementing Mandrill Email
Pre-Work:
Got to Mandrill and set up and account. Have your `username` and `keys` ready.
In Rails, run ` rails g mailer NotificationsMailer` (or something similar) will set up a new file in the `app/mailer/` folder. In this case it generates a `notifications_mailer.rb`. It also creates a new dir: `app/views/notifications`
1. Configure your Mail APP . In `config/application.rb` add the following configuration :
```
config.action_mailer.delivery_method = :smtp

Setting Group Expectations

Group Member Names:

  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 prefer after school and typically not too late.

  2. How will group members communicate? How often will communication happen, and how will open lines of communication be maintained? Slack group, group text