Posts by Tag

serverless

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.

Back to Top ↑

JavaScript

HTML Inline Frame - Iframe

August 25, 2019  4 minute read  

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

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.

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 ↑

Python

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 ↑

AWS Lambda

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.

Back to Top ↑

AWS API Gateway

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.

Back to Top ↑

Amazon DynamoDB

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?

Back to Top ↑

Angular

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.

Back to Top ↑

AWS CloudFormation

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.

Back to Top ↑

Amazon S3

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 ↑

AWS Serverless Application Model(AWS SAM)

Back to Top ↑

TypeScript

Back to Top ↑

Debug

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.

Back to Top ↑

Chrome

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.

Back to Top ↑

User Interface(UI)

HTML Inline Frame - Iframe

August 25, 2019  4 minute read  

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

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 ↑

AWS IAM

Back to Top ↑

Safari

Back to Top ↑

Jekyll

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 ↑

HTML-CSS

HTML Inline Frame - Iframe

August 25, 2019  4 minute read  

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

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 ↑

Service Worker

Back to Top ↑

PWA

Back to Top ↑

AWS Amplify

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.

Back to Top ↑

AWS CLI

Back to Top ↑

AWS Elastic Beanstalk

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.

Back to Top ↑

Test

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.

Back to Top ↑

Firefox

Back to Top ↑

Javascript

Back to Top ↑

AWS CodePipeline

Back to Top ↑

CI/CD

Back to Top ↑

Productivity

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 ↑

AWS SAM

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.

Back to Top ↑

Boto3

Back to Top ↑

Chrome Extension

Back to Top ↑

Amazon Echo

Back to Top ↑

Alexa

Back to Top ↑

AWS Cognito

Back to Top ↑

Regex

Back to Top ↑

AWS Signature Version 4

Back to Top ↑

Mac

Back to Top ↑

Shell

Back to Top ↑

AWS Boto 3

Back to Top ↑

AWS CodeStar

Back to Top ↑

MacOS

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 ↑

Amazon Amplify

Back to Top ↑

AWS Cloud9

Back to Top ↑

AWS CloudWatch

Back to Top ↑

AWS SQS

Back to Top ↑

Serverless

Back to Top ↑

AWS Polly

Back to Top ↑

TTS

Back to Top ↑

Wire Transfer

Back to Top ↑

Forex

Back to Top ↑

Currency Exchange

Back to Top ↑