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":"2020-02-20T00:02:06.489Z","extensionVersion":"v3.4.3"} |
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
test |
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
test |
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, { Component } from 'react'; | |
import { | |
VictoryLine, | |
VictoryChart, | |
VictoryContainer, | |
VictoryClipContainer, | |
VictoryZoomContainer, | |
VictoryAxis, | |
VictoryScatter, | |
} from 'victory'; |
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 fs from 'fs' | |
import cheerio from 'cheerio' | |
import fetch from 'node-fetch' | |
import _ from 'lodash' | |
const scrapeRoute = { | |
method: 'GET', | |
path: '/api/scrape', | |
handler: function(request, h) { | |
const url = |
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 LRU from 'lru-cache' | |
const options = { | |
max: 40000, | |
maxAge: 8000 * 60 * 60 | |
} | |
const cache = LRU(options) | |
export function checkCache(key) { |
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, { Component } from 'react' | |
import _ from 'lodash' | |
import moment from 'moment' | |
import glamorous from 'glamorous' | |
import Styles from '../../assets/styles' | |
export default class NextTideRow extends Component { | |
formatTideTime(time) { | |
return moment | |
.utc(time) |
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
window.addEventListener('load', function() { | |
var REFERRER_COOKIE = '_rbn_referral', | |
noop = function() {}; | |
var $freeTrialForm = document.querySelector('.hbspt-form > form'); | |
if ($freeTrialForm) { | |
console.log(`We have the free trial form`); | |
$freeTrialForm.addEventListener('hsvalidatedsubmit', function(event) { |
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
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ " |
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, { Component } from "react" | |
import PropTypes from "prop-types" | |
import Link from "gatsby-link" | |
class Home extends Component { | |
render() { | |
const data = this.props.data | |
console.log(data) |
NewerOlder