Skip to content

Instantly share code, notes, and snippets.

View wagerfield's full-sized avatar
💯
Making stuff

Matthew Wagerfield wagerfield

💯
Making stuff
View GitHub Profile
{
"root": true,
"extends": "supermind",
"env": {
"jest": true
}
}
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
@wagerfield
wagerfield / package.json
Created August 19, 2016 07:05
Isomorphic React
{
"name": "isomorphic-react",
"description": "Isomorphic React",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "babel-node index.js --presets es2015,stage-2"
},
"dependencies": {
@wagerfield
wagerfield / mobile-web
Created August 2, 2013 10:26
The Mobile Web
# THE MOBILE WEB
## Planning
* Demographic Analysis
* Setting Up a Test Bed
* Statement of Work (SOW)
* Setting & Managing Expectations
## Design
* Content First and then Mobile First, well Second…
@wagerfield
wagerfield / ternary-operators.sass
Created February 27, 2013 13:10
Ternary Operators in SASS. I stumbled across this great deck from @nickcooley covering the various features of SASS http://www.slideshare.net/nickcooley/advanced-sasscompass and wanted to create a quick Gist demonstrating the use of ternary operators in SASS.
// Example 1
@function theme($value)
@return if($value == "light", #FFFFFF, #000000)
background: theme("light") // Outputs #FFFFFF
background: theme("dark") // Outputs #000000
background: theme("cats") // Outputs #000000
// Example 2
@function even($value)