This file contains hidden or 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
/** | |
* Copied from https://github.com/OneGraph/graphiql-explorer (0.4.5) | |
* We fork because we need to support customizable fields and could not wait for | |
* the PR process to finish. Also converted Flow type to TypeScript. | |
*/ | |
import { Tooltip } from 'antd'; | |
import prettier from 'prettier/standalone'; | |
import parserGraphql from 'prettier/parser-graphql'; | |
import React, { Fragment } from 'react'; |
This file contains hidden or 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
# This will automatically install the Sumo Logic collector on AWS Elastic | |
# Beanstalk instances. Add this to the .ebextensions folder in your app root | |
# To add or remove tracked files, simply add or remove source hashes to the | |
# sources array. | |
packages: | |
rpm: | |
SumoCollector: https://collectors.sumologic.com/rest/download/rpm/64 | |
files: | |
"/home/ec2-user/setup-sumo.sh": |
This file contains hidden or 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
document.addEventListener('DOMContentLoaded', function () { | |
/** | |
* Palette is ordered by time. The first color will be midnight (new day), | |
* and the last color will be just before midnight. | |
*/ | |
var palette = [ | |
'#f6ebcf', | |
'#fbfafb', | |
'#eff2ed' | |
]; |