Advanced Search
Search Results
245 total results found
IAM Advanced
Organization Let you manage multiple AWS account at the same time. There is one main account that's the management account, other account are member accounts. Billing will all be sent to the management account. You get pricing benefits from using all service...
VPC
Networking 101 IP Addresses Every host or device on a network must be addressable, meaning that they should have something that can be referenced by in order to reach it as a destination under a defined system of addresses. That thing is called IP Addresses ...
Disaster Recovery and Migration
Disaster recovery Disaster recovery is about preparing for those disaster that can happen to the data center. RPO: Recovery point objective. How often do you run backups. How far can you go back just before the data loss. "How much data did you lose just bef...
Even More Architecture Discussion
Event processing in AWS SQS + Lambda Lambda service is going to poll from SQS, however, there can be problem with the message if it cannot be processed and go into infinite loops. In that case a dead letter queue can be set up to sent problematic message aft...
Some Random Services
CloudFormation Declarative way for outlining your AWS infrastructure using a template. "I want a security, I want two EC2 instance using security group" Then CloudFormation will create your instances, infrastructure as code, you will never create the resour...
Executing Binary/Script
If binary is relative to your current directory If the binary/script is relative to your current directory, then you would have to use ./ (dot slash) to execute the binary or script with respect to your current path. This is because your current directory is...
Why Sometimes git checkout fails
Did you ever wonder why when you run git checkout <branch name> from say a feature branch to the main branch it will fail? Well there could be many reason, the primary reason is that you have some local changes that you didn't commit / stash before switching t...
All About Branches
Branch name inconsistency Sometimes the branch name shown in git are inconsistent. For example, the output for git branch -a vs git branch -r. The remote-tracking branches will be prefixed with remotes/ in git branch -a. However, the remote branch in git bra...
Parent and Child pom.xml
https://howtodoinjava.com/maven/maven-parent-child-pom-example/
Remove all untracked files
To remove all unwanted un-tracked files you can just run: git clean Use it with -n for a dry run to see the list of files that it will be removing. Use it with -d to also remove directories, can be used with -n.
All About Importing Modules and from Packages
Module? A module is just a Python file with the correspondingĀ .py extension. So if you're talking about the math module then there is a correspondingĀ math.py file that contains functions, classes, and constants that are meant to be used by other Python files....
Java Loggers
Java Logging Logging in a program is important to keep track of a program's run-time behavior. Logs capture and persist the important data and make it available for analyst later on. Logging frameworks In Java there are multiple frameworks that you can use ...
System property value
System property value They are contained only within the Java platform. Environment variables are global at the operating system level. You can set system property value via CLI using -Dpropertyname=value You set environment variable using export envName=v...
Spring boot application.properties
In a application.properties file you can use place holders to reference environment variables rather than hard coding the value. For example: Instead of writing your application.properties like so: // application.properties aws.region=east Which is fine but...
eval command
The eval command can be used with either table data or event data.If used with event data the new field that is created won't be shown, because the event tab only shows the event data as a whole. Duh. To show the new field that you have created then you will ...
Event vs Statistics Tab
If you perform a normal search, the event tab list all the events that are matched with the search query that you have specified. The statistics tab will not display any reporting data since you did not used any reporting commands. Reporting commands are comm...
Event data
An event is just the data that is sent by the forwarder and parsed by the indexer. It is associated with a timestamp. The event can be a simple log, stack trace, or even a JSON payload.
Pull in changes to feature branch from master
Say you branch off from the main branch and are currently working on a feature in Git. Suddenly, your co-worker pushes changes to the main branch (this is entirely possible), while you are still working on the feature branch, and you would like to have that ne...
Git rebase
What is Git Rebase git rebase is one of the two strategies in git along with git merge that allows you to integrate changes from one branch onto another. The differences between those two is that git merge is always a forward moving change record, meaning th...
When does a merge conflict happen?
What is merge conflict Merge conflict arises when you have two people changing the same line in a file OR if one person deleted the file but the other modified (effectively keeping that file), then you tried to integrate the changes together via either git me...