creditcard
CreditCard Validator 1.8
The CreditCard Validator will help you tell: (1) if a credit card number is valid (2) which credit card vendor handles that number. It validates the prefix and the checkdigit. It does *not* contact the credit card company to ensure that number has actually been issued and that the account is in good standing. It will also tell you which of the following credit card companies issued the card: Amex, Diners Club, Carte Blanche,Discover... more>>
CreditCard Validator - The CreditCard Validator will help you tell:
1. if a credit card number is valid,
2. which credit card vendor handles that number.
It is a simple Applet to demonstrate the use of the ValidateCreditCard class.
It validates the prefix and the checkdigit. It does *not* contact the credit card company to ensure that number has actually been issued and that the account is in good standing.
It will also tell you which of the following credit card companies issued the card: Amex, Diners Club, Carte Blanche, Discover, enRoute, JCB, MasterCard or Visa.
ATM cards use a different secret scheme which this program does not handle. Unfortunately, there is not even a reliable way to tell an ATM card from a credit card just by the number.
It is primarily designed to be included in your own Java program, though it can be used standalone or as an Applet.
To install, Extract the zip download with Winzip, available from http://www.winzip.com (or similar unzip utility) into any directory you please, often C: -- ticking off the (user folder names) option. To run as an application, type:
java -jar C:commindprodcreditcardcreditcard.jar
adjusting as necessary to account for where the jar file is.
You must have Java version 1.1 or later installed to use this package.
See http://mindprod.com/jgloss/installingjava.html for details.
Enhancements:
Version 1.8
convert to JDK 1.5. simplify code using enum.
System Requirements:<<less
Google::Adwords::CreditCard 0.6.0
Google::Adwords::CreditCard is a Google Adwords CreditCard object. more>>
This object should be used with the AccountService API calls.
METHODS
Mutators (read/write)
- cardNumber
- cardType
- cardVerificationNumber
- expirationMonth
- expirationYear
- issueNumber
- startMonth
- startYear
- status
- taxNumber
Revelation 0.4.11
Revelation is a password manager for the GNOME 2 desktop, released under the GNU GPL license. more>>
Main features:
- Secure storage of passwords - uses an AES-encrypted XML data file with Cipher Block Chaining and compression for randomization.
- Uses a tree-structure for organizing accounts, making it easy to handle a large number of accounts.
- Support for importing data from / exporting data to foreign file formats. Currently supported: Figaros Password Manager, GNOME Password Manager (gpass), .netrc, XML, and plain text
- Can access remote files via gnome-vfs
- Has many different account types, covering the most common ones: creditcard, crypto key, database, door lock, email, ftp, generic, phone, shell, and website
- GNOME-integrated; uses the gnome session manager, the gnome icon theme, gnome-vfs, gconf, and registers file mimetype info for Nautilus.
- User-friendly: Drag/drop of entries, unlimited undo/redo good clipboard usage, HIG-compliant user interface, and more
- Account search
- Built-in password generator and password strength checker
Bundle::Knetrix 1.0
Bundle::Knetrix is a Perl bundle to install all Knetrix required modules. more>>
SYNOPSIS
perl -MCPAN -e install Bundle::Knetrix
CONTENTS
Apache AutoLoader Business::CreditCard Carp Class::Delegation Class::MakeMethods::Composite::Hash Compress::Zlib Crypt::TripleDES Cyrus::SIEVE::managesieve Data::Dumper DBI Digest::MD5 DynaLoader Email::Valid Error Exporter ExtUtils::MakeMaker File::Spec Geo::PostalCode HTML::Entities HTML::Parser Image::Size Image::Thumbnail IO::Scalar IPC::Shareable IPC::SysV Log::Log4perl Mail::IMAPClient Mail::IMAPClient::BodyStructure MIME::Base64 MIME::Decoder Number::Format PDF::Template POSIX Storable Switch Symbol Template Term::ANSIColor Tie::Hash::Expire Time::HiRes Time::Local URI::Escape URI::Find::Schemeless XML::Simple XML::XPath
head1 DESCRIPTION
This bundle defines modules, required by Knetrix.
Google::Adwords::AccountService 0.6.0
Google::Adwords::AccountService is a Perl module to interact with the Google Adwords AccountService API calls. more>>
SYNOPSIS
use Google::Adwords::AccountService;
use Google::Adwords::AccountInfo;
use Google::Adwords::CoverageType;
use Google::Adwords::EmailPromotionsPreferences;
use Google::Adwords::CreditCard;
use Google::Adwords::Address;
my $service = Google::Adwords::AccountService->new();
# login to the Adwords server
$service->email($email)
->password($password)
->clientEmail($cemail)
->applicationToken($app_token)
->developerToken($dev_token);
# getAccountInfo
my $account = $service->getAccountInfo();
print "currencyCode : " . $account->currencyCode . "n";
print "descriptiveName : " . $account->descriptiveName . "n";
# getClientAccounts
my @emailaccounts = $service->getClientAccounts();
print "getClientAccounts : " . join(|, @emailaccounts) . "n";
# getCreditCard
my $creditcard = $service->getCreditCard();
# setLoginInfo
my $ret_setlogininfo= $service->setLoginInfo(email@example.com, toto);
# setLocalTimezone to brrr ...
my $ret_setlocaltimezone = $service->setLocalTimezone(America/Anchorage);
# setCreditCard
my $cc = Google::Adwords::CreditCard->new
->cardNumber(12345678912346)
->cardType(VISA)
->cardVerificationNumber(123)
->expirationMonth(1)
->expirationYear(2008);
my $addr = Google::Adwords::Address->new
->addressLine1(down the street)
->city(Paris)
->companyName(Up there)
->countryCode(FR)
->emailAddress(me@example.com)
->name(Up there)
->phoneNumber(+33112345678)
->postalCode(75020);
my $ret_setcreditcard = $service->setCreditCard($cc, $addr);
# createAdWordsAccount
my $emailPrefs = Google::Adwords::EmailPromotionsPreferences->new
->marketResearchEnabled(1)
->newsletterEnabled(1)
->promotionsEnabled(0);
my $covType = Google::Adwords::CoverageType->new
->optInContentNetwork(0)
->optInSearchNetwork(1);
my $ret = $service->createAdWordsAccount({
loginEmail => $loginEmail,
password => $password,
languagePreference => $lgPref,
emailPrefs => $emailPrefs,
currencyCode => $curCode,
cardInfo => $creditcard,
contactInfo => $address,
defaultAdsCoverage => $covType,
timeZoneId => $timeZoneId
});
# updateAccountInfo
$account->primaryBusinessCategory(Advertising, Marketing, SEO);
my $ret_updateaccountinfo = $service->updateAccountInfo($account);
This module provides an interface to the Google Adword AccountService API calls.
Data::Type 0.01.04
Data::Type is a Perl module with versatile data and value types. more>>
SYNOPSIS
use Data::Type qw(:all);
use Error qw(:try);
try
{
verify $email , EMAIL;
verify $homepage , URI(http);
verify $cc , CREDITCARD( MASTERCARD, VISA );
verify $answer_a , YESNO;
verify $gender , GENDER;
verify one , ENUM( qw(one two three) );
verify [qw(two six)], SET( qw(one two three four five six) ) );
verify $server_ip4 , IP(v4);
verify $server_ip6 , IP(v6);
verify A35231AH1 , CINS;
verify 14565935 , ISSN;
verify DE , LANGCODE;
verify German , LANGNAME;
verify 012345678905, UPC();
verify 5276440065421319, CREDITCARD( MASTERCARD ) );
verify ATGCAAAT , BIO::DNA;
verify AUGGGAAAU , BIO::RNA;
verify 01001001110110101, BINARY;
verify 0F 0C 0A, HEX;
verify 0 , DEFINED;
verify 234 , NUM( 20 );
verify 1 , BOOL( true );
verify 100 , INT;
verify 1.1 , REAL;
my $foo = bless( 123, SomeThing );
verify $foo , REF;
verify $foo , REF( qw(SomeThing Else) );
verify [ bar ] , REF( ARRAY );
verify x 20 , VARCHAR( 20 );
verify 2001-01-01 , DATE( MYSQL );
verify 16 Nov 94 22:28:20 PST , DATE( DATEPARSE );
verify 9999-12-31 23:59:59, DATETIME;
verify 1970-01-01 00:00:00, TIMESTAMP;
verify -838:59:59 , TIME;
verify 2155 , YEAR;
verify 69 , YEAR(2);
verify 0 x 20 , TINYTEXT;
verify 0 x 20 , MEDIUMTEXT;
verify 0 x 20 , LONGTEXT;
verify 0 x 20 , TEXT;
verify 80 , PORT;
verify www.cpan.org, DOMAIN;
}
catch Type::Exception with
{
my $e = shift;
printf "Expected %s %s at %s line %sn",
$e->value,
$e->type->info,
$e->was_file,
$e->was_line;
foreach my $entry ( testplan( $e->type ) )
{
printf "texpecting it %s %s ", $entry->[1] ? is : is NOT, $entry->[0]->info();
}
};
# believe it or not, this really works
foreach ( EMAIL, WORD, CREDITCARD( MASTERCARD, VISA ), BIO::DNA, HEX )
{
print $_->info;
print $_->usage;
print $_->export; # does it have other names
print $_->param; # what are my choice i.e. [yes,no]
print $_->isa( IType::Business ); # is it a Business related type ?
print $_->VERSION; # first apperance in Data::Type release
}
# tied interface (alias typ)
try
{
typ ENUM( qw(DNA RNA) ), ( my $a, my $b );
print "a is typed" if istyp( $a );
$a = DNA; # $alias only accepts DNA or RNA
$a = RNA;
$a = xNA; # throws exception
untyp( $alias );
}
catch Type::Exception ::with
{
printf "Expected %s %s at %s line %sn",
$e->value,
$e->type->info,
$e->was_file,
$e->was_line;
};
dverify( $email, EMAIL ) or die $!;
my $g = Data::Type::Guard->new(
allow => [ Human, Others ], # blessed objects of that type
tests =>
{
email => EMAIL( 1 ), # mxcheck ON ! see Email::Valid
firstname => WORD,
social_id => [ NUM, VARCHAR( 10 ) ],
contacts => sub { my %args = @_; exists $args{lucy} },
}
);
$g->inspect( $h );
# compact version
overify { email => EMAIL( 1 ), firstname => WORD }, $object_a, $object_b;
print toc();
print catalog();
This module supports versatile data and value types. Out of the ordinary it supports parameterised types (like databases have i.e. VARCHAR(80) ). When you try to feed a typed variable against some odd data, this module explains what he would have expected.
- Page: 1 of 1
- 1