Create a new directory.
$ mkdir micro-api
$ cd micro-api
$ npm test | |
> [email protected] test /tmp/seed/source | |
> serverless-bundle test | |
PASS tests/billing.test.js | |
PASS tests/test.test.js | |
Test Suites: 2 passed, 2 total | |
Tests: 4 passed, 4 total | |
Snapshots: 0 total | |
Time: 1.874s | |
Ran all test suites. |
✓ Deploy Generated CloudFormation deployment | |
aws cloudformation deploy | |
--template-file sam.yaml | |
--stack-name TestArcCodesStaging | |
--s3-bucket arc-codes-deploy-bucket | |
--capabilities CAPABILITY_IAM | |
--region us-east-1 | |
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] | |
To see help text, you can run: |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"cloudformation:*", | |
"s3:*", | |
"logs:*", | |
"iam:*", |
const dev = { | |
apiGateway: { | |
}, | |
cognito: { | |
} | |
}; | |
const prod = { | |
apiGateway: { | |
}, |
{ | |
"name": "DemoApp", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
}, | |
"devDependencies": { | |
}, | |
"scripts": { | |
"start": "REACT_APP_STAGE=staging react-scripts start", |
Generate palette from input. Scale is the width of the output, height is generated based on aspect ratio.
ffmpeg -y -t 3 -i input.mov -vf fps=25,scale=320:-1:flags=lanczos,palettegen palette.png
Generate GIF
ffmpeg -t 3 -i input.mov -i palette.png -filter_complex "fps=25,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" output.gif
I hereby claim:
To claim this, I am signing this object: