Skip to main content

Recently Updated Pages

exec form vs shell form PT.2

Docker

shell form The PID 1 is the shell, which will spawn the process that the program it is actually ...

Updated 2 years ago by Tamarine

RUN, CMD, ENTRYPOINT Directives

Docker

RUN The RUN directive is executed in a new layer, what does it mean? It is used to install packa...

Updated 2 years ago by Tamarine

docker stop vs docker kill

Docker

Docker stop This provides a graceful way of exiting the container. it will sent a SIGTERM to the...

Updated 2 years ago by Tamarine

Why does my container immediately exits?

Docker

Containers are not like virtual machines Each docker contain have a main process that is run via...

Updated 2 years ago by Tamarine

Virtualization vs Containers

Docker

Virtualization and virtual machines Virtualization is the process where a software called hyperv...

Updated 2 years ago by Tamarine

Java Nested Class

Java

Updated 2 years ago by Tamarine

AWS CloudWatch Metrics

AWS Solution Architect Notes

Metric A metric is just a time-ordered set of data points being sent to CloudWatch so that you c...

Updated 2 years ago by Tamarine

Compile time and runtime dependency

Java Maven

Problem There was bunch of dependency that older version of spring-boot includes as compile time...

Updated 2 years ago by Tamarine

Fun Annotation Notes

Spring and Spring Boot

@ComponentScan + @Component During Spring initialization the class that is marked with @Componen...

Updated 2 years ago by Tamarine

Select Statement

SQL

The Select Statement Depending on the DBMS, the select statement can pack in it a lot of optiona...

Updated 2 years ago by Tamarine

Embed Modules

Go / Golang

Embed Module This module is a super duper cool module in the sense that you are able to pack sta...

Updated 2 years ago by Tamarine

Introduction: Hello World, values, and variables

Go / Golang Go with Examples

Go code layouts A Go project is also called a module. A module is just a collection of packages....

Updated 2 years ago by Tamarine

If/else

Go / Golang Go with Examples

If/else If else is very similar to C except you just take out the parenthesis. func main() { ...

Updated 2 years ago by Tamarine

Spring Injection Order

Spring and Spring Boot

First of all don't mix and match injection for your fields If you are going to let Spring do you...

Updated 2 years ago by Tamarine

Upstream vs Downstresam API

General Programming Principal

All this discussion is relative based on an API that uses another API and that API is being used ...

Updated 2 years ago by Tamarine

Structs exported fields

Go / Golang

Exported structs and fields Like functions if you would like to export a struct from a package f...

Updated 2 years ago by Tamarine

grep, awk, sed family tool

Bash Shell

Grep Global Regular Expression Pattern With grep you can do simple text-based or regular expres...

Updated 2 years ago by Tamarine

Difference between single (' ') quote vs double (" ") quote

Bash Shell

Single Quote Using single quote in bash script will preserve the literal value of each character...

Updated 2 years ago by Tamarine

Lifecycle, Phases, goals, and Plugins?!

Java Maven

Maven Lifecycle Maven is a build automation tool at heart. It has three built-in lifecycle that ...

Updated 2 years ago by Tamarine

package, install, release, deploy phases

Java Maven

mvn package will construct your artifactory, i.e. a jar file and then place it in the current w...

Updated 2 years ago by Tamarine