A few scripts and programs


Here I share a few scripts/programs that I developed out of interest and are not copyright by my employer (or previous employers).

* Canadian Citizenship test practice A java applet to help you practice for the Canadian citizenship test

* wingrep A windows program for grepping a regular expression from files. C++ Source code available on request.

* blackjack Source code of the blackjack game (in C++). It's a simple program, but this question comes up frequently from beginners learning an object oriented programming language.

* rpt_shell An interactive shell based interface for parsing primetime timing reports (written in perl). 

Usage :

> rpt_shell.pl
 
This would start a shell with this prompt
# Load somerpt.rpt into memory with id 1
rpt_shell> load 1 somerpt.rpt

# Load some other report into memory with id another (note that this is zipped)
rpt_shell> load another anotherrpt.rpt.gz

# Report the qor (wns, number of paths) of the report 'another'
rpt_shell> qor another

# Report the slack histogram of 1
rpt_shell> histo 1

* recurse A bash shell script template to do some action on files while recursively traversing through directories.

HOME
Email Aziz