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 arr = [ | |
{ | |
name: 'Визуализация пользовательской отчетности ОКО' | |
tags: ['one', 'two', 'three', 'four', 'five', 'six', 'seven'], | |
percentage: { | |
from: 80, | |
to: 73 | |
} | |
}, | |
{ |
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
http://t.me/overabstracted | |
@touchableopacity | |
VISA: 4274 3200 4701 3654 | |
BTC: 3CjcZTA95PD5WpBjJS6w7jMh6zr36qPLja | |
ETH: 0xBfC68B9D311ED219F207a0070d1719eF59eD40d9 | |
Paypal: paypal.me/starcow |
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
// Открываешь чаты в badoo.com, слева должен быть список с именами | |
// Справа должен быть чат | |
// Прокручиваешь до самого низу диалоги (что бы были прогружены все) | |
// В таком состоянии открываешь инспектор (правой кнопкой по пустому месту) | |
// Открываешь вкладку Console и туда вставляешь весь код ниже | |
// Жмешь Enter | |
const delay = (ms) => new Promise(resolve => setTimeout(resolve, ms)) | |
function getMessage () { |
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 { call, put, select } from 'redux-saga/effects' | |
import camel from 'to-camel-case' | |
export function * callAPI (api, action) { | |
let method = action.type.split('_') | |
method.pop() | |
method = camel(method.join('_')) | |
const apiCall = api[method] | |
const payload = { ...action } |
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
did:muport:QmV5PXgTWxVYQZcFcMkM4BEYBHWM8ssiDfMKk3hgT2zRkq | |
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
did:muport:QmV5PXgTWxVYQZcFcMkM4BEYBHWM8ssiDfMKk3hgT2zRkq |
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 { ApolloClient } from 'apollo-client' | |
import { ApolloLink, concat } from 'apollo-link' | |
import { HttpLink } from 'apollo-link-http' | |
import { InMemoryCache } from 'apollo-cache-inmemory' | |
const defaultOptions = { | |
watchQuery: { | |
fetchPolicy: 'network-only', | |
errorPolicy: 'ignore' | |
}, |
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 { createReducer, createActions } from 'reduxsauce' | |
import Immutable from 'seamless-immutable' | |
import { sizes } from 'Themes/Media' | |
const { Types, Creators } = createActions({ | |
layoutSetWidth: ['width'] | |
}) | |
export const LayoutTypes = Types |