Home page Contact information List of services provided Automation details Perl, Shell, IDL code examples Professional and personal experience Weblog Charities We Support Miscellaneous Info and Links

Code - Perl and Shell
Custom Visuals, LLC has developed source code in several programming languages for a variety of projects. This page is aimed at the geeks among us. Those with coordinated clothing and good hygiene may want to check out a different part of the site. The following source code is available for ideas and examples, as well as stand-alone applications in some instances. Please take a look at the software code and use it for whatever you'd like. Feel free to ask questions about any of it. If you make improvements to the software code, please let me know so I can make any changes to the examples.

If you are looking for usage examples of a particular command, such as grep or cron, you can visit the skills page. It provides a glossary of commands with links to the programs that have examples of their usage.
Perl Code
Source Code Description Web Interface
cpSend.pl Send file to Custom Visuals' FTP server.  
PerlCompanies.pl Set up the Perl Companies local companies list. Perl Companies
pfDateCheck.pl Try to match dates in apache log files to specified postfix date.  
multiTextPage.pl Text file generator for high capacity MFP testing. Text file generator
multiWebPage.pl Color web page generator for high capacity MFP testing. Color web page generator
clusterLoad.pl Provide GUI for clusterLoad web page  
systemLoad.pl Provide GUI for systemLoad web page System Load
cfgNetFTP.pl Form input for netftp.cfg file. Configure Network FTP
WABook.pl Add new book entries.  
WABookAdd.pl Add comments to book recommendations  
WABookList.pl Show books as a table with URL's.  
WADream.pl Process Dream Entry submissions, post thanks, send email.  
WADreamView.pl View/Approve Dream Requests  
reportTraffic.pl Produce reports from ch_traffic DB.  
DTDaily.pl Automate daily reports for client website Daily Forecast
DTMonthly.pl Automate monthly reports for client website Monthly Forecast
DTEvent.pl Automate Event calendar for client website Event Calendar
load_LogProc.pl Load data into the LogProc DB tables.  
report_LogProc.pl Generate reports from LogProc DB.  
causalTable.pl Parse sales data and display it in chart and table format. Sales Info
header.pl STDOUT a CVS header block for Shell, Perl and SQL programs.  
Shell Code
Source Code Description
binlog.sh Extract specified data from MySQL binlog files.
dbDump.sh Dump specified databases to files.
dbOptimize.sh Run mysql's OPTIMIZE TABLE command on specified database(s).
rotateMySQLLogs.sh Rotate MySQL log files
cpCollect.sh Collect and send Capacity data.
cpInstall.sh Install the Capacity Planning files.
AddHeader Add RCS headers to beginning of specified files
EBMadd Create and execute command to format Browser files.
EBMdump Format SQL-generated file for use with TerraSoar application.
RCSlink Create links for managing RCS directories.
RCSsub Create RCS subdirectories within the specified directories.
StringCenter Center a string with an optional string length specifier.
ams1 Increment a counter as part of a filename.
autofind Create a gzip'd tar file of "newer" files.
backup Backup specified directories to specified locations.
ftpDump FTP files to the designated system and user account.
header Create header files for c, C, shell and IDL languages.
idlCount Count the number of lines in IDL files.
logFileCount Provide a running commentary on log file accesses.
logIns2Net_sh Convert Log files from Insight to Netscape format
mac2unix Convert Macintosh files to UNIX - MachTen Specific
mailascii Simplify mailing files to a specified user.
mailfile Simplify mailing files to a specified user.
makeHTMLTable Create a two-column HTML table from a list of files.
modNetrc Update the .netrc file to automate copying files via FTP.
mvFTPName Rename log files copied from WWW servers.
out2dat File conversion for Landsat DAT file format.
print.sh Print specified files using options
rgrep Recursive grep function.
rotateLog Rotate specified log files.
serverLink Make links in server directories for HTML files.
shrcp Shell program to run an rcp command.
switchfile Switch two filenames
tarBack Produce a tar file of the appropriate changed files.
unix2mac UNIX to Mac File conversion - MachTen specific.
viv Backup file before editing with vi.
webBack.sh Back up changed files to a tarball.

Home Contact Services Automation Code Background Weblog Charity Other

code.shtml was last updated on 12/17/06
representation-sticks