Posts by Category

AWS

Create AWS Lambda Layers Using AWS SAM

December 05, 2019  3 minute read  

Learn how to create a Lambda Layer using AWS SAM (Serverless Application Model) and CloudFormation in YAML to reuse code, write zero redundant code and reduce Lambda deployment size.

AWS Amplify API Requests With Retries

July 11, 2019  3 minute read  

Learn how to send API requests using AWS Amplify API with retries. This function pattern also works for retrying a promise when the promise rejects.

How to pause or stop AWS Elastic Beanstalk environment from running?

March 09, 2019  3 minute read  

There is no straightforward way to pause an Elastic Beanstalk(EB) environment on AWS console. You can’t terminate it as it will be deleted. Fret not, you can stop your Elastic Beanstalk environment from running when it is not needed so that you only pay when you use it.

How to increment an atomic counter on Amazon DynamoDB?

March 07, 2019  3 minute read  

If you use Amazon DynamoDB to keep track of usage count, you may encounter a situation where you need to increase a user’s usage count when the user is actively using your service, how do you make sure you calculate the total usage correctly? How do you make sure you don’t count more or less?

How to set Amazon S3 files download names?

March 04, 2019  2 minute read  

When I was downloading via an Amazon S3 url, I realized that it had the exact name as how I kept it in the storage. It would be more informative and convenient to users if the downloaded that have meaningful names instead of randomly generated IDs.

Back to Top ↑

Web

HTML Inline Frame - Iframe

August 25, 2019  4 minute read  

Learn about HTML Inline Frame element (<iframe>) through some examples.

Chrome Remote Debugging Websites on Android

March 11, 2019  3 minute read  

Web browsers and mobile browsers don’t behave the same and sometimes don’t support the same functionalities. It is important for us to test our app on mobile browsers too especially the browsers that most of our users are using.

How to access an Angular App running on localhost from mobile devices?

March 10, 2019  2 minute read  

When you develop your Angular app on localhost, you might wonder how it looks like on a real mobile device(phone, tablet, etc.), whether it is responsive to different screen sizes. To do that, you can load your site running on localhost on your mobile devices when they are connected to the same local area network(LAN) such as connecting to the same WiFi.

Add Scroll-To-Top Button to a Website

February 26, 2019  5 minute read  

When a page has long content, it would be good to have anchors at sections’ titles and also a scroll-to-top that help users navigate and scroll.

Back to Top ↑

How-to

Screen Recording on Macbook

June 17, 2019  1 minute read  

Sometimes, it is hard to convey your ideas via text. With videos, you would be able to express your thoughts and ideas more vividly. To show what is going on in your screen for educational purpose, debugging or other purposes, you can record your Macbook screen.

Back to Top ↑

DevOps

Back to Top ↑

Productivity

Back to Top ↑

DevOp

Back to Top ↑

Review

Back to Top ↑