Category: programming languages
The following BASH script uses the ping command and computes the average PING to a domain via awk text processing. #!/bin/bash if ]; then echo Usage: $0 domain exit …
In WordPress, you can add a short code that allows you to include a PHP File at your post. First, add the following function in your child theme’s functions.php …
Let’s design a data stream that takes a bit either 1 or 0, and then returns true/false to indicate that the integer (constructed by the bits so far) is …
April 24, 2021
AWK, awk, AWK programming, BASH, bash script, BASH Shell, batch script, linux, Shell Scripts, ubuntu
Disk high usage are one of the common cause of server down. Some administrators would create a 8GB empty file, and once the disk usage is exceeding a threshold, …
Teaching Kids Programming: Videos on Data Structures and Algorithms There is an undirected star graph consisting of n nodes labeled from 1 to n. A star graph is a …