Books, Cats, Tech

"Everything that moves serves to interest and amuse a cat." — F.A. Paradis Moncrif

Vicki Brown

My home on the WWW
Est: 1994

Email: vlb@cfcl.com
Home

More About Me

Lifestream

Projects

Sample Code
  • XML
  • Perl
  • Web (CGI)
  • Shell
  • MacPerl

I enjoy creating data filters, small tools, and web scripts. Since 1995, I have done most of my programming in Perl, although I have begun using PHP as well.

XML

    Ostensible Markup Language - Like XML but without the DTD :-)
    start here

Perl

    newuser.cgi
    Add a new user (CGI script)

    moldysessions.pl
    Find old, lost telnet sessions.

    poppassd.pl
    Change POP password (e.g. if using Eudora or similar POP mail program). POD Basics
    A primer for Perl's Plain Old Documentation format

    A sample module
    A sample module with POD documentation

Web (CGI)

    Weblog Automation

    • Weblog Posting via Script

      blogpost.pl
      Post an simple entry (title and body text) to an XML-RPC capable weblog (e.g. Movable Type, TypePad, WordPress). This script uses a configuration file to supply server URL, user name, password, etc.

      blogpost_wp.pl
      The simpler forerunner of blogpost.pl. This script defines the server, username and password within the script itself. Strip these out before sharing with someone else!!!

    • Weblog Notifications by Email

      blogrecent_entries.pl
      Get recent entries from an XML-RPC capable weblog Compose and send notifications to a configured email address.

    • Config File

      A sample configuration file for use with blogpost.pl and blogrecent_entries.pl.

    Contact Management

    The following scripts manage a flatfile Contacts database for an alumni mailing list. The database is actually a directory of files, one file per entry.

    • list_contacts.cgi
      List entries in "Contacts database".

    • check-reg.cgi
      Check for and update registration information in Contacts "database"

Shell

    my_ssh
    Mac OS X script - run ssh to a remote host and change the color of the Terminal window. Uses settitle (below)

    settitle
    Script using Xterm control sequence to set Terminal window title.

    pdscript
    Script to do nicer pushd/popd in Csh.

    rm?
    Replacement for rm -i

    uhl
    Script to build a uniqued history list

    rename
    Rename files ~ ala VMS.

MacPerl

    killVCF.macperl
    Search for and destroy .vcf card attachments in Eudora Attachments folder.