Last updated November 3rd, 2003

Here is a list of some of the scripts that I have written to do odd things here and there. Chances are, most of them are written in perl. Most of them are also specific to my environment/needs so you may need a little bit of editing to get them to work.

Google Search Appliance

grablog_mini.pl - This perl script can be run from a cron job (or included from another script) to automatically log into a mini google search appliance and download the log file. Written by Justin Greer (Version 1.0 - 7.5Kb)

getlog40.pl - This perl script can be run from a cron job (or included from another script) to automatically log into a google search appliance (GB-1001 version 4.x) and download the log file for a specific collection. (Version 1.0 - 6.1Kb)

grablogfile.pl - This perl script can be run from a cron job (or included from another script) to automatically log into a google search appliance (GB-1001 version 3.x) and download the log file for a specific collection. (Version 1.3 - 5.4Kb)

updatekeymatch.pl - This perl script can be run from a cron job to automatically log into a google search appliance (GB-1001 version 3.x) and update its keymatch keywords. The csv file of the keymatches must be available to the appliance via http. You specify the url the appliance should import the keymatches from. Note: this will overwrite all your previous keymatches! (Version 1.0 - 3.3Kb)

zeroresults.pl - This script will parse a GSA log file and generate a text file that contains all the search terms inputted by users that returned no results (in alphabetical order). You can use grablogfile.pl (see above) to retreive the log file. (Version 1.0 - 1.6Kb)

backupconfig.pl - This script will save the collection configuration to a file on the local system. This is handy for automated backups of the GSA's config. Use cron to take daily or hourly snapshots! (Version 1.0 - 3.3Kb)


McAfee Virus Scanner for Freebsd

update-dat.pl - This perl script retreives the latest DAT version. You can then use cron to run update_dat shell script to automatically download the new dat gzip file and extract it. Take a look at update_dat.sh below.(Version 1.0 - 186B)

update_dat.sh - This shell script downloads and extracts the latest dat tar.gz file. update-dat.pl (above) needs to be in the same directory for this script to work. This script can also be invoked via cron, as it only downloads the tar.gz if there is a new version. (Version 1.0 - 691B)


BBC News Website

getbbcnews.pl - This perl script loads the bbc text only news home page and downloads the top 5 world news items. It then displays them in an html format: Hyperlink Title, new line, Slug (story intro). This script is dependant on the look and feel of the website, if it changes, this script will break. (Version 1.0 - 2.1KB)




ING & TD CanadaTrust Web Banking

getaccountbalanceTD.pl - This perl script fetches your account balance from your TD Canada Trust web banking account. It logs in and does everything over SSL so this script isn't any less secure than your browser. It is, however, customized for the way my banking screen looks like, so the parser may not work for you. (Version 1.0 - 5.2Kb)

getaccountbalanceING.pl - This perl script fetches your account balance from your ING Direct banking account (Canadian version). It logs in and does everything over SSL so this script isn't any less secure than your browser. It is, however, customized for the way my banking screen looks like, so the parser may not work for you. (Version 1.0 - 2.8Kb)