pip install --user localstack
brew install nose
Modify ~/.zshrc to add
export PATH="/Users/cynthia/Library/Python/3.6/bin:${PATH}"
| package json; | |
| import com.amazonaws.services.dynamodbv2.model.OperationType; | |
| import com.amazonaws.services.dynamodbv2.model.StreamViewType; | |
| import com.amazonaws.services.lambda.runtime.events.DynamodbEvent; | |
| import com.fasterxml.jackson.annotation.JsonIgnore; | |
| import com.fasterxml.jackson.annotation.JsonProperty; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import com.fasterxml.jackson.databind.PropertyNamingStrategy; |
| # Based on https://github.com/PrakashTrove/AWS-CodeBuild-NetCore/blob/master/buildspec.yml | |
| # AWS CodeBuild spec to build an Elastic Beanstalk artifact for AWS CodePipeline to deploy | |
| version: 0.2 | |
| phases: | |
| install: | |
| runtime-versions: | |
| dotnet: 5.0 | |
| #dotnet: latest - Latest resolve to 3.1, check this issue https://github.com/aws/aws-codebuild-docker-images/issues/414 | |
pip install --user localstack
brew install nose
Modify ~/.zshrc to add
export PATH="/Users/cynthia/Library/Python/3.6/bin:${PATH}"
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.min.js"></script> | |
| <script> | |
| function generateCodeVerifier() { | |
| var code_verifier = generateRandomString(128) | |
| document.getElementById("code_verifier").value = code_verifier | |
| } |
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
| # Get Sudo. | |
| if [ $EUID != 0 ]; then | |
| sudo "$0" "$@" | |
| exit $? | |
| fi | |
| # Install Xcode first - https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12 | |
| # Install Xcode command line tools. | |
| xcode-select --install |