I hereby claim:
- I am vincentriemer on github.
- I am vincentriemer (https://keybase.io/vincentriemer) on keybase.
- I have a public key ASBbyFx0Y416Yh_pdSHCOTmkEOVLG0rnocD-kCKgd7KKjQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import * as fs from "fs"; | |
| import * as path from "path"; | |
| import * as url from "url"; | |
| import { exec } from "child_process"; | |
| import cuid from "cuid"; | |
| import snoowrap from "snoowrap"; | |
| import throat from "throat"; | |
| import mmm from "mmmagic"; | |
| import axios from "axios"; |
| type t('a, 'e); | |
| module Subscription = { | |
| type t; | |
| [@bs.get] external closed : t => bool = ""; | |
| [@bs.send.pipe : t] external unsubscribe : unit => unit = ""; | |
| }; | |
| module Observer = { | |
| type t('a, 'e); |
| declare module "yoga-dom" { | |
| declare opaque type AlignAuto; | |
| declare opaque type AlignFlexStart; | |
| declare opaque type AlignCenter; | |
| declare opaque type AlignFlexEnd; | |
| declare opaque type AlignBaseline; | |
| declare opaque type AlignSpaceBetween; | |
| declare opaque type AlignSpaceAround; | |
| declare type Align = | |
| | AlignAuto |
| // @flow | |
| import * as React from "react"; | |
| import getStyleProp from "desandro-get-style-property"; | |
| const supportsObjectFit = !!getStyleProp("objectFit"); | |
| type Props = React.ElementProps<"img">; | |
| export default class Image extends React.Component<Props> { |
| @font-face { | |
| font-family: System; | |
| src: local("-apple-system"), local("BlinkMacSystemFont"), local("Segoe UI"), local("Roboto"), local("Ubuntu"), local("Helvetica Neue"), local("sans-serif"); | |
| } |
| // @flow | |
| import * as React from "react"; | |
| import ResizeObserver from "resize-observer-polyfill"; | |
| import invariant from "invariant"; | |
| type Entry = { | |
| +contentRect: { | |
| +width: number, | |
| +height: number |
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 12, | |
| // font family with optional fallbacks | |
| fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
| cursorColor: 'rgba(248,28,229,0.8)', |
| // Cross-browser compatible scroll position | |
| function getScrollPosition() { | |
| return (window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop; | |
| } | |
| // requestAnimationFrame polyfill | |
| (function requestAnimationFramePolyfill() { | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; | |
| for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { | |
| window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; |