Skip to main content

Recently Updated Pages

dumb-init for script

Docker

Problem So you got your command that you would like to run it using a docker container, problem ...

Updated 2 years ago by Tamarine

Quoting and Not Quoting Arguments

Bash Shell

Word splitting Bash shell and zsh shell will scan results of Parameter expansion: $PATH Comm...

Updated 2 years ago by Tamarine

exec form vs shell form

Docker

Command forms RUN, ENTRYPOINT, and CMD are all directives to run a command in your Dockerfile. A...

Updated 2 years ago by Tamarine

DynamoDB Simple

AWS Solution Architect Notes

Before We Begin AWS actually offers a local DynamoDB that you can set up and you can use theĀ --e...

Updated 2 years ago by Tamarine

DynamoDB Complex

AWS Solution Architect Notes

Creating Table with Composite Key To create a table with composite key, it is the same process, ...

Updated 2 years ago by Tamarine

make vs new

Go / Golang

Updated 2 years ago by Tamarine

Arry and Slices

Go / Golang Go with Examples

Array An array can be declared with the following syntax: var <arr_name> [length]type For exam...

Updated 2 years ago by Tamarine

Switch Statement

Go / Golang Go with Examples

Switch Statement Switch in Go is pretty nice, it function similar to the switch statement in C b...

Updated 2 years ago by Tamarine

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