Skip to content

Instantly share code, notes, and snippets.

View OfTheDelmer's full-sized avatar

Delmer OfTheDelmer

View GitHub Profile
@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 / 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 / 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

Tools

Objectives
Create a custom about me html page
Deploy to GitHub pages
Answer some questions about the tools we use
@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
@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 / 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 / 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 / boostrap_so_far.md
Created January 17, 2014 19:16
FIrst part of lecture on bootstrap material

Bootstrap so far

Go to http://getbootstrap.com and download the dist folder.

  • Navigate to the dist/css/bootstrap.min.css file.
  • Copy and paste it into your app folder under /public/stylesheets/bootstrap.min.css.

Let's create our own responsive grid example. Go to the index

@OfTheDelmer
OfTheDelmer / more_sinatra_2.md
Created January 16, 2014 23:21
The lecture

More Sinatra

Views

Right now, we are serving a "Hello, World!" string to the client. However, this is the web and content sent to clients is usually HTML. Lets create a folder for these HTML files called views.

Let's create an index.html file as follows.

./views/index.html