various utilities for personal use
munges_wiki_page.py source.html >target.html
Sample source.html is:
<pre>[douglas@coogee]$ sqlplus / as sysdba
blah, blah
SQL> SELECT * FROM dual;
</pre>
The target html will have three (3) main sections:
- Overview with an empty paragraph
- References with entries for any commands used
- Procedure with each command highlighted with its own heading, code block, and text block.
Does a git pull
in all local GIT repositories that can be found from my home directory.
Calculates the difference between the change and access times for a file. This assumes that the only access was done on file creation.
Sample usage:
get_run_time_from_log_file logs/JAR_DG/JAR_DG_2020_10_30G.log
The sample output is:
0d 0h 16m 47s
To create the executable, run:
make get_run_time_from_log_file