Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Olsen devMattO

View GitHub Profile
View NEP_Installfest.md

NEP Installfest

  1. Create directory on Desktop & move into that directory
    • cd Desktop
    • mkdir new_project
    • cd new_project
  2. Install Composer
    • curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
@devMattO
devMattO / Matthew Olsen - Resume
Last active Sep 13, 2016
Matthew Olsen - Resume
View Matthew Olsen - Resume
Matthew Olsen
============
### Full-Stack JavaScript Developer
**(949) 395-6133**
3142 Manoa Rd
Honolulu, HI 96822
USA
@_devmatto_
-------------------
@devMattO
devMattO / stack-challenge.md
Created Jun 15, 2016 — forked from jaywon/stack-challenge.md
Use a Linked List to simulate a stack trace
View stack-challenge.md

###Console History Sim Stack Trace Challenge

Using a linked list, we are going to demonstrate a use case for a linked list and simulate a stack like you see in a stack trace (similar to what you see in your console when an error occurs), that replays the history of what we typed.

  1. Add a text box to an HTML page and add 2 buttons, save and dump.
  2. Every time the user clicks the first button to save, we are going to save the text input to our linked list as the most recent node or head.
  3. Whenever someone clicks the dump button we are going to dump out all of the input they've typed in to that point from most recent to oldest. This should be written as HTML to the page.