Skip to content

Instantly share code, notes, and snippets.

View OfTheDelmer's full-sized avatar

Delmer OfTheDelmer

View GitHub Profile
@OfTheDelmer
OfTheDelmer / rails_intro.md
Created January 22, 2014 18:21
A lesson on intro to rails

Intro to Rails

A Routing First Overview

Objective
We should grasp the concepts related to routing requests, connecting them to controllers, present a view, and gain a naive understanding of the flow of a request and response.

Related Materials/Information

@OfTheDelmer
OfTheDelmer / jQuery_intro.md
Last active August 29, 2015 13:55
intro to jQuery

Intro to jQuery

Dom Manipulation

Selectors in jQuery

In jQuery selecting elements is very similar to querySelectorAll that we covered with the js DOM api. To get a DOM element we use $('selector') to fetch the element from the DOM.

Let's do an #id example,

@OfTheDelmer
OfTheDelmer / angular_workshop.md
Last active October 6, 2015 23:33
an angular workshop

Angular Workshop

An Brief Introduction

Objective
To identify the basic compenents of a Angular application and integrate them together in a manner that creates a canonical example for one to further develop or rexamine afterward.

Outline

@OfTheDelmer
OfTheDelmer / topics_for_tomorrow.md
Created March 5, 2014 04:01
topics for prototype lesson

Intro to Prototypes

JS Data Structures

Outline

  • Objects in Javascript?
    • object literals
    • properties

Tools

Objectives
Create a custom about me html page
Deploy to GitHub pages
Answer some questions about the tools we use
@OfTheDelmer
OfTheDelmer / palindrome.md
Created April 15, 2014 15:42
warm up exercise

Warm Up

Palindromes

A palindrome is a word that spells out the same word when the letters are reversed.

Notable Examples:

dad
mom
@OfTheDelmer
OfTheDelmer / merge.md
Created April 16, 2014 17:08
warm up exercise

Warm up

Merging

In todays exercise we want to revisit the idea of merging. That is, given two sorted arrays like the following we must merge them into one sorted array.

array_1 = [5,8,9,11]
array_2 = [4,6,7,10]

merge(array_1, array_2)
# => [4,5,6,7,8,9,10,11]
@OfTheDelmer
OfTheDelmer / bootstrap_lesson.md
Created April 18, 2014 15:58
Bootstrap lesson for march

Intro To Bootstrap

Style and UX

OBJECTIVE
To create a responsive bootstrap grid.
To utilize offsets and tricks for managing a grid.
@OfTheDelmer
OfTheDelmer / angular_rails_http.md
Created May 28, 2014 17:53
Introductory outline for managing resources with a Rails Application, reviewing the setup of JSON API, and organizing JS assets.

Angular Rails

Angular $http Object

Objectives
Setting up a JSON API
Controller CRUD Actions

Outline

Warm Up

Word Mix

They say that if you take a sentece and mix all the characters in each word except for the first and last that you'll still be able to read the sentence. Make an algorithm to implement this.