scott_riley
I hereby claim:
- I am scott-riley on github.
- I am scott_riley (https://keybase.io/scott_riley) on keybase.
- I have a public key ASBfL9VNjvXO7gtT96bSdqdgcV_vo8mHe2bxfU6Sf9901go
To claim this, I am signing this object:
scott_riley
I hereby claim:
To claim this, I am signing this object:
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'VundleVim/Vundle.vim' | |
| Plugin 'vim-airline/vim-airline' | |
| Plugin 'vim-airline/vim-airline-themes' | |
| Plugin 'SirVer/ultisnips' |
| import React from 'react'; | |
| import * as t from '/i/love/jongold/tachyons.css'; | |
| export default JonGold = (props) => ( | |
| <div className={t.pa2}>{ props.children }</div> | |
| ); |
| // NodeList as querySelectorAll results | |
| let nodeList = document.querySelectorAll('div'); | |
| // Hacky Array.slice() call with no delimeter = ordered array | |
| const divArray = Array.prototype.slice.call(nodeList); |
| import React, { PropTypes, Component } from 'react'; | |
| // all that React code that everyone tells you is shit but you don’t care | |
| // cause there’s dads out there and they’re not gonna kiss themselves | |
| MyFuckinDopeComponent.propTypes = { | |
| amIaRealDev: PropTypes.bool.isRequired, | |
| whosDadWantsKissing: PropTypes.string, | |
| } |
| # Put me in ~/.atom/snippets.cson | |
| '.source.js': | |
| 'import connect': | |
| 'prefix': 'cn' | |
| 'body': "import {connect} from 'react-redux';" | |
| 'export connect': | |
| 'prefix': 'ecn' | |
| 'body': "export default connect(mapStateToProps)(${1:MyComponent});" | |
| 'import React + Component': |
| { | |
| "email": "[email protected]", | |
| "fields": { | |
| "name": "A super dope client", | |
| "website": "clientisgr8.com", | |
| "subject": "Product redesign", | |
| "budget": "$40,000", | |
| } | |
| } |
| import babelPolyfill from "babel-polyfill"; | |
| import koa from "koa"; | |
| import koaProxy from "koa-proxy"; | |
| import koaStatic from "koa-static"; | |
| import gzip from "koa-gzip"; | |
| import React from "react"; | |
| import ReactDOM from "react-dom/server"; | |
| import * as ReactRouter from "react-router"; | |
| import * as history from "history"; | |
| import Transmit from "react-transmit"; |
| // actions/index.js | |
| /* Team actions */ | |
| export function fetchTeams() { | |
| const request = axios.get(`${ROOT_URL}/teams${ACCESS_TOKEN}`); | |
| return { | |
| type: FETCH_TEAMS, | |
| payload: request | |
| }; | |
| } |
| import React, { Component, PropTypes } from 'react'; | |
| import withStyles from 'isomorphic-style-loader/lib/withStyles'; | |
| import s from './ProgressContainer.scss'; | |
| class ProgressContainer extends Component { | |
| constructor(props) { | |
| super(props); | |