I hereby claim:
- I am segunadebayo on github.
- I am segunadebayo (https://keybase.io/segunadebayo) on keybase.
- I have a public key ASBtVZhQf8x-7k_u2iDgxtq2GHJ7Y_95v2SS0-viWQg2fwo
To claim this, I am signing this object:
/* Reset | |
=============================================================================*/ | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
/* Body |
I hereby claim:
To claim this, I am signing this object:
const { ApolloServer, gql, makeExecutableSchema } = require('apollo-server') | |
const { applyMiddleware } = require('graphql-middleware') | |
const uppercaseCategory = async (resolve, parent, args, context, info) => { | |
const result = await resolve(parent, args, context, info) | |
return result.toUpperCase() | |
} | |
const postsMiddleware = async (resolve, parent, args, context, info) => { |
/*jshint node:true*/ | |
'use strict'; | |
/** | |
* This scripts recursively renames every file and directory in the script path | |
* from camelCase and UpperCamelCase to dash-case | |
* | |
* Do a backup before executing this script | |
* | |
* @lecense MIT |
import * as React from "react"; | |
const storageKey = "chakra-ui-color-mode"; | |
const cx = (mode: ColorMode) => `chakra-ui-${mode}`; | |
const supportsLocalStorage = typeof Storage !== "undefined"; | |
const getBodyElement = () => { | |
// for SSR | |
const mockBody = { | |
classList: { |
import React, { Component } from "react"; | |
import { Switch, Route, Link } from "react-router-dom"; | |
import "./app.css"; | |
const Home = () => <div>You're on the Home Tab</div>; | |
const Photo = ({ location }) => { | |
const { state = {} } = location; | |
const { modal } = state; | |
return ( | |
<div className={modal ? "modal" : undefined}> |
const menuButtonMachine = new Machine( | |
{ | |
id: "menu-button", | |
initial: "idle", | |
context: { | |
activeIndex: -1, | |
items: [1, 2, 3], | |
focused: "" | |
}, | |
states: { |
const machine = Machine({ | |
id: "menu-button", | |
initial: "unmounted", | |
context: { | |
button: null, | |
menu: null, | |
items: [], | |
search: "", | |
highlightIndex: -1 | |
}, |