Main > Free Download Search >

Free columbus libraries.org software for linux

columbus libraries.org

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3
WWW::Mechanize::Examples 1.30

WWW::Mechanize::Examples 1.30


WWW::Mechanize::Examples is a Perl module with sample programs that use WWW::Mechanize. more>>

SYNOPSIS

Plenty of people have learned WWW::Mechanize, and now, you can too!
Following are user-supplied samples of WWW::Mechanize in action.

You can also look at the t/*.t files in the distribution.

Please note that these examples are not intended to do any specific task. For all I know, theyre no longer functional because the sites they hit have changed. Theyre here to give examples of how people have used WWW::Mechanize.

Note that the examples are in reverse order of my having received them, so the freshest examples are always at the top.

Starbucks Density Calculator, by Nat Torkington

Heres a pair of scripts from Nat Torkington, editor for OReilly Media and co-author of the Perl Cookbook.

Rael [Dornfest] discovered that you can easily find out how many Starbucks there are in an area by searching for "Starbucks". So I wrote a silly scraper for some old census data and came up with some Starbucks density figures. Theres no meaning to these numbers thanks to errors from using old census data coupled with false positives in Yahoo search (e.g., "Dodie Starbuck-Your Style Desgn" in Portland OR). But it was fun to waste a night on.

Here are the top twenty cities in descending order of population, with the amount of territory each Starbucks has. E.g., A New York NY Starbucks covers 1.7 square miles of ground.

New York, NY 1.7
Los Angeles, CA 1.2
Chicago, IL 1.0
Houston, TX 4.6
Philadelphia, PA 6.8
San Diego, CA 2.7
Detroit, MI 19.9
Dallas, TX 2.7
Phoenix, AZ 4.1
San Antonio, TX 12.3
San Jose, CA 1.1
Baltimore, MD 3.9
Indianapolis, IN 12.1
San Francisco, CA 0.5
Jacksonville, FL 39.9
Columbus, OH 7.3
Milwaukee, WI 5.1
Memphis, TN 15.1
Washington, DC 1.4
Boston, MA 0.5

<<less
Download (0.10MB)
Added: 2007-07-20 License: Perl Artistic License Price:
828 downloads
WWW::Search::Yahoo 2.405

WWW::Search::Yahoo 2.405


WWW::Search::Yahoo is a Perl backend for searching www.yahoo.com more>>
WWW::Search::Yahoo is a Perl backend for searching www.yahoo.com

SYNOPSIS

use WWW::Search;
my $oSearch = new WWW::Search(Yahoo);
my $sQuery = WWW::Search::escape_query("sushi restaurant Columbus Ohio");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
print $oResult->url, "n";

This class is a Yahoo specialization of WWW::Search. It handles making and interpreting Yahoo searches http://www.yahoo.com.

This class exports no public interface; all interaction should be done through WWW::Search objects.

<<less
Download (0.027MB)
Added: 2006-12-12 License: Perl Artistic License Price:
1049 downloads
diskfree 2.1.0

diskfree 2.1.0


diskfree is a sh-based util for monitoring disk usage with email reporting. more>>
diskfree project is a shell script designed to be run periodically from cron to let you know how much disk space youve used, what directories have grown, which directories have shrunk, etc.
Installing
1. If you have Bash installed, then edit line 1 and point it to Bash. If you dont have Bash installed, but have the Korn shell installed, edit line 1 and point it to that (typically #!/bin/ksh).
2. Decide which directories you want reported on or if youre paranoid, remember to use the -p option. If you want something other than the default then use the -d option
3. Decide who should get the report. If it should go to root, dont do anything. If it goes to someone else, use the -m option (-m someone@somewhere.net)
4. Decide where you want the files this script creates to be put. If /tmp is OK with you, do nothing. If you want them elsewhere use the -l option (-l /var/log)
5. Decide how frequently you want the report run (daily, weekly, monthly, etc) If you want it run daily, then create on entry in your crontab like:
00 00 * * * /some/path/diskfree
If you want to run it monthly as well, I suggest you also add this to crontab:
00 02 01 * * /some/path/diskfree -e monthly
And quarterly would appear in crontab like:
00 04 01 */4 * /some/path/diskfree -e quarterly
6. Save your crontab.
7. Copy diskfree.8 /usr/man/man8
8. Wait for the script to run TWICE, then check your email and review the report
9. Send comments, bugs, suggestions to dhunley@columbus.rr.com
Enhancements:
- Altered the output to put the df output first and the details second.
<<less
Download (0.012MB)
Added: 2005-04-07 License: GPL (GNU General Public License) Price:
1668 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1