© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Victor Yang|
look up personal/home address from a phone number (US & Canada)
usage: ryp.py -s sendmail.your.com -e email@example.com -p 416-345-3432
it has built in email & phone # validation.
The phone number can take most common format.
This code snippet shows how to kich off a performance data gathering shell script with telnetlib and download the data back to a local workstation with ftplib.
"desc.py scott/tiger order " will list the column info for table "order".
"desc.py scott/tiger@production order " will list the column info for table "order" of tns name "production".
This recipe shows how to use pypcap and dpkt to monitor network traffic and grep with regular expression. Python 2.3 up required
It is running as a cronjob on a VPS(Virutal Private Server). The output html can be served by any web server.
The following code snippet can be used as daily crontab or windows scheduled task to watch the foreign exchange rate from BankOfCanada web site.
The file format is not fancy XML but a simple CSV for noon rate for last 5 days.
Convert decimals to Roman numerials.
I use a recursive algorithm here since it reflects the thinking clearly in code.
A non-recursive algothrithm can be done as well.
Use Jython to time java code. An inexpensive solution to measure Java code's performance. In the following example, jtimeit.py is created to measure Main.doHttpGet()'s performance. Used google and yahoo as examples.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.