Skip to content

Instantly share code, notes, and snippets.

View ryancoughlin's full-sized avatar

Ryan Coughlin ryancoughlin

View GitHub Profile
import React, { Component } from 'react';
import {
VictoryLine,
VictoryChart,
VictoryContainer,
VictoryClipContainer,
VictoryZoomContainer,
VictoryAxis,
VictoryScatter,
} from 'victory';
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 =
import LRU from 'lru-cache'
const options = {
max: 40000,
maxAge: 8000 * 60 * 60
}
const cache = LRU(options)
export function checkCache(key) {
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)
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) {
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\] $ "
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)

Guideline 3.1.2 - Business - Payments - Subscriptions

We noticed that your app and app’s metadata did not fully meet the terms and conditions for auto-renewing subscriptions, as specified in Schedule 2, Section 3.8(b).

Your app's binary did not include:

– Information about the auto-renewable nature of the subscription – Links to the privacy policy and terms of use – The length of the subscription

SALTY FOR IOS TERMS OF USE
==============
In accordance with the iTunes Store Terms of Use which we reccomend you review before proceeding with any online transaction:
- Payment will be charged to your iTunes account at confirmation of purchase
- Your subscription of Salty Ocean Pass or In-App products will automatically renew for the same subscription at the same rate as you initially subscribed unless you cancel your subscription by turning off auto-renewal at least 24 hours before the expiry of the current period.
- Your account will be charged for renewal at the same rate as you initially subscribed within 24 hours prior to the end of the current period.