Skip to content

Instantly share code, notes, and snippets.

View mrogach2350's full-sized avatar

Michael Rogachevsky mrogach2350

View GitHub Profile
@mrogach2350
mrogach2350 / week1-learning-objectives.md
Last active August 17, 2016 22:51
Week 1 Learning Objectives

Week 1 Learning Objectives

###Git & Github

  • Explain the uses of Git and GitHub for tracking their changes and collaborating on projects.
  • Draw a model of local, remote, and working copies of their repositories.
  • Write some code, commit the changes, and write a strong commit message.
  • Deploy first live website using gh-pages.

###HTML & CSS

Week 2 Learning Objectives

###Iterator Methods & Callbacks

  • Use appropriate iterator methods to declaratively loop through collections
  • Follow the order of execution in a program that uses callbacks
  • Write a higher-order function that calls a custom callback

###Objects

Week 3 Learning Objectives

###Express

  • Draw a diagram of the request response cycle with Nodejs and Express included and labeled
  • Describe the roles that Nodejs and Express play in building a server
  • Use npm to initialize a node project
  • Write a local web server to serve JSON and static assets with Express

###Params and Routes

# Mikey's guide to making a web app from scratch using Angular.
## Step 1
##Setting up your work space.
### Setup your file structure:
Working in terminal-
```

#TDD, RSPEC, and You!

##What is TDD?

Test Driven Development a.k.a. TDD is based around writing tests and then developing your code to satisfy those tests. This can done in JavaScript and Ruby utilizing Mocha and RSPEC, respectively.

Let's explain TDD in a metaphor. Your app is a cafe and your test is a food critic. As an ambitious cafe owner, you want to make sure your cafe can satisfy a picky critic before ever opening it to the public, ensuring a great experience for customers before they even set foot in your fine establishment. The critic has to be able to critique specific menu items. Could you imagine a real food critic come up to the counter and say, "Gimme anything off the menu. I'll review it." The barista behind the counter wouldn't know what to give the critic. The same would happen if the critic walked in and ordered Lobster Wellington, an item that is not offered by the cafe. The barista would again be bemused and unable to satisfy the critic. As such, when we write tests, we need to be able

@mrogach2350
mrogach2350 / ember_gist.md
Last active October 23, 2016 22:31
Ember.JS Gist

Ember.JS

What is Ember.JS

Akin to Rails, Ember functions on conventional structure to allow developers to shorten the process of setting up an app. The main difference is that Ember functions in Javascript rather than Ruby.

  • Similarities include -
    • MCV Structure
    • Generation functions
    • Routing helpers

Meteor

What is Meteor? Basic Stack -

Blaze.js, MongoDB

Options-

Date and Time: Monday, 2/27 | 3PM-6PM
Location: AWS Pop-up Loft | 1446 Market Street, San Francisco | View Map
Event Description:
Emerging technology has the power to change the way the country runs and affect people’s lives for better - it can create enhanced services for citizens, prevent a terrorist attack, or help stop a catastrophic viral outbreak.
Join Dcode42, a government accelerator program, and AWS World Wide Public Sector at the AWS Loft in San Francisco to learn about how your company can help agencies run more efficiently and meet their missions. Also hear about how the new administration might affect the market.
Dcode42 and AWS will announce a new, joint program that helps emerging technology companies to launch rapidly into the public sector market.
export class someClass {
constructor(){}
}
@mrogach2350
mrogach2350 / amazon_interview.js
Created June 17, 2020 15:24
Amazon Rd. 1 Interview questions
// Non-coding questions
// 1. Describe what happens in the Browser after a user enters a URL and hits enter.
// 2. Describe what is a XSS (Cross-site scripting) attack and how can we prevent them?
// Coding question 1
// Given an array of strings, return an array with all duplicates removed
// ex: ['a', 'a', 'a', 'b', 'a', 'c', 'c'] => ['a', 'b', 'c']
//Solution #1:
const dedupeArray = (array = []) => {