Skip to main content

Recently Updated Pages

All about prototypes

NodeJs/JavaScript JavaScript Roadmap Journey

Prototype inheritance Every object have a special hidden property [[Prototype]] it is either nul...

Updated 1 year ago by Tamarine

Miscellaneous function topics

NodeJs/JavaScript JavaScript Roadmap Journey

Rest parameters and spread syntax How do we make a function take in an arbitrary number of argum...

Updated 1 year ago by Tamarine

yaml and JSON

NodeJs/JavaScript

JSON Javascript object notation, is a serialization language that converts complicated objects l...

Updated 1 year ago by Tamarine

dumb-init for script

Docker

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

Updated 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago by Tamarine

make vs new

Go / Golang

Updated 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago by Tamarine

Virtualization vs Containers

Docker

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

Updated 1 year ago by Tamarine

Java Nested Class

Java

Updated 1 year 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 1 year 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 1 year ago by Tamarine

Fun Annotation Notes

Spring and Spring Boot

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

Updated 1 year ago by Tamarine