Skip to content

Instantly share code, notes, and snippets.

View jcasey214's full-sized avatar

Jonathan Casey jcasey214

View GitHub Profile

ES2015


Objective

  • Use ES2015 features to write more concise Javascript

body:before {
content: "";
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;
z-index: 100;
-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
@jcasey214
jcasey214 / bfs_and_dfs.md
Created March 1, 2016 22:33 — forked from bertoort/bfs_and_dfs.md
Breadth First Search And Depth First Search

Breadth First Search

Algorithm for searching graph-like data structures, one level at a time.


Step by Step

  • Start a queue
  • Check current node - if false, mark as visited, continue
@jcasey214
jcasey214 / trees.md
Created March 1, 2016 21:53 — forked from w3cj/trees.md

Tree

A collection of nodes (starting at a root node), where each node is a data structure consisting of a value, together with a list of references to nodes (the "children"), with the constraints that no reference is duplicated (a child can only have 1 parent), and none points to the root.


Recursive Definition

  • One node is designated as the root
  • The root node can have many children (nodes)

Introduction to Sorting


Bubble Sort


For each element in the list:

Introduction to Data Structures


Standards

  • Implement, evaluate, and use some common data structures
  • Identify and diagram common data structures
  • Determine the correct data structure for interview-style problems
@jcasey214
jcasey214 / book.html
Created January 20, 2016 17:21 — forked from w3cj/book.html
AngularJS Overview
<div class="col-md-2 col-xs-4" style="padding:20px;">
<img ng-src="{{book.cover_url}}" class="img-responsive" alt="" />
</div>
<div class="col-md-10 col-xs-8">
<h3>{{book.title}}</h3>
<p><em>{{book.genre}}</em></p>
<p>
{{book.description}}
</p>
</div>
@jcasey214
jcasey214 / os_x_kb.md
Created November 23, 2015 19:24 — forked from w3cj/macos_kb.md

OS X Keyboard Shortcuts You Should Know

These keyboard shortcuts will work in most, if not all text editing places in OS X. (Form input, text editors, web browsers etc.)

Jump Over Words

ALT + Left/Right

Go to end of line