Oftentimes, we would want to manually copy files from an S3 to an EC2 instance in AWS. This is possible but requires several steps and some configuration. 1. Create IAM Role For EC2 Instances First, create a new role. This
Java Web Application BASIC Authentication in Tomcat
The fastest way to configure authentication in Tomcat is Basic Authentication. However, it is one of the weakest forms of authentication, and we should not use it in real-life applications. Although we should not use Basic Authentication, it is still
Python 3 Write Text to File Example – Open And Close Files Too
This post shows how to write texts to a file in Python 3.
Python 3 Split and Join String With Examples
This post shows how split and join strings in Python 3.
Python 3 Print Exception Message With Examples
This post shows how to display the message and details on an Exception in Python 3.
Spring MVC – How To Test For View Name
This post briefly demonstrates how to test for a view name in Spring MVC.
Convert MySQL INSERT IGNORE to PostgreSQL
This post shows an example of the MySQL INSERT IGNORE statement in the PostgreSQL version. There are good reasons why you should use PostgreSQL at the onset or migrate to it as soon as possible. One reason is you cannot
ReactJS – Starter Project
When learning React Native, one has good understanding of the basics of ReactJS. Otherwise, he or she’ll feel lost and may implement a solution that is not in conformity with React (JS or Native). A good starter project for ReactJS is important as it provides an already working initial project so that newbie developers can begin coding right away.
DockerFile – Build a Ubuntu 18.04 Docker Image And Update It
There may be hundreds of custom Ubuntu 18.04 Docker images on Docker Hub that have our favorite development tools. However, many of us would rather create our Ubuntu 18.04 Docker image as base image for our various container needs. This
Spring – Multiple Names Or Aliases For A Bean
Sometimes we have use cases that require different codes to reference the same bean using other names or aliases. Fortunately, we can have one bean and give them multiple aliases in Spring. This post shows how to assign multiple names