Recently Updated Pages
EC2 Fundamentals
Setting up billing alert If you would like your IAM user to also be able to set up billing alert...
IAM & AWS CLI
IAM: users and groups Identity and access management, it is also a global service because it is ...
Packages, Crates, and Modules
Crate The smallest unit that the Rust compiler will work with. When you run rustc some_file.rs t...
Object reference vs pointer
Pointer variable Let's start from the beginning, computer memory location are layered out in add...
Promises and promise chaining
Time before promise, callbacks There are entities in JavaScript that let you schedule asynchrono...
Classes in JavaScript
Class basic syntax Besides using a constructor function there is a more advance object oriented ...
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...