The code below was used to generate the video countdown timers that are available in the following playlist using ffmpeg. These counters show seconds and fractions of seconds only. They do not bother with formating for minutes nor hours, etc. #!/bin/bash # This code will create a countdown video. #…
The following methods demonstrate different methods on how to compute the time a potion of code or script take to complete their execution. [download id="2158"] Method 1 - Using date The following example will calculate the execution time in seconds by subtracting the system date and time in seconds…
The following examples allow you to convert hexadecimal values of the format 0xYYYYYY to decimal using a spreadsheet editor like Calc or Excel. The following codes will remove the first two characters (the value 0x) of the cell B2 and then convert the result to decimal using the HEX2DEC function.…