Recently Updated Pages
All about prototypes
Prototype inheritance Every object have a special hidden property [[Prototype]] it is either nul...
Miscellaneous function topics
Rest parameters and spread syntax How do we make a function take in an arbitrary number of argum...
yaml and JSON
JSON Javascript object notation, is a serialization language that converts complicated objects l...
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...