I hereby claim:
- I am rcdexta on github.
- I am rcdexta (https://keybase.io/rcdexta) on keybase.
- I have a public key ASB_d46Ae3x8E31hKsYgykn-z5lHXc6p9mUy6B0duzrKNQo
To claim this, I am signing this object:
$ curl -XPOST "http://localhost:9200/_snapshot/s3-backup/curator-20151116142900/"\ | |
"_restore?pretty=true&wait_for_completion=true" |
<div class="card"></div> | |
<form action="#"> | |
<label>Credit Card Number </label> | |
<input type="text" name="number" /> | |
<label>Expiration</label> | |
<input type="text" placeholder="MM/YY" name="expiry"/> |
new Card({ | |
form: 'form', | |
container: '.card', | |
formSelectors: { | |
numberInput: 'input[name=number]', | |
expiryInput: 'input[name=expiry]', | |
cvcInput: 'input[name=cvv]', | |
nameInput: 'input[name=name]' | |
}, | |
width: 390, // optional — default 350px |
$(function() { | |
var expMonthAndYear = $('input[name=expiry]').val().split(" / "); | |
Stripe.card.createToken({ | |
number: $('input[name=number]').val(), | |
cvc: $('input[name=cvv]').val(), | |
exp_month: expMonthAndYear[0], | |
exp_year: expMonthAndYear[1] | |
}, stripeResponseHandler); | |
}); |
I hereby claim:
To claim this, I am signing this object:
//1. Import the entire lodash library and add it to the bundle | |
import lodash from 'lodash' | |
lodash.groupBy(rows, 'id') | |
//2. Import only the required function from lodash | |
import groupBy from 'lodash/groupBy' | |
groupBy(rows, 'id') |
... | |
var CompressionPlugin = require("compression-webpack-plugin"); | |
... | |
let config = { | |
entry: path.join(__dirname, '../app/index'), | |
cache: false, | |
devtool: 'cheap-module-source-map', | |
plugins: [ | |
new webpack.DefinePlugin({ | |
'process.env.NODE_ENV': '"production"' |
//Usage | |
import React from 'react'; | |
import { BrowserRouter as Router } from 'react-router-dom'; | |
import Route from './AuthRoute'; | |
import Login from './Login'; | |
import Private from './Private'; | |
export default () => | |
<Router> |
const express = require('express') | |
const app = express() | |
app.get('/status', (req, res) => res.status(200).json({status: 'ok'})) | |
app.listen(3000, () => console.log('Example app listening on port 3000!')) |
version: 0.2 | |
phases: | |
pre_build: | |
commands: | |
- IMAGE_TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7) | |
- npm ci | |
- $(aws ecr get-login --region $AWS_DEFAULT_REGION) | |
build: | |
commands: |