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 { createAction, handleActions } from 'redux-actions'; | |
import { takeEvery } from 'redux-saga'; | |
import { call, put } from 'redux-saga/effects'; | |
import { TodoState } from '../models'; | |
const CREATE_TASK = 'CREATE_TASK'; | |
const UPDATE_TASK = 'UPDATE_TASK'; | |
const CHECK_TASK = 'CHECK_TASK'; | |
const SUBMIT_TASK = 'SUBMIT_TASK'; | |
const CHANGE_INPUT = 'CHANGE_INPUT'; |
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, { PropTypes } from 'react'; | |
import { Task } from '../../models'; | |
export default class TaskItem extends React.PureComponent { | |
static propTypes = { | |
task: Task.PropTypes.isRequired, | |
} | |
static contextTypes = { | |
changeInputTarget: PropTypes.func, | |
checkTask: PropTypes.func, |
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
[2017-12-13 14:46:05] Starting Stratum on stratum+tcp://jp.lapool.me:3014 | |
[2017-12-13 14:46:05] 4 miner threads started, using 'yescrypt' algorithm. | |
[2017-12-13 14:46:08] Stratum difficulty set to 0.5 (0.00001) | |
[2017-12-13 14:46:10] CPU #2: 0.42 kH/s | |
[2017-12-13 14:46:10] accepted: 1/1 (diff 0.000), 0.42 kH/s yes! | |
[2017-12-13 14:46:10] CPU #1: 0.42 kH/s | |
[2017-12-13 14:46:10] CPU #0: 0.42 kH/s | |
[2017-12-13 14:46:10] CPU #3: 0.42 kH/s | |
[2017-12-13 14:46:20] CPU #3: 0.42 kH/s | |
[2017-12-13 14:46:20] accepted: 2/2 (diff 0.000), 1.67 kH/s yes! |
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
w = () => window.innerWidth * 0.95 | |
h = () => window.innerHeight * 0.95 | |
r = Math.random | |
men = () => { | |
base = "https://media.handon.club/custom_emojis/images/000/" | |
if(r() > 0.01) { | |
return `${base}008/726/original/mendako_anime.png` | |
} else { | |
p = r() | |
if(p > 0.67) { |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" |
OlderNewer