Skip to content

Instantly share code, notes, and snippets.

View Vision-X's full-sized avatar

Michael Marlow Vision-X

View GitHub Profile
import { expect, assert } from 'chai';
import insertionSort from '../scripts/insertionSort'
import generateRandomArray from '../scripts/generateRandomArray'
describe('insertionSort', () => {
it('Should be a function', () => {
expect(insertionSort).to.be.a.function
})
it('Should only sort arrays', () => {;
import { expect, assert } from 'chai';
import bubble from '../scripts/bubbleSort'
import generateRandomArray from '../scripts/generateRandomArray'
describe('bubble', () => {
it('Should be a function', () => {
expect(bubble).to.be.a.function
})
it('Should only sort arrays', () => {;

DB Deployment on Heroku (all cli)

heroku create project-name-here-yo (a unique name can be declared, use dashes to make it more likely to not be taken)

git push heroku master

(make sure you have heroku and heroku cli tools installed/saved as dependencies)

create db

  • heroku addons:create heroku-postgresql:hobby-dev
@Vision-X
Vision-X / DTR-Linked-List-Mod1.md
Created August 1, 2017 02:57
DTR for Linked List (Mod1)

#DTR: Define the Relationship

##Project: Linked List

##Group Member Names: Michael Marlow, Rufus Welsh

##Project Expectations: What does each group member hope to get out of this project?

Mike - Wants to improve knowledge of Javascript and JQuery, Event Bubbling, delegation, Comp match in CSS, Integrate Waffle with GitHub for workflow improvement Rufus - Wants to learn JQuery, Event Bubbling, GitHub, Kanban workflow

@Vision-X
Vision-X / accessibility-commitments.md
Created July 26, 2017 17:07
Accessibility commitments

Three actionable commitments to accomodate for accessibility issues

  1. Ensuring the content is semantically proper, or when not, wrapped in something that makes it more semantic.

  2. Making sure the content is tab indexable

  3. Making effort to ensure any content is accessible: checking usage of images/alt attributes, colors, fonts, etc that would best suit the end user experience

# 29 behaviors
1) [2] Maintain obnoxious amount of stick-to-itiveness
- This stands out to me because I love to be self-sufficient. This behavior trait will get me closer to that
-desired state of self-sufficency
- It also stands out because it will be a reoccuring theme in my career as a developer as I am taking on
-new technologies and learning them on the fly. By sticking to it and accepting beginner level now so I
-can grow to be proficient and eventually self-sufficent is a process I will need to learn to love.
@Vision-X
Vision-X / gist:3d9799949a0a2fb10cdbe769c024dd63
Last active June 13, 2017 21:24
MichaelMarlow_Prework1706

Day 1 deliverables:

  1. On a website, what is the purpose of HTML code?

    describes the structure of a webpage

  2. What is the difference between an element and a tag?

    Tags can be opening or closing for a particular element, whereas an element comprises the opening tag + closing tag + any content in between thsoe two tags

  3. Why do we use attributes in HTML elements?

    To provide specific information about the contents of the element

  4. Describe the purpose of the head, title, and body HTML elements
@Vision-X
Vision-X / Empathy-GearUp.md
Last active June 13, 2017 20:26
Marlow, Michael (1705 FEE) Pre-Work

GearUp:

  -What role does empathy play in your life and how has it helped you?
     
     Its fairly important to me for my personal growth... to be self-aware. Always finding room to improve or new approaches to 
     the same problems we all run into in our lives. 
     It has helped me by just becoming a better listener in my relationships and in continuing my education. Learning new

perspectives was essentiual to my own POV, and through friendships and encounters I have learned a lot.