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
const addApiIncrease = async (req, res, next) => { | |
stripe.setApiVersion('2018-05-21'); | |
const billingId = req.account.billing.customer_id; | |
const newSubscription = await stripe.subscriptions.create({ | |
customer: billingId, | |
items: [ | |
{ |
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
var scene_key = 'scene_1' | |
var view_key = 'view_36' | |
var name_field_key = 'field_1' | |
var price_field_key = 'field_39' | |
var connected_record_field_key = 'field_30' |
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
<template> | |
<div> | |
<Loading :is-loading="!hasLoadedData" /> | |
<div v-if="hasLoadedData"> | |
<slot /> | |
</div> | |
</div> | |
</template> | |
<script> |
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 { storiesOf } from '@storybook/vue' | |
import { withKnobs, text, object } from '@storybook/addon-knobs' | |
import store from '../store' | |
import '../styles/global.scss' | |
import Login from '@/components/Login' | |
import DataWrapper from '@/stories/DataWrapper' | |
import { initializeApi } from '@knack/api' | |
window.Knack.Api = initializeApi(ACCOUNT, PASSWORD) |
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
.addDecorator( | |
StoryRouter( | |
{}, | |
{ | |
initialEntry: `/schema/list/objects/${objectKey}/fields`, | |
routes: [ | |
{ | |
path: `/schema/list/objects/:objectKey/fields`, component: ObjectListFields | |
} | |
] |
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
<<< Knack provisioning started >>> | |
2019-03-03 13:38:03 | |
<<< stop Knack instances >>> | |
sudo: systmectl: command not found | |
<<< update system packages >>> | |
Hit:1 http://eu-central-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease | |
Hit:2 http://eu-central-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease | |
Hit:3 http://eu-central-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease | |
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease | |
Ign:5 https://sensu.global.ssl.fastly.net/apt xenial InRelease |
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
require('dotenv').config({ | |
path: `.env.${process.env.NODE_ENV}`, | |
}) | |
module.exports = { | |
siteMetadata: { | |
title: 'Gatsby + WordPress Starter', | |
}, | |
plugins: [ | |
'gatsby-plugin-react-helmet', |
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
HTACCESS_USER=user | |
HTACCESS_PASSWORD=password |
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
a { | |
color:black; | |
} | |
a:hover { | |
color:red; | |
} |
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
<style> | |
.project__container { | |
transition: box-shadow .3s; | |
background-color: rgba(0, 0, 255, .8); | |
color: #fff; | |
display: inline-block; | |
padding: 10px; | |
box-shadow: 6px 11px 28px -8px rgba(0,0,0,0); | |
} |
OlderNewer