docker

Go Cheatsheet

Introduction Go, also known as Golang, is a programming language created by Google. It is an open-source language known for its exceptional performance and efficiency. It is ideal for building server-side software, developer tools, and web applications. Due to its simplicity, Go is becoming increasingly popular for creating scalable and efficient web applications and microservices. Useful Links A Tour of Go Go repl Go Lang wiki Hello World! package main import "fmt" func main() { message := greetMe("world") fmt....

October 19, 2023 · 6 min · 1205 words · Adam
mysql

MySql Cheatsheet

Displaying Data -- Display available databases SHOW DATABASES; -- Display available tables in the current database SHOW TABLES; -- Display fields from a table / Describe table structure SHOW FIELDS FROM table / DESCRIBE table; -- Display the command used to create a specific table SHOW CREATE TABLE table; -- Display a list of active processes (queries) in the database SHOW PROCESSLIST; -- Terminate a running process with a specified number KILL process_number; Select Queries -- Select all columns from a specific table SELECT * FROM table; -- Select all columns from two tables (creates a Cartesian product) SELECT * FROM table1, table2; -- Select specific columns from two tables (creates a Cartesian product) SELECT column1, column2 FROM table1, table2; -- Select data from a table that meets a specified condition SELECT ....

July 22, 2023 · 8 min · 1658 words · Adam
docker

Docker Cheatsheet

What is Docker? Docker is a way to containerize applications (placing code in boxes that can operate independently). It magically creates a virtual computer, but in reality, these are not virtual machines. Containers are boxes that do not have a host operating system, so they are independent of the device they run on. Benefits: Isolation: Each container operates in a separate environment. Portability: Containers are independent of the environment. Scalability: Easy addition and removal of containers based on the workload....

July 21, 2023 · 4 min · 651 words · Adam