eh?
# **!/bin/bash**
end=$((SECONDS+300))
mkdir -p samay
cd samay
while [ $SECONDS -lt $end ]; do
# Do what you want.
touch $(date "+%F-%T")_file.txt
sleep 60
aws s3 sync ../samay s3://gaddagi-testing-files/ --region ap-south-1
:
done
# **!/bin/bash**
end=$((SECONDS+300))
mkdir -p samay
cd samay
while [ $SECONDS -lt $end ]; do
# Do what you want.
touch $(date "+%F-%T")_file.txt
sleep 60
aws s3 sync ../samay s3://gaddagi-testing-files/ --region ap-south-1
:
done
uint = unsigned integer, no negative numbers. Range is 0 to a very large positive number. var x int // -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 var x uint64 // 0 to 18,446,744,073,709,551,615 In a commit log specifically:
Let's understand this with log structure example. A commit log is just an append-only slice // at its heart, this is all a log is type Log struct { records []string } func (l *Log) Append(record string) { l.records = append(l.records, record) } func (l *Log) Read(index int) string
Array: fixed, value type arr := [3]int{10, 20, 30} // size is part of the type * Fixed size, decided at compile time. [3]int and [4]int are different types. * Value semantics when you assign or pass to a function, the whole array is copied. * Rarely used directly in production
The 7 Layers of the OSI Model #LayerFunctionCommon Protocols / Tools7ApplicationWhere users and software interactHTTP, HTTPS, DNS, SSH, SMTP, FTP, SNMP, etc.6PresentationTranslates, encrypts, and formats dataSSL/TLS, MIME, JSON, ASCII, JPEG5SessionStarts, manages, and ends sessionsTCP session, NetBIOS, RPC4TransportEnsures data delivery (error checking, retransmission)TCP, UDP, SCTP3NetworkHandles routing and addressing between