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 r2 from '@mcro/r2' | |
import puppeteer from 'puppeteer' | |
import * as _ from 'lodash' | |
const sleep = ms => new Promise(res => setTimeout(res, ms)) | |
const onFocus = page => { | |
return page.evaluate(() => { | |
return new Promise(res => { | |
if (document.hasFocus()) { | |
res() |
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
{"lastUpload":"2018-09-10T04:09:36.947Z","extensionVersion":"v3.0.0"} |
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 PropTypes from 'prop-types' | |
import { | |
controller, | |
AnimatedValue, | |
createAnimatedComponent, | |
SpringAnimation, | |
config, | |
} from 'react-spring' | |
import * as _ from 'lodash' |
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 PropTypes from 'prop-types' | |
import { | |
controller, | |
AnimatedValue, | |
createAnimatedComponent, | |
SpringAnimation, | |
config, | |
} from 'react-spring' |
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
User.homeDocument.getChildrenStream().subscribe(x => console.log('done', x)) | |
Processing: i5557z2caw:1500447342160 | |
Subscriber {closed: false, _parent: null, _parents: null, _subscriptions: Array(1), syncErrorValue: null…} | |
documents: i5557z2caw:1500447342160 (7) [RxDocument, RxDocument, RxDocument, RxDocument, RxDocument, RxDocument, RxDocument] | |
Getting childs for: 06hfxakxcy:1500516727785 | |
Processing: 06hfxakxcy:1500516727785 | |
Getting childs for: 1btrmkd5qz:1500518892760 | |
Processing: 1btrmkd5qz:1500518892760 | |
Getting childs for: 4cx050ynfd:1500516607679 | |
Processing: 4cx050ynfd:1500516607679 |
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 state from '../state' | |
import { t, options, exprStatement, nodeToStr } from './helpers' | |
import hash from 'hash-sum' | |
// splits styles into static/dynamic pieces | |
export function extractAndAssign(node, file) { | |
// if array of objects | |
if (t.isArrayExpression(node.right)) { | |
return getArrayStatics(node, file) | |
} |
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
'use strict'; | |
const parse_yes_no_option = require('./parse_yes_no_option'); | |
const NiceError = require('./nice_error.js'); | |
const fs = require('fs'); | |
const url = require('url'); | |
const toml = require('toml'); | |
const chalk = require('chalk'); |
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": { | |
"get": { | |
"getDimensions": { | |
"lows": "[[null,null],[-1.5896538496,1.42131984234],[-1.59024405479,1.42128765583],[-1.59193897247,1.42103493214],[-1.59193098545,1.42079949379],[-1.60010409355,1.42653727531],[-1.59683990479,1.42475187778],[-0.222584158182,-0.503785014153],[-0.218509122729,-0.506726443768],[0.463188052177,-1.20419502258],[-0.216254755855,-0.508005559444],[-1.88223266602,1.60256564617],[-1.082924366,0.409523248672],[-0.273515462875,-0.561486005783],[-1.84869134426,1.54470205307],[-1.07305586338,0.40146163106],[-1.06311476231,0.393994688988],[0.453633099794,-1.28270220757],[-0.254591584206,-0.576505601406],[-1.58123731613,1.42022931576],[-0.210219934583,-0.509812355042],[0.485451281071,-1.21823740005],[0.516267478466,-1.24821436405],[0.411454707384,-1.28829181194],[0.417188256979,-1.29346489906],[0.375967681408,-1.25528919697],[0.376130640507,-1.25581371784],[-0.300871729851,-0.564482271671],[-1.82346487045,1.48116350174],[-1.07748162746,0.414052993059],[-1.0755376815 |
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
<VictoryChart | |
height={height} | |
width={width} | |
> | |
<VictoryArea | |
animate={{ duration: 100 }} | |
interpolation="stepAfter" | |
style={{ | |
data: { | |
fill: '#fff178', |
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
{ | |
"Profiles": [ | |
{ | |
"Link Color" : { | |
"Red Component" : 0.5272001028060913, | |
"Color Space" : "Calibrated", | |
"Blue Component" : 0.9352657198905945, | |
"Alpha Component" : 1, | |
"Green Component" : 0.7122980356216431 | |
}, |