Skip to content

Instantly share code, notes, and snippets.

View jfairbank's full-sized avatar

Jeremy Fairbank jfairbank

View GitHub Profile
@jfairbank
jfairbank / index.css
Created February 6, 2017 21:21
Copy & paste this into your flix application's `App.css` inside `src` to reap the benefits of some style.
body {
margin: 0;
padding: 0;
font-family: sans-serif;
color: #212121;
}
.App-header {
background: #F44336;
}
@jfairbank
jfairbank / movies.json
Created February 6, 2017 21:21
Copy & paste this data into your `movies.json` inside the `src` directory.
[
{
"id": 1,
"name": "The Hateful Eight",
"director": "Quentin Tarantino",
"released": "December 25, 2015",
"image": "http://resizing.flixster.com/TnduRpSjWsBCj88PlUV5Q2dZX0I=/320x474/v1.bTsxMTI4NTM1NDtqOzE3MjE0OzIwNDg7ODEwMDsxMjAwMA",
"description": "Set six or eight or twelve years after the Civil War, a stagecoach hurtles through the wintry Wyoming landscape. The passengers, bounty hunter John Ruth and his fugitive Daisy Domergue, race towards the town of Red Rock where Ruth, known in these parts as The Hangman, will bring Domergue to justice. Along the road, they encounter two strangers: Major Marquis Warren, a black former union soldier turned infamous bounty hunter, and Chris Mannix, a southern renegade who claims to be the town's new Sheriff. Losing their lead on the blizzard, Ruth, Domergue, Warren and Mannix seek refuge at Minnie's Haberdashery, a stagecoach stopover on a mountain pass. When they arrive at Minnie's, they are greeted not by the propr
@jfairbank
jfairbank / example_1.js
Last active September 26, 2017 16:18 — forked from mjc-gh/example_1.js
JavaScript Code Examples
// Question: Explain the difference in how x is defined in these three examples
// Sample A
function a(){
x = 1;
}
// Sample B
function b(){
var x = 1;