08, Aug 2024

2024-08-01

  • golang learnings: functions, variables, short hand initialization, type inference, type conversion, loops, conditional statements, switch statements

  • topology in networks- star,mesh,bus, point to point,ring

  • concept of repeaters for efficient transfer of data

  • RARP: RARP, requesting an IP address when the input is the physical MAC address, this is replaced by DHCP, Dynamic Host Control Protocol.

2024-08-02

Golang

  • defer: keyword defers the execution of the statement until the surrounding function returns, these statements are evaluated immediately but not executed until the surrounding function returns.

multiple defer statements are executed in stack wise, the last defer statement is executed first

2024-08-04

  • git hooks, scripts like pre-receive, pre-push, post-push.. etc, sample scripts are located within .git/hooks directory

  • .tif stands for tag image format is a format used by graphic artist or photographers, which is similar to .png and .jpg

2024-08-05

golang

  • address of operator &

  • dereference operator *

  • structs are collection of fields

  • structs and pointers.

  • grep stands for global/regular expression search/print