The body response of Lambda must output a format that is acceptable to AWS API Gateway. An example NodeJS code with the appropriate callback will ensure a successful 200 OK response: You can find more information from the sources below. Resolve “Malformed Lambda Proxy Response” Best Practices for Working with AWS Lambda
Monthly Archives: April 2018
Example code snippet on HashRouter from react-router-dom. This routing alternative can be used on hosting services such as GitHub pages and other static hosting services. Implementation Import HashRouter: Example code that goes in render(): Here’s a link to my Gist if that doesn’t come out correctly. Drawbacks A collection of thoughts and issues I’ve found […]
Work with multiple AWS sessions and get tired of switching accounts manually? Use the following commands to automatically switch between AWS accounts! To use from your command prompt, here’s an example: I needed this functionality since I work with multiple AWS sessions. The full documentation can be found on the links below. Configuring the AWS […]
We have a new website that I helped put together with my team. We used WordPress, Angular 5, Google Cloud Functions, and AWS. I’m very proud of the work everyone did to help build such an awesome website. I’m especially proud to be part of a global association for all Home Stagers across the world.
Are you receiving those pesky calls labeled “Scam Likely”? You can block them completely! Here are the codes to put into your phone: Enable Scam Block #662# Disable Scam Block #632# Check Scam Settings #787# I’m not sure if these work for other carriers. If these do, post a comment below 🙂
Use the following code snippet to make a theme page that is private. It will require the user to log on their administrative WP page as a user to view the contents on this page.
This short guide will provide a step-by-step process on enabling cURL on your Windows operating system (Windows Server or Desktop) so that batch files can cURL to Slack hooks.
Completed an AWS deployment project for a WordPress website using AWS Lightsail, RDS, S3, CloudFront, CloudWatch 😀 Visit their website at BeWorkPlace.com
Completed a DevOps project for the Brentwood Rotary using AWS Lightsail, RDS, S3, CloudFront, CloudWatch. Visit their website at: BrentwoodRotary94513.com
The following commands update containers that are already running using Docker Update. Always restart docker update –restart=always CONTAINER_NAME Unless stopped docker update –restart=unless-stopped CONTAINER_NAME