Skip to content

Instantly share code, notes, and snippets.

Step One: Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)

Step Two: Fork this gist.

Step Three: Respond to this question in your fork: What is one approach you can take from this Mary's code and implement in your project?

Step Four: Totally Optional: take a look at some of the other forks and comment if the spirit moves you.

That was super cool to watch! I thought her explanation of tick and updating was really clear. I also thought it was interesting that the bodies array held three different object types. I think I have a few takeaways I'd like to hang on to.

@mbburch
mbburch / countdown.js
Last active December 15, 2015 18:10
Remote Work 12/15
function countdown(n) {
if (n < 0) { return n };
console.log(n);
countdown(n-1);
}
countdown(4);
@mbburch
mbburch / react-notes.md
Last active December 16, 2015 18:50 — forked from biglovisa/react-notes.md
React in theory

Use this gist to write down notes and questions as you read through the lesson plan. https://github.com/turingschool/lesson_plans/blob/master/ruby_04-apis_and_scalability/react_in_theory.markdown

What does React do?

It's used to create user interfaces. Small components that present data. Tells HTML what to render and how to respond to events. (?Well structured component tree?) Clarify how different from regular JS and JQuery? Unclear.

How does React interact with the DOM?

Each component has a render function. It executes the code and renders the JS and HTML in the return statement. ?Virtual DOM? React listens for state changes (data that can change) and re-renders it (in contrast to polling the data). When setState is called in a component, React knows to re-render it. (?Clarify mounted on the DOM?)

@mbburch
mbburch / prework-week.md
Last active August 22, 2016 23:46
If you have about a week to prepare for Turing, here are your pre-work requirements and a schedule to follow.

Prework: If you Have a Week

Daily Tasks:

Time Frame
Task Accountability Check
@mbburch
mbburch / prework-month.md
Last active October 22, 2016 21:43
If you have about a month to prepare for Turing, here are your pre-work requirements and a schedule to follow.

Prework: If you Have a Month

Priorities:

First Week's Suggested Schedule

Daily Tasks:

@mbburch
mbburch / prework.md
Last active November 13, 2023 09:57
An example template for your Turing pre-work Gist

Turing School Prework

Task A- Practice Typing:

  • screenshots of scores will be posted in comments

Task B- Algorithmic Thinking & Logic:

  • screenshots of completed sections will be posted in comments

Task C- Create your Gist:

@mbburch
mbburch / resources-to-bookmark.md
Last active February 12, 2016 18:44
Resources, shortcuts, and cheat sheets for Atom, the terminal, and general workflow