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
{ | |
"data": { | |
"ipa20": { | |
"title": "Uusi IPA 20kpl alustava kysely", | |
"date": "2021-02-28T21:00:00.000Z", | |
"participants": [ | |
{ | |
"nickname": "jake" | |
}, | |
{ |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: test-pd | |
spec: | |
containers: | |
- image: busybox | |
command: ["sleep", "9999999"] | |
name: test-container | |
volumeMounts: |
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 from 'react'; | |
import { node } from 'prop-types'; | |
import styled from 'styled-components'; | |
import { DefaultFlex } from '../Common'; | |
const PropTypes = { | |
page: node.isRequired, | |
}; | |
const DefaultProps = {}; | |
const Wrapper = styled(DefaultFlex)` |
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 from 'react'; | |
import { compose, withProps, withState } from 'recompose'; | |
import GameTutorial from '../../components/GameTutorial'; | |
import page1 from '../../components/GameTutorial/Page1'; | |
import page2 from '../../components/GameTutorial/Page2'; | |
const page1Props = props => ({ | |
back: () => props.history.push('/descriptions/1/'), | |
content: { | |
title: 'How to play', |
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 from 'react'; | |
import { Grid, Image } from 'semantic-ui-react'; | |
import styled from 'styled-components'; | |
import ReactMarkdown from 'react-markdown'; | |
import ShortCodesPlugin from 'remark-shortcodes'; | |
import EmojiPlugin from 'remark-emoji'; | |
const PropTypes = {}; | |
const DefaultProps = {}; |
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 { func, shape, number } from 'prop-types'; | |
import React from 'react'; | |
import styled from 'styled-components'; | |
import hexToRgba from 'hex-rgba'; | |
import { Button } from '../Elements'; | |
import NarratorBox from './NarratorBox'; | |
import withDimensions from '../../hoc/withDimensions'; | |
import Background from './Background'; | |
import Boat from './Boat'; | |
import Character from './Character'; |
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 R = require('ramda'); | |
const G = require('generatorics'); | |
const DATA = [ | |
{id: 'kotter_1', cost: 6}, | |
{id: 'kotter_2', cost: 3}, | |
{id: 'kotter_3', cost: 4}, | |
{id: 'kotter_4', cost: 3}, | |
{id: 'kotter_5', cost: 2}, | |
{id: 'kotter_6', cost: 5}, |
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 R = require('ramda'); | |
const G = require('generatorics'); | |
const DATA = [ | |
{id: 'kotter_1', cost: 6}, | |
{id: 'kotter_2', cost: 3}, | |
{id: 'kotter_3', cost: 4}, | |
{id: 'kotter_4', cost: 3}, | |
{id: 'kotter_5', cost: 2}, | |
{id: 'kotter_6', cost: 5}, |
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 R = require('ramda'); | |
const G = require('generatorics'); | |
const data = [ | |
{id: 1, cost: 4}, | |
{id: 2, cost: 2}, | |
{id: 3, cost: 4}, | |
{id: 4, cost: 5}, | |
{id: 5, cost: 7}, | |
{id: 6, cost: 8}, |
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
// actions/auth.js | |
export const receivedLogin = (response) => { | |
if (response instanceof Error) { | |
return { | |
type: ActionTypes.AUTH_LOGIN_FAIL, | |
}; | |
} | |
// side effect | |
const token = getToken(response); | |
const userId = getUserId(response); |
NewerOlder