I hereby claim:
- I am distributedlife on github.
- I am distributedlife (https://keybase.io/distributedlife) on keybase.
- I have a public key ASCJL2PEj0UdLB5seNMsR_2jf_zbCUeWG_Y4D9MOl2z4IAo
To claim this, I am signing this object:
Resources: | |
AssetsBucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: !Sub ${AWS::StackName}-assets | |
GetAssetsRole: | |
Type: "AWS::IAM::Role" | |
Properties: | |
AssumeRolePolicyDocument: | |
Version: 2012-10-17 |
const BestWithHeadphones = ({ duration }) => ( | |
<FullScreenMessage icon={HelmetWithHeadphones} colour={White}> | |
<Title>BEST WITH HEADPHONES</Title> | |
<FloatingNotes /> | |
<PulsingTitle duration={duration}>FETCHING RACE</PulsingTitle> | |
</FullScreenMessage> | |
); |
I hereby claim:
To claim this, I am signing this object:
const MyComponent = ({ toggle, ...props }) => ( | |
toggle ? <ComponentA {...props} /> : <ComponentB {...props} /> | |
); |
import React from 'react'; | |
import { connect } from 'react-redux'; | |
import { browserHistory } from 'react-router'; | |
import makeLifecyleComponent from './lifecycle-only'; | |
const redirectToRoot = (props) => { | |
if (!props.isLoggedIn) { | |
browserHistory.push('/'); | |
} | |
}; |
const ApiBuilder = require('claudia-api-builder'); | |
const api = new ApiBuilder(); | |
const cheerio = require('cheerio') | |
const fetch = require('node-fetch') | |
const text = (element) => element.text().trim() | |
const numbers = (text) => text.match(/^([0-9]+)/g) | |
const count = (text) => (numbers(text) && numbers(text)[0]) || 0 | |
const followers = (text) => numbers(text)[0] || 0 |
import { makeDataDriven } from './DataDriven'; | |
import { findSpecifiedGameOrLatest, getBowlingTeam, findCurrentInnings } from '../util/queries'; | |
import { setField } from '../actions/field'; | |
import { bowlOver, endOfOver } from '../actions/bowling'; | |
const isAI = (team) => team.type === 'AI'; | |
const mapDispatchToProps = { | |
setField, | |
bowlOver, |
class ExampleComponent extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { error: false }; | |
} | |
componentWillMount() { | |
const { asyncAction, id, loading } = this.props; |
import define from 'ensemblejs/lib/define'; | |
import { on } from 'ensemblejs/lib'; | |
const bel = require('bel'); | |
define('StateSeed', () => ({ | |
game: { | |
space: 0, | |
continuous: 0, | |
} | |
})); |
const validate = (data, callback) => { | |
if (!data.email) { | |
Promise.reject({ email: 'Useful validation message here.'}) | |
} | |
callback(data); | |
} | |
class MyForm extends Component { | |
constructor() { |