How to Deploy React App to S3 and CloudFront
If you would like to deploy a React App to AWS S3 and AWS CloudFront, then you can follow this guide.
The following solution creates a React App and …
Read Article →In-depth guides, insights, and best practices for modern software engineering
If you would like to deploy a React App to AWS S3 and AWS CloudFront, then you can follow this guide.
The following solution creates a React App and …
Read Article →In react-router-dom v6, Switch is replaced by routes Routes.
You need to update the import from:
import { Switch, Route } from …
Read Article →
If you need to list all Files, Folders, or Directories in Python code, then you can use the listdirs method from the os package.
import os …
Read Article →
If you need to read a file in Python, then you can use the open() built-in function to help you.
Let’s say that you have a file called …
Read Article →If you have a Pandas DataFrame, and want to only drop columns if they exist, then you can do the following:
Add parameter errors to DataFrame.drop: …!-->!-->!-->!-->
If you are running a GlueJob in AWS and get the following error:
An error occurred while calling o86.getDynamicFrame. Exception thrown in awaitResult: …
The AWS Cloud Development Kit (CDK) comes with a list of commands that you need to know: …
Read Article →Let’s say you have a Java project as follows:
package ms.ao.something;
public class MyProject {
public static void main(String...args) …
Read Article →
If you need to see a list of all the resources in your AWS Account, then you need to look into the Tag Editor.
Search for Tag …
If you need two (2) columns and want the left column to be a fixed size, but the right column to automatically take the remaining size of the window, …
Read Article →If you need to check if a volume is mounted in a Bash script, then you can do the following.
First we need to determine …
Read Article →If you need to check if a bash variable is empty, or unset, then you can use the following code:
if [ -z "${VAR}" ];
The above code will check …
Read Article →