Skip to content

Instantly share code, notes, and snippets.

View slota's full-sized avatar

John Slota slota

  • Wagestream
  • Mesa AZ
View GitHub Profile
@slota
slota / setting_expectations.markdown
Last active November 9, 2015 17:23 — forked from rwarbelow/setting_expectations.markdown
Setting Expectations

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?

Shannon - Available whenever but doesn't like to work past 10 o'clock at night, Amber - Has no real restrictions on her time, likes to be home and sleep John - Has bitcoin monday at 6 and CU game Friday night, good to go

# How to Save/Safe your money
## (basic tips on financial planning)
### Background
* Came from financial planning - sat down with a lot of different people
* This is professional advice, clients made a lot of money
### Step One: 3-6 month hedge
### Your State Legislators
### Pitch
The go to site to find out who your local legislators are and what they're up to
### Problem
There are no real good sites to find more information on state level legislators, this aims to solve that
# Self Driving Cars are dope
### Background
* History of Transportation
* Bikes
* Light Rail
* Cars
### Less Congestion
@slota
slota / package-management.markdown
Last active March 24, 2016 17:11 — forked from rrgayhart/package-management.markdown
The Dangers of Using Code You Don't Control

Array Prototype Methods

I understand that functions in JavaScript can take any number of arguments. Check I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript. Anonymous functions I guess are the functions that act like Ruby blocks?

Where are the methods available to all arrays (e.g. forEach, map, etc.) defined? Mozilla Developer Network docs

##Leap

My Code

Responder(1) here Greg's code is way better than mine, he uses an awesome return value and boolean logic so that he only needs one line of code.

Responder(2) here This guy really did an interesting way, he did something similar to Greg but broke out his code into a lot of different fuctions.

Which sections were interesting?

  • As a beginner I really like the idea of breaking out the funtions into a variable so that your code looks clean. I think I read about if first here but I really enjoy the function aspect and calling a variable that you have defined elsewhere.

Which sections did you totally skim?

  • I skimmed objects and inheritance as there was a lot of reading and got harder at the end.

Do you think the reading was valuable?

  • I think the reading was super valuable, I will probably read read it from time to time.

Which topics were notably confusing?

@slota
slota / require.markdown
Last active March 30, 2016 01:50 — forked from rrgayhart/require.markdown
The Concept of Require
  • In the context of Node, what is a module? A module is sort of like a file, it stores a JS file.
  • The code examples from the second blog post look very different from the first. Why? The second blog post uses requireJS,

JavaScript Functions

I can explain the difference between function declarations and function expressions.

  • Yes vars are expressions and regular functions are delcaration!!!

I can explain what the value of this is in a normal function.

  • normally it's the window or the global objec

I can explain what the value of this is when called from the context of an object.

  • if in an object it will be whatever that object is