Recently Updated Pages
dumb-init for script
Problem So you got your command that you would like to run it using a docker container, problem ...
Quoting and Not Quoting Arguments
Word splitting Bash shell and zsh shell will scan results of Parameter expansion: $PATH Comm...
exec form vs shell form
Command forms RUN, ENTRYPOINT, and CMD are all directives to run a command in your Dockerfile. A...
DynamoDB Simple
Before We Begin AWS actually offers a local DynamoDB that you can set up and you can use theĀ --e...
DynamoDB Complex
Creating Table with Composite Key To create a table with composite key, it is the same process, ...
make vs new
Arry and Slices
Array An array can be declared with the following syntax: var <arr_name> [length]type For exam...
Switch Statement
Switch Statement Switch in Go is pretty nice, it function similar to the switch statement in C b...
exec form vs shell form PT.2
shell form The PID 1 is the shell, which will spawn the process that the program it is actually ...
RUN, CMD, ENTRYPOINT Directives
RUN The RUN directive is executed in a new layer, what does it mean? It is used to install packa...
docker stop vs docker kill
Docker stop This provides a graceful way of exiting the container. it will sent a SIGTERM to the...
Why does my container immediately exits?
Containers are not like virtual machines Each docker contain have a main process that is run via...
Virtualization vs Containers
Virtualization and virtual machines Virtualization is the process where a software called hyperv...
Java Nested Class
AWS CloudWatch Metrics
Metric A metric is just a time-ordered set of data points being sent to CloudWatch so that you c...
Compile time and runtime dependency
Problem There was bunch of dependency that older version of spring-boot includes as compile time...
Fun Annotation Notes
@ComponentScan + @Component During Spring initialization the class that is marked with @Componen...
Select Statement
The Select Statement Depending on the DBMS, the select statement can pack in it a lot of optiona...
Embed Modules
Embed Module This module is a super duper cool module in the sense that you are able to pack sta...
Introduction: Hello World, values, and variables
Go code layouts A Go project is also called a module. A module is just a collection of packages....