Skip to content

Instantly share code, notes, and snippets.

View lisaolson's full-sized avatar

Lisa Olson lisaolson

View GitHub Profile
@lisaolson
lisaolson / week1-learning-objectives.md
Last active August 19, 2016 00:26
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

@lisaolson
lisaolson / angular-app-instructions
Created September 16, 2016 00:34
How to build an Angular app from scratch
# Steps to create Angular App from scratch
## Step One
### 1.1
First, we have to make sure that angular is loaded up on the page.
You can do this through either:
1. Include a script tag with the CDN for the Angularjs library in your html file.
Like this:
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.18/angular.min.js"></script>
Or,

Week 6 Learning Objectives

###Custom Directives

  • Explain the justifications for using custom directives.
  • Describe the directive definition object and implement it in creating a directive.
  • Integrate a third party directive into your code.

###Make a Directive

  • Create a custom directive.

Week 7 Learning Objectives

###Intro Ruby

  • List Ruby data types.
  • Articulate strategies to learn new programming languages and frameworks.
  • Run Ruby code in an interactive Command Line Interface or from a file.

###Ruby Methods

  • Write conditionals, loops, and methods in Ruby.
  • Apply methods in ruby to solve problems.

Week 5 Learning Objectives

###Big O

  • Articulate a set of steps to determine Big O complexity.
  • List the Big O complexities of some commonly-used patterns and algorithms.
  • Estimate the time or space efficiency of an algorithm using Big O notation.

###Bubble Sort

@lisaolson
lisaolson / READme.md
Last active September 30, 2016 19:17
Update database schema with migration

Schema Migration

What is Migration?

Migration is a way to alter your databases. It is a subclass of Active Record (the model for representing data and logic. Active Record has a series of methods that can be used to perform tasks on your databse.

Examples:

  • change_column
  • change_table

    Week 8 Learning Objectives

    ###Migrations

    • Add and remove columns from the database.
    • Alter an existing column.
    • Explain when it is okay to edit a migration and when it is okay to edit the schema.

    ###Associations

    • Describe how relational databases can be used to create associations between resources.

    Sonic Pi

    Sonic Pi is a coding music synth made for learning how to code while making awesome tunes!

    Why Use Sonic Pi

    • The real question is, why not use Sonic Pi? It's coding and music! What could be better than that?
    • You can practice coding in ruby
    • And practice your dj skills
    • It's also set up with lessons, so you could teach kids/adults to code in a super fun way.