Search
New Code
dbForge Studio for PostgreSQL 2.3.212
HTMLPad 2020 16.2
WeBuilder 2020 16.2
Rapid CSS 2020 16.2
Rapid PHP 2020 16.2
C# HTML to PDF 2020.8.1
Flowrigami 1.0.0.1
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Top Code
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
Code Listing by Victor Yang

Code 1-8 of 8   






look up personal/home address from a phone number (US & Canada)
usage: ryp.py -s sendmail.your.com -e dude@your.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
pypcap: http://code.google.com/p/pypcap/
dpkt: http://code.google.com/p/dpkt/



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.