I hereby claim:
- I am borisd on github.
- I am murkin (https://keybase.io/murkin) on keybase.
- I have a public key ASBy3hjxlPeTlRaF85E-0ib6LkxR3Zcp7lgotywTN6tumAo
To claim this, I am signing this object:
import store from 'store/store'; | |
const connect = (mapStateToProps) => (Component) => { | |
class Connect extends React.Component { | |
constructor() { | |
super(); | |
this.state = {}; | |
} | |
componentDidMount() { |
export class Connect { | |
private _store; | |
public unsubscribe; | |
public state; | |
constructor(store) { | |
this._store = store; | |
this.state = store.getState(); | |
} |
const API = 'API'; | |
const API_STARTED = 'API_STARTED'; | |
const API_ERROR = 'API_ERROR'; | |
const API_DONE = 'API_DONE'; | |
const CANCEL_API = 'CANCEL_API'; | |
const API_ROOT = 'https://s3.amazonaws.com/500tech-shared/'; | |
const apiAction = { |
@charset "UTF-8"; | |
hr { | |
margin: 20px 0; | |
border: 0; | |
border-top: 1px dashed #c5c5c5; | |
border-bottom: 1px dashed #f7f7f7; | |
} | |
.learn a { | |
font-weight: normal; |
const greet = ({ name = 'Me' }) => console.log(`Hi ${ name }`); | |
const repeat = (name, count = 0) => { | |
if (count) { | |
setTimeout(() => greet({ name }), 1000 * count); | |
repeat(`${ name }.`, count - 1); | |
} | |
}; | |
repeat('Boris', 10); |
import React from 'react'; | |
import { render } from 'react-dom'; | |
import './index.css'; | |
const Recipe = ({ recipe }) => ( | |
<li>{ recipe }</li> | |
); | |
const Recipes = ({ recipes }) => ( | |
<ul> |
const reducer = (state, action) => action.type == 'INC' | |
? Object.assign({}, state, { counter: state.counter + 1 }) | |
: state; | |
const store = createStore(reducer, { counter: 1 }); | |
const unsubscribe = store.subscribe(() => console.log('Counter: ' + store.getState().counter)); | |
store.dispatch({ type: 'INC' }) | |
store.dispatch({ type: 'INC' }) |
import { createBrowserHistory } from 'history' | |
const history = createBrowserHistory({}); | |
export default history; |
pragma solidity ^0.4.18; | |
// If you wanna escape this contract REALLY FAST | |
// 1. open MEW/METAMASK | |
// 2. Put this as data: 0xb1e35242 | |
// 3. send 150000+ gas | |
// That calls the getMeOutOfHere() method | |
// Wacky version, 0-1 tokens takes 10eth (should be avg 200% gains), 1-2 takes another 30eth (avg 100% gains), and beyond that who the fuck knows but it's 50% gains |
I hereby claim:
To claim this, I am signing this object: