casey carlson
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 21
PASP 3a2
PASP is a Bayesian-like spam filter that can be used as a POP3 proxy. more>>
PASP is a Bayesian-like spam filter that can be used as a POP3 proxy.
You can run in two ways PASP.
1. Run pasp.py as a pop3 proxy and configure your pop3 email client to connect through pasp and insert a header for the email client to filter on.
2. There is support for procmail and .forward support through a script called by procmail, categorize the email (possibly inserting headers), then dropping it in a folder for
further processing by other mail software. This would allow for imap client support through server processing. Check the configuration file for support, and use classify.py to
do the work.
Enhancements:
- (fixed) a bug in which spam wouldnt be categorized at all if the new streaming support was turned on. oops.
- (fixed) a locking bug that had annoyed people for a while, which I had fixed for quite a while on the version I was using, but forgot to merge to the version everyone else was using, and has probably stopped many people from running PASP. Now fixed. On the one hand, its a miracle that it worked at all on my own machine, let alone on others.
<<lessYou can run in two ways PASP.
1. Run pasp.py as a pop3 proxy and configure your pop3 email client to connect through pasp and insert a header for the email client to filter on.
2. There is support for procmail and .forward support through a script called by procmail, categorize the email (possibly inserting headers), then dropping it in a folder for
further processing by other mail software. This would allow for imap client support through server processing. Check the configuration file for support, and use classify.py to
do the work.
Enhancements:
- (fixed) a bug in which spam wouldnt be categorized at all if the new streaming support was turned on. oops.
- (fixed) a locking bug that had annoyed people for a while, which I had fixed for quite a while on the version I was using, but forgot to merge to the version everyone else was using, and has probably stopped many people from running PASP. Now fixed. On the one hand, its a miracle that it worked at all on my own machine, let alone on others.
Download (0.034MB)
Added: 2006-07-08 License: GPL (GNU General Public License) Price:
1203 downloads
goocal 0.1
goocal provides a statusbar-addon that links to Google calendar. more>>
goocal provides a statusbar-addon that links to Google calendar.
Statusbar-Addon that links to google calendar. Really basic right now: left click opens it in current tab, middle click in new tab, and right click in new window.
Im hoping to add the login feature next, to stop my co-workers from pestering me!
<<lessStatusbar-Addon that links to google calendar. Really basic right now: left click opens it in current tab, middle click in new tab, and right click in new window.
Im hoping to add the login feature next, to stop my co-workers from pestering me!
Download (0.004MB)
Added: 2007-04-12 License: MPL (Mozilla Public License) Price:
927 downloads
ex::constant::vars 0.01
ex::constant::vars is a Perl pragma to create readonly variables. more>>
ex::constant::vars is a Perl pragma to create readonly variables.
SYNOPSIS
Using the tie() interface:
use ex::constant::vars;
tie my $pi, ex::constant::vars, 4 * atan2( 1, 1 );
tie my @family, ex::constant::vars, qw( John Jane );
tie my %age, ex::constant::vars, John => 27,
Jane => Back off!;
Using the const() function:
use ex::constant::vars const;
const SCALAR my $pi, 4 * atan2( 1, 1 );
const ARRAY my @family, qw( John Jane );
const HASH my %age, John => 27, Jane => Back off!;
Using import() for compile time creation:
use ex::constant::vars (
$pi => 4 * atan2( 1, 1 ),
@family => [ qw( John Jane ) ],
%age => { John => 27, Jane => Back off! },
);
<<lessSYNOPSIS
Using the tie() interface:
use ex::constant::vars;
tie my $pi, ex::constant::vars, 4 * atan2( 1, 1 );
tie my @family, ex::constant::vars, qw( John Jane );
tie my %age, ex::constant::vars, John => 27,
Jane => Back off!;
Using the const() function:
use ex::constant::vars const;
const SCALAR my $pi, 4 * atan2( 1, 1 );
const ARRAY my @family, qw( John Jane );
const HASH my %age, John => 27, Jane => Back off!;
Using import() for compile time creation:
use ex::constant::vars (
$pi => 4 * atan2( 1, 1 ),
@family => [ qw( John Jane ) ],
%age => { John => 27, Jane => Back off! },
);
Download (0.004MB)
Added: 2007-05-14 License: Perl Artistic License Price:
893 downloads
RIG (Random Identity Generator) 1.11
RIG is a program I wrote to replace a particularly poor closed-source unattributed public-domain implementation for MS-DOS. more>>
RIG is a program I wrote to replace a particularly poor closed-source unattributed public-domain implementation for MS-DOS. Essentially it gathers random selections of first and last names, location data, and street names, to assemble a fake name and address, complete with geographically consistant ZIP code, area code, state, and city name.
My implementation of fake is GPL, however its database belongs to whoever wrote the original implementation, or if that person remains unknown then I suppose it lies in the public domain. If you feel uncomfortable with this then please provide a new database. It shouldnt be too hard to create a new one.
Install should be pretty easy, just type "make install". If your system dosent
have /dev/urandom and youd like to use /dev/random instead, do
make install CFLAGS=-DDEVRANDOM
Enhancements:
- Fix compilation on some platforms. Thanks to many people for noticing these problems.
- Fix problems with the -m and -f options. Thanks to Casey Carter noticing this problem, and to the Debian developers (notably Norbert Veber and Aaron Lehmann ) for proposing a fix.
- Add an entry for Coward, SC.
- Make Biloxi area and ZIP codes match the same physical spot. Thanks to Chris Lawrence for noticing this.
<<lessMy implementation of fake is GPL, however its database belongs to whoever wrote the original implementation, or if that person remains unknown then I suppose it lies in the public domain. If you feel uncomfortable with this then please provide a new database. It shouldnt be too hard to create a new one.
Install should be pretty easy, just type "make install". If your system dosent
have /dev/urandom and youd like to use /dev/random instead, do
make install CFLAGS=-DDEVRANDOM
Enhancements:
- Fix compilation on some platforms. Thanks to many people for noticing these problems.
- Fix problems with the -m and -f options. Thanks to Casey Carter noticing this problem, and to the Debian developers (notably Norbert Veber and Aaron Lehmann ) for proposing a fix.
- Add an entry for Coward, SC.
- Make Biloxi area and ZIP codes match the same physical spot. Thanks to Chris Lawrence for noticing this.
Download (0.027MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
691 downloads
Deep Network Analyser 1.5 GA
Deep Network Analyser is an open, flexible, and extensible deep network analyzer server. more>>
DNA (Deep Network Analyser) is an open, flexible, and extensible deep network analyzer server and software architecture for passively gathering and analyzing network packets, network sessions, and applications protocols.
Deep Network Analyser project is designed to be used for Internet security, network management, intrustion detection, protocol and network analysis, information gathering, and network monitoring applications.
Main features:
- Extensible Java based network sensor (processing layers 2-7)
Configurable processing and output:
- Packet flows like Ethereal
- IP Flows like CISCO netflow
- Stateful Sessions (client/server flow pairs)
- Application protocol element output
- Configurable and extensible application protocol element parsing.
- Application protocol parsing toolkit APIs allows for new protocol parser to be easily developed and extended
- Targeting based full session capture facility, like a realtime targeted TCPDump.
- Flexible targeting from IPAddr, Port tuple to Application sensitive targeting.
- Configurable and extensible output forwarding (file, DB, Streams, JMS, RMI, etc.)
- Extensible realtime collection portable to many OS/Packet processing environments
Easily adaptable to packet processing environments:
- Specialized linux drivers mechanismon
- Network Appliances
- Network Switches / Routers
- Highly mutithreaded for increased performance over multi processor environments
Enhancements:
- Adoption of OpenAdaptor(tm) as the Output Adapter mechanism.
- Support for local-only administration.
- A new targeted packet capture parser, new run scripts, and a new install mechanism.
- Many bugfixes.
<<lessDeep Network Analyser project is designed to be used for Internet security, network management, intrustion detection, protocol and network analysis, information gathering, and network monitoring applications.
Main features:
- Extensible Java based network sensor (processing layers 2-7)
Configurable processing and output:
- Packet flows like Ethereal
- IP Flows like CISCO netflow
- Stateful Sessions (client/server flow pairs)
- Application protocol element output
- Configurable and extensible application protocol element parsing.
- Application protocol parsing toolkit APIs allows for new protocol parser to be easily developed and extended
- Targeting based full session capture facility, like a realtime targeted TCPDump.
- Flexible targeting from IPAddr, Port tuple to Application sensitive targeting.
- Configurable and extensible output forwarding (file, DB, Streams, JMS, RMI, etc.)
- Extensible realtime collection portable to many OS/Packet processing environments
Easily adaptable to packet processing environments:
- Specialized linux drivers mechanismon
- Network Appliances
- Network Switches / Routers
- Highly mutithreaded for increased performance over multi processor environments
Enhancements:
- Adoption of OpenAdaptor(tm) as the Output Adapter mechanism.
- Support for local-only administration.
- A new targeted packet capture parser, new run scripts, and a new install mechanism.
- Many bugfixes.
Download (12.3MB)
Added: 2006-01-09 License: GPL (GNU General Public License) Price:
1391 downloads
wmappl 0.71
wmappl is a simple scrolling application launcher for the WindowMaker dock. more>>
wmappl is a simple scrolling application launcher for the WindowMaker dock. It is loosely based off of WMButton by Edward Flora.
Given a list of programs and icons, wmappl displays up to six icons at a time. Scroll buttons or the mouse scroll wheel may be used to cycle through additional programs.
Installation:
The `configure shell script attempts to guess correct values for various system-dependent variables used during compilation.
It uses those values to create a `Makefile in each directory of the package. It may also create one or more `.h files containing system-dependent definitions.
Finally, it creates a shell script `config.status that you can run in the future to recreate the current configuration, and a file `config.log containing compiler output (useful mainly for debugging `configure).
It can also use an optional file (typically called `config.cache and enabled with `--cache-file=config.cache or simply `-C) that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.)
If you need to do unusual things to compile the package, please try to figure out how `configure could check whether to do them, and mail diffs or instructions to the address given in the `README so they can be considered for the next release.
If you are using the cache, and at some point `config.cache contains results you dont want to keep, you may remove or edit it.
The file `configure.ac (or `configure.in) is used to create `configure by a program called `autoconf. You only need `configure.ac if you want to change it or regenerate `configure using a newer version of `autoconf.
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system.
If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean.
There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
Enhancements:
- man/wmapplrc.5: updated for tooltip_font option
<<lessGiven a list of programs and icons, wmappl displays up to six icons at a time. Scroll buttons or the mouse scroll wheel may be used to cycle through additional programs.
Installation:
The `configure shell script attempts to guess correct values for various system-dependent variables used during compilation.
It uses those values to create a `Makefile in each directory of the package. It may also create one or more `.h files containing system-dependent definitions.
Finally, it creates a shell script `config.status that you can run in the future to recreate the current configuration, and a file `config.log containing compiler output (useful mainly for debugging `configure).
It can also use an optional file (typically called `config.cache and enabled with `--cache-file=config.cache or simply `-C) that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.)
If you need to do unusual things to compile the package, please try to figure out how `configure could check whether to do them, and mail diffs or instructions to the address given in the `README so they can be considered for the next release.
If you are using the cache, and at some point `config.cache contains results you dont want to keep, you may remove or edit it.
The file `configure.ac (or `configure.in) is used to create `configure by a program called `autoconf. You only need `configure.ac if you want to change it or regenerate `configure using a newer version of `autoconf.
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system.
If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean.
There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
Enhancements:
- man/wmapplrc.5: updated for tooltip_font option
Download (0.13MB)
Added: 2005-10-10 License: GPL (GNU General Public License) Price:
1474 downloads
POEST::Server 0.20030407
POEST::Server - The Poest Master General. more>>
POEST::Server - The Poest Master General.
SYNOPSIS
my $server = POEST::Server->new(
Config => POEST::Config::Genearl,
ConfigFile => /etc/poest.conf,
);
$server->start;
ABSTRACT
This module controls the server itself.
All high-level server interaction happens here.
new()
Create a new server instance. This will not make the server run, but it will configure it, load the modules and configure them, and spawn the proper POE sessions. All the parameters passed to new will be passed directly to the configurator of your choice, as defined by the Config parameter (POEST::Config by default).
run()
Make the server run. This will block execution when called directly.
start()
Fork and start the server. This method will return the pid of the server. If the pidfile configuration parameter is found in the configuration class, an attempt is made to write that pid file. If that attempt fails, or if the pid file already exists, and exception is thrown and the attempt to start the server is stalled.
stop()
Stop the server. If a pidfile was specified, the pid will be read from it. Otherwise, an attempt to find a process name with the value of $0 is tried, by default that is set to poest.
NOTE: As of right this minute, the process table magic isnt written as Proc::ProcessTable isnt ported to Darwin.
Configuration
Thses are the configuration parameters that the server itself needs from the configuration mechanism.
hostname
The main host that this smtp server runs for.
port
The port this server will run on.
plugin
This is a multi-value parameter. Each value is the full name of the module that contains the plugin class.
<<lessSYNOPSIS
my $server = POEST::Server->new(
Config => POEST::Config::Genearl,
ConfigFile => /etc/poest.conf,
);
$server->start;
ABSTRACT
This module controls the server itself.
All high-level server interaction happens here.
new()
Create a new server instance. This will not make the server run, but it will configure it, load the modules and configure them, and spawn the proper POE sessions. All the parameters passed to new will be passed directly to the configurator of your choice, as defined by the Config parameter (POEST::Config by default).
run()
Make the server run. This will block execution when called directly.
start()
Fork and start the server. This method will return the pid of the server. If the pidfile configuration parameter is found in the configuration class, an attempt is made to write that pid file. If that attempt fails, or if the pid file already exists, and exception is thrown and the attempt to start the server is stalled.
stop()
Stop the server. If a pidfile was specified, the pid will be read from it. Otherwise, an attempt to find a process name with the value of $0 is tried, by default that is set to poest.
NOTE: As of right this minute, the process table magic isnt written as Proc::ProcessTable isnt ported to Darwin.
Configuration
Thses are the configuration parameters that the server itself needs from the configuration mechanism.
hostname
The main host that this smtp server runs for.
port
The port this server will run on.
plugin
This is a multi-value parameter. Each value is the full name of the module that contains the plugin class.
Download (0.024MB)
Added: 2007-04-10 License: GPL (GNU General Public License) Price:
929 downloads
PySTDF 1.0.0
PySTDF is a Python module that makes it easy to work with STDF. more>>
PySTDF project is a Python module that makes it easy to work with STDF (Teradynes Standard Test Data Format). STDF is a commonly used file format in semiconductor test -- automated test equipment (ATE) from such vendors as Teradyne, Verigy, LTX, Credence, and others support this format.
PySTDF provides event-based stream parsing of STDF version 4, along with indexers that can help you rearrange the data into a more useful tabular form, as well as generate missing summary records or new types of derivative records.
The parser architecture is very flexible and can easily be extended to support STDF version 3 as well as custom record types.
Potential applications of PySTDF include:
- Debugging a vendors STDF implementation
- Straight conversion to ASCII-readable form
- Repairing STDF files
- Developing an application that leverages STDF
- Conversion to tabular form for statistical analysis tools
- Loading data into a relational database
PySTDF is released under a GPL license. Applications developed with PySTDF can only be released with a GPL-compatible license. Commercial applications can purchase an alternate license agreement for closed-source distribution.
Enhancements:
- distutils was added to make the module fit for general user consumption and to bring the stdf2atdf script into closer compliance with the ATDF specification.
<<lessPySTDF provides event-based stream parsing of STDF version 4, along with indexers that can help you rearrange the data into a more useful tabular form, as well as generate missing summary records or new types of derivative records.
The parser architecture is very flexible and can easily be extended to support STDF version 3 as well as custom record types.
Potential applications of PySTDF include:
- Debugging a vendors STDF implementation
- Straight conversion to ASCII-readable form
- Repairing STDF files
- Developing an application that leverages STDF
- Conversion to tabular form for statistical analysis tools
- Loading data into a relational database
PySTDF is released under a GPL license. Applications developed with PySTDF can only be released with a GPL-compatible license. Commercial applications can purchase an alternate license agreement for closed-source distribution.
Enhancements:
- distutils was added to make the module fit for general user consumption and to bring the stdf2atdf script into closer compliance with the ATDF specification.
Download (0.011MB)
Added: 2006-08-14 License: GPL (GNU General Public License) Price:
1172 downloads
Deep Network Analyzer 1.5 GA
Deep Network Analyzer is an flexible, open and extensible deep network analyzer. more>>
Deep Network Analyzer is an flexible, open and extensible deep network analyzer (software server) and architecture for gathering and analyzing network packets, network sessions and applications protocols, passively off enterprise class networks.
DNA is designed to be used for Internet Security, Intrusion detection, Network Management, Protocol and Network Analysis, Information Gathering, Network Monitoring applications.
DNA runs as a distributed application under a Java Virtual Machine (JVM) environment and is portable across many OS environments, including: Network appliances, Switches and Routers.
Main features:
- Deep packet and session processing (layers 2-7)
- Configurable processing and output:
- Layer 4 Packet flows
- Layer 4-7 Stateful Sessions flows (client/server flow pairs)
- Layer 7 Packet and Session Application protocol Parsing (HTTP, DNS, P2P, VoIP, etc)
- Application protocol parsing toolkit enables easy devlopment of new new protocol parsers.
- Support for both symmetric and asymmetric routing links.
- Targeting based full session capture facility, like a real time targeted TCPDump.
- Flexible targeting from IP address, port tuple to application sensitive targeting.
- Configurable and extensible output adaptor utilizing OpenAdaptor able to send output to a varity of resources including: Flat file, Oracle, MySQL, MSSQL, Sybase, Sockets, JMS, RMI, WebService.
- Extensible real time collection engine portable across many OS/Packet processing environment :
- Specialized linux drivers mechanisms
- Network Appliances
- Network Switches / Routers
- Highly paralleliszed for increased performance over multi processor environment
- System metadata dictionary externalizes processing type definition
Enhancements:
- Adoption of OpenAdaptor(tm) as the Output Adapter mechanism.
- Support for local-only administration.
- A new targeted packet capture parser, new run scripts, and a new install mechanism.
- Many bugfixes.
<<lessDNA is designed to be used for Internet Security, Intrusion detection, Network Management, Protocol and Network Analysis, Information Gathering, Network Monitoring applications.
DNA runs as a distributed application under a Java Virtual Machine (JVM) environment and is portable across many OS environments, including: Network appliances, Switches and Routers.
Main features:
- Deep packet and session processing (layers 2-7)
- Configurable processing and output:
- Layer 4 Packet flows
- Layer 4-7 Stateful Sessions flows (client/server flow pairs)
- Layer 7 Packet and Session Application protocol Parsing (HTTP, DNS, P2P, VoIP, etc)
- Application protocol parsing toolkit enables easy devlopment of new new protocol parsers.
- Support for both symmetric and asymmetric routing links.
- Targeting based full session capture facility, like a real time targeted TCPDump.
- Flexible targeting from IP address, port tuple to application sensitive targeting.
- Configurable and extensible output adaptor utilizing OpenAdaptor able to send output to a varity of resources including: Flat file, Oracle, MySQL, MSSQL, Sybase, Sockets, JMS, RMI, WebService.
- Extensible real time collection engine portable across many OS/Packet processing environment :
- Specialized linux drivers mechanisms
- Network Appliances
- Network Switches / Routers
- Highly paralleliszed for increased performance over multi processor environment
- System metadata dictionary externalizes processing type definition
Enhancements:
- Adoption of OpenAdaptor(tm) as the Output Adapter mechanism.
- Support for local-only administration.
- A new targeted packet capture parser, new run scripts, and a new install mechanism.
- Many bugfixes.
Download (12.1MB)
Added: 2006-01-10 License: GPL (GNU General Public License) Price:
1390 downloads
RiveScript 1.03
RiveScript is a Perl module that allows you to rendering intelligence very easily. more>>
RiveScript is a Perl module that allows you to rendering intelligence very easily.
SYNOPSIS
use RiveScript;
# Create a new RiveScript interpreter.
my $rs = new RiveScript;
# Load some replies.
$rs->loadDirectory ("./replies");
# Load in another file.
$rs->loadFile ("./more_replies.rs");
# Stream in even more RiveScript code.
$rs->stream (q~! global split_sentences = 1~);
# Sort all the loaded replies.
$rs->sortReplies;
# Grab a response.
my @reply = $rs->reply (localscript, Hello RiveScript!);
print join ("n", @reply), "n";
RiveScript is a simple input/response language. It has a simple, easy-to-learn syntax, yet it is more powerful even than Dr. Wallaces AIML (Artificial Intelligence Markup Language). RiveScript was created as a reply language for chatterbots, but it has been used for more complex things above and beyond that.
<<lessSYNOPSIS
use RiveScript;
# Create a new RiveScript interpreter.
my $rs = new RiveScript;
# Load some replies.
$rs->loadDirectory ("./replies");
# Load in another file.
$rs->loadFile ("./more_replies.rs");
# Stream in even more RiveScript code.
$rs->stream (q~! global split_sentences = 1~);
# Sort all the loaded replies.
$rs->sortReplies;
# Grab a response.
my @reply = $rs->reply (localscript, Hello RiveScript!);
print join ("n", @reply), "n";
RiveScript is a simple input/response language. It has a simple, easy-to-learn syntax, yet it is more powerful even than Dr. Wallaces AIML (Artificial Intelligence Markup Language). RiveScript was created as a reply language for chatterbots, but it has been used for more complex things above and beyond that.
Download (0.20MB)
Added: 2007-05-10 License: Perl Artistic License Price:
897 downloads
AutoProfile 2.14
AutoProfile is an extension to Gaim that allows users to create customized away messages and profiles. more>>
AutoProfile is an extension to Gaim that allows users to create customized away messages and profiles using dynamic "components" that automatically update on a regular basis.
Generated text can include song names from XMMS/Winamp/iTunes, fortune quotes, computer uptime, the contents of a Web page or a text file, the output of a program, and timestamps.
AutoProfile plugin comes complete with a graphical preference system that covers a wide range of options and lets users choose exactly how they want their profiles to behave. The code is Open Source (licensed under the GPL) and designed such that it is extremely easy for users to extend the capabilities of this plugin.
Enhancements:
- This version is updated to work with Gaim 2.0.0 beta3.
- Minor bugs were fixed.
<<lessGenerated text can include song names from XMMS/Winamp/iTunes, fortune quotes, computer uptime, the contents of a Web page or a text file, the output of a program, and timestamps.
AutoProfile plugin comes complete with a graphical preference system that covers a wide range of options and lets users choose exactly how they want their profiles to behave. The code is Open Source (licensed under the GPL) and designed such that it is extremely easy for users to extend the capabilities of this plugin.
Enhancements:
- This version is updated to work with Gaim 2.0.0 beta3.
- Minor bugs were fixed.
Download (0.055MB)
Added: 2006-04-04 License: GPL (GNU General Public License) Price:
742 downloads
ex::override 1.1
ex::override is a Perl pragma to override core functions. more>>
ex::override is a Perl pragma to override core functions.
SYNOPSIS
use ex::override ucfirst => sub {
# make sure only the first
# letter is uppercased
ucfirst( lc( shift ) );
};
ucfirst( MAKE THIS RIGHT );
# Make this right
no ex::override ucfirst;
ucfirst( MAKE THIS RIGHT );
# MAKE THIS RIGHT
"ex::override" is an easy way to override core perl functions.
Overriding a function
use ex::override
length => &mylength,
open => &myopen;
Overriding a core function happens at compile time. Arguments are passed to "ex::override" in a name based, or hash style. The key is the name of the core function to override, the value is your subroutine to replace the cores.
Using an overriden funtion
Nothing changes on the surface. If you override "stat", then you still use "stat" the same way.
NOTE: This is only true if you are keeping the same prototype as the function youve overriden. To do this, you must define your prototype:
use ex::override values => sub (%) { values %{+shift} };
If you dont use this same prototype or force yourself to use the function the same, you can extend the functionality of a core function:
# length of all arguments passed to length()
use ex::override length => sub { length join , @_ };
Overriding a function globaly
Dont do this without a very good reason!
"ex::override" allows you the ability to override core functions globaly. Any packages that inherit from yours will use your function override. There are good reasons for doing this, if you think you need to, make sure you have a good reason.
use ex::override
GLOBAL_length => sub {
# prevent someone from passing a list
croak "Dont do that!" if @_ > 1;
length shift
};
NOTE: If you globaly override a function in a package, only that package can remove it.
Removing your override
This works the same way that "no strict" works.
no ex::override; # remove _all_ overrides
no ex::override values;
no ex::override GLOABL_length;
<<lessSYNOPSIS
use ex::override ucfirst => sub {
# make sure only the first
# letter is uppercased
ucfirst( lc( shift ) );
};
ucfirst( MAKE THIS RIGHT );
# Make this right
no ex::override ucfirst;
ucfirst( MAKE THIS RIGHT );
# MAKE THIS RIGHT
"ex::override" is an easy way to override core perl functions.
Overriding a function
use ex::override
length => &mylength,
open => &myopen;
Overriding a core function happens at compile time. Arguments are passed to "ex::override" in a name based, or hash style. The key is the name of the core function to override, the value is your subroutine to replace the cores.
Using an overriden funtion
Nothing changes on the surface. If you override "stat", then you still use "stat" the same way.
NOTE: This is only true if you are keeping the same prototype as the function youve overriden. To do this, you must define your prototype:
use ex::override values => sub (%) { values %{+shift} };
If you dont use this same prototype or force yourself to use the function the same, you can extend the functionality of a core function:
# length of all arguments passed to length()
use ex::override length => sub { length join , @_ };
Overriding a function globaly
Dont do this without a very good reason!
"ex::override" allows you the ability to override core functions globaly. Any packages that inherit from yours will use your function override. There are good reasons for doing this, if you think you need to, make sure you have a good reason.
use ex::override
GLOBAL_length => sub {
# prevent someone from passing a list
croak "Dont do that!" if @_ > 1;
length shift
};
NOTE: If you globaly override a function in a package, only that package can remove it.
Removing your override
This works the same way that "no strict" works.
no ex::override; # remove _all_ overrides
no ex::override values;
no ex::override GLOABL_length;
Download (0.004MB)
Added: 2007-05-14 License: Perl Artistic License Price:
893 downloads
Color::Fade 0.01
Color::Fade provides a Perl extension for fading text colors. more>>
Color::Fade provides a Perl extension for fading text colors.
Color::Fade uses mathematical formulas to take an input string of virtually any length, and virtually any number of colors, and assign an individual color to each character to fade between each of the input colors.
In other words, it makes your sentences look really pretty.
Methods
Fade $string among the colors in @colors, where $string is a string of length greater than zero, and @colors is an array of colors in six byte hexadecimal format, with or without the leading octothorpe. @colors must have at least two elements.
When called in array context, the method returns an array in which each element is of the format:
y
For each character, where xxxxxx is a hexadecimal color code and y is one character from the original string.
When called in scalar context, this array is joined before being returned.
<<lessColor::Fade uses mathematical formulas to take an input string of virtually any length, and virtually any number of colors, and assign an individual color to each character to fade between each of the input colors.
In other words, it makes your sentences look really pretty.
Methods
Fade $string among the colors in @colors, where $string is a string of length greater than zero, and @colors is an array of colors in six byte hexadecimal format, with or without the leading octothorpe. @colors must have at least two elements.
When called in array context, the method returns an array in which each element is of the format:
y
For each character, where xxxxxx is a hexadecimal color code and y is one character from the original string.
When called in scalar context, this array is joined before being returned.
Download (0.006MB)
Added: 2007-03-29 License: Perl Artistic License Price:
939 downloads
PDL::Slatec 2.4.3
PDL::Slatec is a PDL interface to the slatec numerical programming library. more>>
PDL::Slatec is a PDL interface to the slatec numerical programming library.
SYNOPSIS
use PDL::Slatec;
($ndeg, $r, $ierr, $a) = polyfit($x, $y, $w, $maxdeg, $eps);
This module serves the dual purpose of providing an interface to parts of the slatec library and showing how to interface PDL to an external library. Using this library requires a fortran compiler; the source for the routines is provided for convenience.
Currently available are routines to: manipulate matrices; calculate FFTs; fit data using polynomials; and interpolate/integrate data using piecewise cubic Hermite interpolation.
Piecewise cubic Hermite interpolation (PCHIP)
PCHIP is the slatec package of routines to perform piecewise cubic Hermite interpolation of data. It features software to produce a monotone and "visually pleasing" interpolant to monotone data. According to Fritsch & Carlson ("Monotone piecewise cubic interpolation", SIAM Journal on Numerical Analysis 17, 2 (April 1980), pp. 238-246), such an interpolant may be more reasonable than a cubic spline if the data contains both "steep" and "flat" sections. Interpolation of cumulative probability distribution functions is another application. These routines are cryptically named (blame FORTRAN), beginning with ch, and accept either float or double piddles.
Most of the routines require an integer parameter called check; if set to 0, then no checks on the validity of the input data are made, otherwise these checks are made. The value of check can be set to 0 if a routine such as chim has already been successfully called.
If not known, estimate derivative values for the points using the chim, chic, or chsp routines (the following routines require both the function (f) and derivative (d) values at a set of points (x)).
Evaluate, integrate, or differentiate the resulting PCH function using the routines: chfd; chfe; chia; chid.
If desired, you can check the monotonicity of your data using chcm.
EOD # un-confuse emacs
# if define chbs, then add something like the following to point 3: # # or use chbs to convert a PCH function into B-representation # for use with the B-spline routines of slatec # (although no interface to them currently exist). #
# add function definitions after finishing the first pp_addpm(), since this # adds a =head1 FUNCTIONS line at the end of the text
pp_addpm(<<less
SYNOPSIS
use PDL::Slatec;
($ndeg, $r, $ierr, $a) = polyfit($x, $y, $w, $maxdeg, $eps);
This module serves the dual purpose of providing an interface to parts of the slatec library and showing how to interface PDL to an external library. Using this library requires a fortran compiler; the source for the routines is provided for convenience.
Currently available are routines to: manipulate matrices; calculate FFTs; fit data using polynomials; and interpolate/integrate data using piecewise cubic Hermite interpolation.
Piecewise cubic Hermite interpolation (PCHIP)
PCHIP is the slatec package of routines to perform piecewise cubic Hermite interpolation of data. It features software to produce a monotone and "visually pleasing" interpolant to monotone data. According to Fritsch & Carlson ("Monotone piecewise cubic interpolation", SIAM Journal on Numerical Analysis 17, 2 (April 1980), pp. 238-246), such an interpolant may be more reasonable than a cubic spline if the data contains both "steep" and "flat" sections. Interpolation of cumulative probability distribution functions is another application. These routines are cryptically named (blame FORTRAN), beginning with ch, and accept either float or double piddles.
Most of the routines require an integer parameter called check; if set to 0, then no checks on the validity of the input data are made, otherwise these checks are made. The value of check can be set to 0 if a routine such as chim has already been successfully called.
If not known, estimate derivative values for the points using the chim, chic, or chsp routines (the following routines require both the function (f) and derivative (d) values at a set of points (x)).
Evaluate, integrate, or differentiate the resulting PCH function using the routines: chfd; chfe; chia; chid.
If desired, you can check the monotonicity of your data using chcm.
EOD # un-confuse emacs
# if define chbs, then add something like the following to point 3: # # or use chbs to convert a PCH function into B-representation # for use with the B-spline routines of slatec # (although no interface to them currently exist). #
# add function definitions after finishing the first pp_addpm(), since this # adds a =head1 FUNCTIONS line at the end of the text
pp_addpm(<<less
Download (2.1MB)
Added: 2007-08-02 License: Perl Artistic License Price:
819 downloads
Tk::HyperText 0.05
Tk::HyperText can create and manipulate ROText widgets which render HTML code. more>>
Tk::HyperText can create and manipulate ROText widgets which render HTML code.
SYNOPSIS
my $hypertext = $mw->Scrolled ("HyperText",
-scrollbars => e,
-wrap => word,
-linkcommand => &onLink, # what to do when links are clicked
-titlecommand => &onTitle, # what to do when
<<lessSYNOPSIS
my $hypertext = $mw->Scrolled ("HyperText",
-scrollbars => e,
-wrap => word,
-linkcommand => &onLink, # what to do when links are clicked
-titlecommand => &onTitle, # what to do when
Download (0.034MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 2
- 1
- 2
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above casey carlson search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed