Code | Description |
---|---|
docker rm $(docker ps -a -q -f status=exited) |
To remove all the containers that have exited |
EC2_REGION=
|
To login into ECR |
docker pull amazon/amazon-ecs-sample |
Just a ecs sample |
When testing on api gateway received a "module initialization error" but do not know what's the error.
- Check api-gateway error logs
- Test that the lambda works from console (This helped me to solve my problem)
CORS stands for Cross-origin resource sharing. It is a set of standard HTTP headers used to restrict the access of web resources from other domains. In the web app security model, this is called same-origin policy, and it's supposed to avoid cross-site scripting (XSS) attacks. Browsers will not fetch the requested resources unless the corresponding server attaches the required HTTP headers in the OPTIONS call (or GET method).
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
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Original Author: J. Le Coupanec | |
# Date: 2014/11/04 |