Press "Enter" to skip to content

Posts published in “Dev”

Install Terraform on Ubuntu 24.04

What is Terraform? Terraform is an open-source Infrastructure as Code (IaC) tool used for automating the management and configuration of cloud services and infrastructure. It…

HOW-TO Build CICD with Gitlab

Pre-Check I will guide you to build a CICD pipeline on your private Gitlab environment. We will deploy the index.html on node1 /var/www/html. In this…

HOW-TO use Github to setup your 1st CICD

Some background GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You…

Golang Basic 8 - Pointer

Golang Basic 8 - Pointer Pointer A pointer holds the memory address of a value. Declear Pointers in Golang are very similar to pointers in…

Golang Basic 7 - Function

Golang Basic 7 - Function Function Function Declear A function can take zero or more arguments. Notice that the type comes after the variable name.…

Golang Basic 4 - Basic Operators

Golang Basic 4 - Basic Operators Arithmetic Operators Operators Operator Sense Description Sample Result Addition The ‘ ’ operator adds two operands. 3 2 5…

Golang Basic 6 - Basic for loop

Golang Basic 6 - Basic for loop for loop Go has only one looping construct, the for loop. The basic for loop has three components…

Golang Basic 5 - If statement

Golang Basic 5 - If statement if if statement if boolVal{ // if boolVal is true, run this code block. } Sample root@go:l5/ # cat…

Golang Basic 3 - Basic I-O functions

Golang Basic 3 - Basic I/O functions About fmt package Package fmt implements formatted I/O with functions analogous to C's printf and scanf. The format…