Jest cheat sheet
https://github.com/sapegin/jest-cheat-sheet
Access component method
wrapper.instance().componentMethod
Jest cheat sheet
https://github.com/sapegin/jest-cheat-sheet
Access component method
wrapper.instance().componentMethod
| HOST_ZONE_ID= | |
| ACTION= | |
| DNS_NAME= | |
| # Add A record for s3 website hosting using custom domain | |
| # Ref: http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html | |
| aws route53 change-resource-record-sets --hosted-zone-id $HOST_ZONE_ID --change-batch "{ | |
| \"Changes\": [{ | |
| \"Action\": \"$ACTION\", | |
| \"ResourceRecordSet\": { |
| # Create a default ssh key | |
| ssh-keygen -t rsa | |
| # Create another named ssh key | |
| ssh-keygen -f ~/.ssh/<username> | |
| ssh-add ~/.ssh/<username> |
| pbcopy < ~/.ssh/id_rsa.pub | |
| #or | |
| cat ~/.ssh/id_rsa.pub | pbcopy |