$ openssl genrsa -out private.key 4096
openssl req -new -sha256 \
// response in the CustomerData structure (see types.ts) | |
bytes memory payload = abi.encode(response); | |
inputBox.addInput(L2_DAPP, payload); |
/* eslint-disable @typescript-eslint/no-var-requires */ | |
import { terser } from 'rollup-plugin-terser' | |
import alias from '@rollup/plugin-alias' | |
import babel from '@rollup/plugin-babel' | |
import commonjs from '@rollup/plugin-commonjs' | |
import minimist from 'minimist' | |
import postcss from 'rollup-plugin-postcss' | |
import replace from '@rollup/plugin-replace' | |
import resolve from '@rollup/plugin-node-resolve' | |
import typescript from 'rollup-plugin-typescript2' |
{ | |
"presets": ["es2015"], | |
"plugins": ["transform-async-to-generator"] | |
} |
all: pdf epub kindle html examples | |
BOOK_TITLE = A\ React\ Developer’s\ Guide\ to\ Hooks\ -\ Sebastien\ Castiel | |
dist: | |
@mkdir -p dist | |
pdf: dist/${BOOK_TITLE}.pdf | |
@echo '✅ PDF' |
// Add any other logic here as needed. | |
import { CacheableResponsePlugin } from 'workbox-cacheable-response/CacheableResponsePlugin'; | |
import { CacheFirst } from 'workbox-strategies/CacheFirst'; | |
import { createHandlerForURL } from 'workbox-precaching/createHandlerForURL'; | |
import { ExpirationPlugin } from 'workbox-expiration/ExpirationPlugin'; | |
import { NavigationRoute } from 'workbox-routing/NavigationRoute'; | |
import { precacheAndRoute } from 'workbox-precaching/precacheAndRoute'; | |
import { registerRoute } from 'workbox-routing/registerRoute'; |
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
GraphQL Upload
operations
{
"query": "mutation SingleUpload($data: UploadInput!) { singleUpload(data: $data) { _id filename url mimetype } }",
"variables":{
"data": {
"file": null
}