This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v https://explorer.blockstack.org/address/1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v https://explorer.blockstack.org/address/1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v https://explorer.blockstack.org/address/1EaubhMLkW4XpB3VJq4d5TWrBc55KNYM4v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const setCode = () => { | |
return { | |
type: 'SET_CODE', | |
code: calculateCode(), | |
} | |
} | |
export const setCode = () => ({ | |
type: 'SET_CODE', | |
code: calculateCode(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import NameForm from './NameForm'; | |
import Text from '../components/ExplainerText'; | |
class SubmitScore extends Component { | |
submit = async values => { | |
const { score, dispatchScore, setNewScore, fetchScoresSuccess, fetchScores } = this.props; | |
await dispatchScore(values.name, score); | |
setNewScore(''); | |
fetchScoresSuccess(''); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
module.exports = { | |
context: path.join(__dirname, 'src'), | |
entry: [ | |
'./index.js', | |
], | |
devServer: { | |
proxy: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const createPaginatedPages = require('gatsby-paginate'); | |
exports.createPages = ({ boundActionCreators, graphql }) => { | |
const { createPage } = boundActionCreators; | |
const postTemplate = path.resolve(`src/templates/template.js`); | |
const timeframes = [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ParentComponent extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
data; // data lives here | |
}; | |
this.setStore = this.setStore.bind(this); | |
} | |
// this gets called when the promise resolves in DataComponentOne |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var React = require('react'); | |
var PropTypes = require('prop-types'); | |
var Link = require('react-router-dom').Link; | |
var api = require('../utils/api.js'); | |
var dateFormat = require('dateformat'); | |
class Forecast extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ] | |
2 info using npm@3.10.10 | |
3 info using node@v6.11.2 | |
4 verbose run-script [ 'prestart', 'start', 'poststart' ] | |
5 info lifecycle nsf-interactive-reports@1.0.0~prestart: nsf-interactive-reports@1.0.0 | |
6 silly lifecycle nsf-interactive-reports@1.0.0~prestart: no script for prestart, continuing | |
7 info lifecycle nsf-interactive-reports@1.0.0~start: nsf-interactive-reports@1.0.0 | |
8 verbose lifecycle nsf-interactive-reports@1.0.0~start: unsafe-perm in lifecycle true | |
9 verbose lifecycle nsf-interactive-reports@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/theofeau/projects/visualization-sample/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin |