defaults
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2835
grub-choose-default 0.2
grub-choose-default is a simple but handy GUI to set the grub default for the next boot. more>>
grub-choose-default is a simple but handy GUI to set the grub default for the next boot.
Control Grub Default through a GUI
Do you have a dual boot system? Isnt it annoying when you want to reboot from Linux into Windows or vice-versa, and you have to wait for the machine to shut down, BIOS to initialize just so that you can now select the OS that you want to boot into?
grub-choose-default gives you a GUI that you can use to easily select the next default for grub and you can go and grab a snack while your computer reboots without having to wait for anything.
Its a very simple program that just reads your grub menu entries and then lets you click on the one you want to be the next default.
How It Works
In grubs menu.lst file you need to specify default saved, so that grub consults the file default in the grub directory to see which entry it should boot. That file is then modified by grub-choose-default
Cross Platform
grub-choose-default is written in Python (which is required to be installed at the moment) and works under Linux and Windows.
Under Linux it reads /boot/grub/menu.lst and writes your choice to /boot/grub/default
Then grub-choose-default searches all your drives for a grub/menu.lst or a boot/grub/menu.lst. There currently is no way to specify manually where menu.lst resides, please let me know if this is needed.
<<lessControl Grub Default through a GUI
Do you have a dual boot system? Isnt it annoying when you want to reboot from Linux into Windows or vice-versa, and you have to wait for the machine to shut down, BIOS to initialize just so that you can now select the OS that you want to boot into?
grub-choose-default gives you a GUI that you can use to easily select the next default for grub and you can go and grab a snack while your computer reboots without having to wait for anything.
Its a very simple program that just reads your grub menu entries and then lets you click on the one you want to be the next default.
How It Works
In grubs menu.lst file you need to specify default saved, so that grub consults the file default in the grub directory to see which entry it should boot. That file is then modified by grub-choose-default
Cross Platform
grub-choose-default is written in Python (which is required to be installed at the moment) and works under Linux and Windows.
Under Linux it reads /boot/grub/menu.lst and writes your choice to /boot/grub/default
Then grub-choose-default searches all your drives for a grub/menu.lst or a boot/grub/menu.lst. There currently is no way to specify manually where menu.lst resides, please let me know if this is needed.
Download (0.003MB)
Added: 2007-08-09 License: GPL (GNU General Public License) Price:
813 downloads
Resets iptables to default values
Resets iptables to default values script resets the Linux firewall iptables to default values. more>>
Resets iptables to default values script resets the Linux firewall iptables to default values.
Configurations
IPTABLES="/usr/sbin/iptables"
#
# reset the default policies in the filter table.
#
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT
$IPTABLES -P OUTPUT ACCEPT
#
# reset the default policies in the nat table.
#
$IPTABLES -t nat -P PREROUTING ACCEPT
$IPTABLES -t nat -P POSTROUTING ACCEPT
$IPTABLES -t nat -P OUTPUT ACCEPT
#
# reset the default policies in the mangle table.
#
$IPTABLES -t mangle -P PREROUTING ACCEPT
$IPTABLES -t mangle -P OUTPUT ACCEPT
#
# flush all the rules in the filter and nat tables.
#
$IPTABLES -F
$IPTABLES -t nat -F
$IPTABLES -t mangle -F
#
# erase all chains thats not default in filter and nat table.
#
$IPTABLES -X
$IPTABLES -t nat -X
$IPTABLES -t mangle -X
<<lessConfigurations
IPTABLES="/usr/sbin/iptables"
#
# reset the default policies in the filter table.
#
$IPTABLES -P INPUT ACCEPT
$IPTABLES -P FORWARD ACCEPT
$IPTABLES -P OUTPUT ACCEPT
#
# reset the default policies in the nat table.
#
$IPTABLES -t nat -P PREROUTING ACCEPT
$IPTABLES -t nat -P POSTROUTING ACCEPT
$IPTABLES -t nat -P OUTPUT ACCEPT
#
# reset the default policies in the mangle table.
#
$IPTABLES -t mangle -P PREROUTING ACCEPT
$IPTABLES -t mangle -P OUTPUT ACCEPT
#
# flush all the rules in the filter and nat tables.
#
$IPTABLES -F
$IPTABLES -t nat -F
$IPTABLES -t mangle -F
#
# erase all chains thats not default in filter and nat table.
#
$IPTABLES -X
$IPTABLES -t nat -X
$IPTABLES -t mangle -X
Download (MB)
Added: 2007-02-13 License: GPL (GNU General Public License) Price:
985 downloads
Tux Paint Default Stamps 2007-07-01
Tux Paint Default Stamps project is a collection of hundreds of rubber stamp images. more>>
Tux Paint Default Stamps project is a collection of hundreds of "rubber stamp" images (and associated descriptions and sound effects) for the childrens drawing program, "Tux Paint." Both PNG and SVG images are included.
Categories include animals, clothes, food, hobbies, household, medical, military, natural forces, people, plants, seasonal, space, sports, symbols, town, and vehicles.
Enhancements:
- SVG-based images (which are supported by Tux Paint 0.9.17) are now included.
- Stamps were added for food, animals, alphabets, signs, sports-related, musical instruments, money, and flowers.
- Translations were added for Czech, Latvian, and Thai.
- The English, Basque, French, Gujarati, Japanese, Russian, Spanish translations were updated.
<<lessCategories include animals, clothes, food, hobbies, household, medical, military, natural forces, people, plants, seasonal, space, sports, symbols, town, and vehicles.
Enhancements:
- SVG-based images (which are supported by Tux Paint 0.9.17) are now included.
- Stamps were added for food, animals, alphabets, signs, sports-related, musical instruments, money, and flowers.
- Translations were added for Czech, Latvian, and Thai.
- The English, Basque, French, Gujarati, Japanese, Russian, Spanish translations were updated.
Download (MB)
Added: 2007-07-05 License: GPL (GNU General Public License) Price:
513 downloads
Wiki::Toolkit::Formatter::Default 0.74
Wiki::Toolkit::Formatter::Default is a formatter for Wiki::Toolkit. more>>
Wiki::Toolkit::Formatter::Default is a formatter for Wiki::Toolkit.
SYNOPSIS
my $store = Wiki::Toolkit::Store::SQLite->new( ... );
# See below for parameter details.
my $formatter = Wiki::Toolkit::Formatter::Default->new( %config );
my $wiki = Wiki::Toolkit->new( store => $store,
formatter => $formatter );
METHODS
new
my $formatter = Wiki::Toolkit::Formatter::Default->new(
extended_links => 0,
implicit_links => 1,
allowed_tags => [qw(b i)], # defaults to none
macros => {},
node_prefix => wiki.cgi?node= );
Parameters will default to the values shown above (apart from allowed_tags, which defaults to allowing no tags).
macros - be aware that macros are processed after filtering out disallowed HTML tags. Currently macros are just strings, maybe later we can add in subs if we think it might be useful.
Macro example:
macros => { qr/(^|b)@SEARCHBOX(b|$)/ =>
qq(
) }
format
my $html = $formatter->format( $content );
Escapes any tags which werent specified as allowed on creation, then interpolates any macros, then calls Text::WikiFormat::format (with the config set up when new was called) to translate the raw Wiki language supplied into HTML.
<<lessSYNOPSIS
my $store = Wiki::Toolkit::Store::SQLite->new( ... );
# See below for parameter details.
my $formatter = Wiki::Toolkit::Formatter::Default->new( %config );
my $wiki = Wiki::Toolkit->new( store => $store,
formatter => $formatter );
METHODS
new
my $formatter = Wiki::Toolkit::Formatter::Default->new(
extended_links => 0,
implicit_links => 1,
allowed_tags => [qw(b i)], # defaults to none
macros => {},
node_prefix => wiki.cgi?node= );
Parameters will default to the values shown above (apart from allowed_tags, which defaults to allowing no tags).
macros - be aware that macros are processed after filtering out disallowed HTML tags. Currently macros are just strings, maybe later we can add in subs if we think it might be useful.
Macro example:
macros => { qr/(^|b)@SEARCHBOX(b|$)/ =>
qq(
) }
format
my $html = $formatter->format( $content );
Escapes any tags which werent specified as allowed on creation, then interpolates any macros, then calls Text::WikiFormat::format (with the config set up when new was called) to translate the raw Wiki language supplied into HTML.
Download (0.10MB)
Added: 2007-08-13 License: Perl Artistic License Price:
803 downloads
btfilter 0.1
btfilter is used to send documents to Bluetooth enabled printers or print adapters for printing. more>>
btfilter is used to send documents to Bluetooth enabled printers or print adapters for printing.
btfilter reads the document from standard input and sends the file to the supplied bluetooth device address. The file must be prepared beforehand - btfilter passes the file transparently to the device.
btfilter can be used indirectly in /etc/printcap - for an example, see my document Bluetooth Printing to HP DeskJet 3845.
Syntax
btfilter [OPTIONS] mac-address [channel]
Options:
-i | < bdaddr >: send file using this device.
Channel defaults to 1 if not given.
<<lessbtfilter reads the document from standard input and sends the file to the supplied bluetooth device address. The file must be prepared beforehand - btfilter passes the file transparently to the device.
btfilter can be used indirectly in /etc/printcap - for an example, see my document Bluetooth Printing to HP DeskJet 3845.
Syntax
btfilter [OPTIONS] mac-address [channel]
Options:
-i | < bdaddr >: send file using this device.
Channel defaults to 1 if not given.
Download (0.055MB)
Added: 2006-02-14 License: GPL (GNU General Public License) Price:
1347 downloads
Pequel 2.4-6
Pequel provides a tool to create complex and efficient ETL processes. more>>
Pequel provides a tool to create complex and efficient ETL processes.
Pequel is a comprehensive ETL system. It features a simple, user-friendly event driven scripting interface that transparently generates and executes highly efficient low level multi-db API code (Oracle-OCI, Sqlite).
Enhancements:
- New Pequel Quick Reference Guide (docs/pequelquickref.pdf).
- Fixed module name in ETL::Pequel::Pod2Pdf, scripts/pequelpod2pdf.
- Option: exec_min_lines -use this to specify max program code size that will execute with eval() otherwise execute with exec() on external tmp EXEC program file. Defaults to 200 lines. The exec() execution will substantially improve the performance when copy/divert sections are in use.
- Fixed user defined date type parse problem.
- Some vim-syntax updates.
<<lessPequel is a comprehensive ETL system. It features a simple, user-friendly event driven scripting interface that transparently generates and executes highly efficient low level multi-db API code (Oracle-OCI, Sqlite).
Enhancements:
- New Pequel Quick Reference Guide (docs/pequelquickref.pdf).
- Fixed module name in ETL::Pequel::Pod2Pdf, scripts/pequelpod2pdf.
- Option: exec_min_lines -use this to specify max program code size that will execute with eval() otherwise execute with exec() on external tmp EXEC program file. Defaults to 200 lines. The exec() execution will substantially improve the performance when copy/divert sections are in use.
- Fixed user defined date type parse problem.
- Some vim-syntax updates.
Download (0.71MB)
Added: 2007-01-31 License: GPL (GNU General Public License) Price:
997 downloads
Format on Save 1.1.0
Format on Save is a Eclipse plugin to automatically organizes imports and formats code when saving a Java editor. more>>
Format on Save is a Eclipse plugin to automatically organizes imports and formats code when saving a Java editor.
This is the exact equivalent as doing Ctrl-Shift-O, Ctrl-Shift-F before saving. New features: - Sort Members and Correct Indentation - preference page to configure defaults
<<lessThis is the exact equivalent as doing Ctrl-Shift-O, Ctrl-Shift-F before saving. New features: - Sort Members and Correct Indentation - preference page to configure defaults
Download (0.051MB)
Added: 2006-09-13 License: GPL (GNU General Public License) Price:
1138 downloads
realcap 0.311
realcap is a bash utility to help with capturing streams from realplayer. more>>
realcap is a bash utility to help with capturing streams from realplayer.
From the help file we can see the next options:
Most basic operation requires only the stream URL.
Available options:
-v, --version display version
-h, --help display help text
-c, --captime duration of stream in seconds. remember to take initial buffering into account (defaults to 1 hour)
-o, --oggbits nominal bitrate (kbps) of ogg vorbis output. if omitted ogg encoding will not occur
-m, --mp3bits constant bitrate (kbps) of mp3 output. if omitted mp3 encoding will not occur
-q, --oggquality ogg vorbis quality between 0 - 10, 10 being the highest. Fractional values allowed
-a, --trackartist artists name for ID3 tag in compressed output file
-t, --tracktitle track title for ID3 tag in compressed output file
-f, --filename all output files will be given this name. do not provide an extension( defaults to vsound.wav/ogg/mp3)
-d, --delete deletes wav file after recording if ogg vorbis bitrate/mp3 is specified (otherwise this parameter is ignored)
<<lessFrom the help file we can see the next options:
Most basic operation requires only the stream URL.
Available options:
-v, --version display version
-h, --help display help text
-c, --captime duration of stream in seconds. remember to take initial buffering into account (defaults to 1 hour)
-o, --oggbits nominal bitrate (kbps) of ogg vorbis output. if omitted ogg encoding will not occur
-m, --mp3bits constant bitrate (kbps) of mp3 output. if omitted mp3 encoding will not occur
-q, --oggquality ogg vorbis quality between 0 - 10, 10 being the highest. Fractional values allowed
-a, --trackartist artists name for ID3 tag in compressed output file
-t, --tracktitle track title for ID3 tag in compressed output file
-f, --filename all output files will be given this name. do not provide an extension( defaults to vsound.wav/ogg/mp3)
-d, --delete deletes wav file after recording if ogg vorbis bitrate/mp3 is specified (otherwise this parameter is ignored)
Download (0.003MB)
Added: 2006-07-25 License: GPL (GNU General Public License) Price:
1186 downloads
Firefox LiveCD
Firefox LiveCD is LiveCD similar to LiveKiosk, but with original binary version of Mozilla Firefox. more>>
Firefox LiveCD is LiveCD similar to LiveKiosk, but with original binary version of Mozilla Firefox. No changes were done to user interface and everything is set to Firefox defaults.
LiveFirefox is intended for people who want to have custom Firefox based LiveCD, but find LiveKiosk unsuitable for this purpose. You can find customization instructions in usersettings/ directory on CD.
If you are here because you are looking for locked-down kiosk we recommend you take a look at LiveKiosk (kiosk with user interface) and LiveInfo (full screenkiosk without interface).
<<lessLiveFirefox is intended for people who want to have custom Firefox based LiveCD, but find LiveKiosk unsuitable for this purpose. You can find customization instructions in usersettings/ directory on CD.
If you are here because you are looking for locked-down kiosk we recommend you take a look at LiveKiosk (kiosk with user interface) and LiveInfo (full screenkiosk without interface).
Download (132.2MB)
Added: 2006-03-31 License: GPL (GNU General Public License) Price:
1315 downloads
Audio::ESD 0.02
Audio::ESD is a Perl extension for talking to the Enlightened Sound Daemon. more>>
Audio::ESD is a Perl extension for talking to the Enlightened Sound Daemon.
SYNOPSIS
use Audio::ESD;
my $stream = Audio::ESD->play_stream({ # these are the defaults
sample_rate => 16000,
channels => 1,
fallback => 0,
bits_sample => 16,
encoding => linear })
or die "Failed to open ESD stream: $!n";
print $stream $data; # etcetera
This module provides a Perl wrapper around the Enlightened Sound Daemons client library. Input, output, and monitoring streams are supported, as well as some (but not all) of the control functions. Samples are supported but untested.
<<lessSYNOPSIS
use Audio::ESD;
my $stream = Audio::ESD->play_stream({ # these are the defaults
sample_rate => 16000,
channels => 1,
fallback => 0,
bits_sample => 16,
encoding => linear })
or die "Failed to open ESD stream: $!n";
print $stream $data; # etcetera
This module provides a Perl wrapper around the Enlightened Sound Daemons client library. Input, output, and monitoring streams are supported, as well as some (but not all) of the control functions. Samples are supported but untested.
Download (0.006MB)
Added: 2006-06-23 License: Perl Artistic License Price:
1228 downloads
Devel::GDB::Reflect 0.2
Devel::GDB::Reflect is a reflection API for GDB/C++. more>>
Devel::GDB::Reflect is a reflection API for GDB/C++.
SYNOPSIS
use Devel::GDB;
use Devel::GDB::Reflect;
my $gdb = new Devel::GDB( -file => $foo );
my $reflector = new Devel::GDB::Reflect( $gdb );
print $gdb->get( "b foo.c:123" );
$gdb->print( "myVariable" );
Devel::GDB::Reflect provides a reflection API for GDB/C++, which can be used to recursively print the contents of STL data structures (vector, set, map, etc.) within a GDB session. It is not limited to STL, however; you can write your own delegates for printing custom container types.
The module implements the functionality used by the gdb++ script, which serves as a wrapper around GDB. You should probably familiarize yourself with the basic functionality of this script first, before diving into the gory details presented here.
Global Variables
The following global variables control the behavior of the "print" method.
$Devel::GDB::Reflect::INDENT
The number of spaces to indent at each level of recursion. Defaults to 4.
$Devel::GDB::Reflect::MAX_DEPTH
The maximum recursion depth. Defaults to 5.
$Devel::GDB::Reflect::MAX_WIDTH
The maximum number of elements to show from a given container. Defaults to 10.
<<lessSYNOPSIS
use Devel::GDB;
use Devel::GDB::Reflect;
my $gdb = new Devel::GDB( -file => $foo );
my $reflector = new Devel::GDB::Reflect( $gdb );
print $gdb->get( "b foo.c:123" );
$gdb->print( "myVariable" );
Devel::GDB::Reflect provides a reflection API for GDB/C++, which can be used to recursively print the contents of STL data structures (vector, set, map, etc.) within a GDB session. It is not limited to STL, however; you can write your own delegates for printing custom container types.
The module implements the functionality used by the gdb++ script, which serves as a wrapper around GDB. You should probably familiarize yourself with the basic functionality of this script first, before diving into the gory details presented here.
Global Variables
The following global variables control the behavior of the "print" method.
$Devel::GDB::Reflect::INDENT
The number of spaces to indent at each level of recursion. Defaults to 4.
$Devel::GDB::Reflect::MAX_DEPTH
The maximum recursion depth. Defaults to 5.
$Devel::GDB::Reflect::MAX_WIDTH
The maximum number of elements to show from a given container. Defaults to 10.
Download (0.015MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
File::Path 5.8.8
File::Path is a Perl module to create or remove directory trees. more>>
File::Path is a Perl module to create or remove directory trees.
SYNOPSIS
use File::Path;
mkpath([/foo/bar/baz, blurfl/quux], 1, 0711);
rmtree([foo/bar/baz, blurfl/quux], 1, 1);
The mkpath function provides a convenient way to create directories, even if your mkdir kernel call wont create more than one level of directory at a time. mkpath takes three arguments:
the name of the path to create, or a reference to a list of paths to create,
a boolean value, which if TRUE will cause mkpath to print the name of each directory as it is created (defaults to FALSE), and
the numeric mode to use when creating the directories (defaults to 0777), to be modified by the current umask.
It returns a list of all directories (including intermediates, determined using the Unix / separator) created.
If a system error prevents a directory from being created, then the mkpath function throws a fatal error with Carp::croak. This error can be trapped with an eval block:
eval { mkpath($dir) };
if ($@) {
print "Couldnt create $dir: $@";
}
Similarly, the rmtree function provides a convenient way to delete a subtree from the directory structure, much like the Unix command rm -r. rmtree takes three arguments:
the root of the subtree to delete, or a reference to a list of roots. All of the files and directories below each root, as well as the roots themselves, will be deleted.
a boolean value, which if TRUE will cause rmtree to print a message each time it examines a file, giving the name of the file, and indicating whether its using rmdir or unlink to remove it, or that its skipping it. (defaults to FALSE)
a boolean value, which if TRUE will cause rmtree to skip any files to which you do not have delete access (if running under VMS) or write access (if running under another OS). This will change in the future when a criterion for delete permission under OSs other than VMS is settled. (defaults to FALSE)
It returns the number of files successfully deleted. Symlinks are simply deleted and not followed.
NOTE: There are race conditions internal to the implementation of rmtree making it unsafe to use on directory trees which may be altered or moved while rmtree is running, and in particular on any directory trees with any path components or subdirectories potentially writable by untrusted users.
Additionally, if the third parameter is not TRUE and rmtree is interrupted, it may leave files and directories with permissions altered to allow deletion (and older versions of this module would even set files and directories to world-read/writable!)
Note also that the occurrence of errors in rmtree can be determined only by trapping diagnostic messages using $SIG{__WARN__}; it is not apparent from the return value.
<<lessSYNOPSIS
use File::Path;
mkpath([/foo/bar/baz, blurfl/quux], 1, 0711);
rmtree([foo/bar/baz, blurfl/quux], 1, 1);
The mkpath function provides a convenient way to create directories, even if your mkdir kernel call wont create more than one level of directory at a time. mkpath takes three arguments:
the name of the path to create, or a reference to a list of paths to create,
a boolean value, which if TRUE will cause mkpath to print the name of each directory as it is created (defaults to FALSE), and
the numeric mode to use when creating the directories (defaults to 0777), to be modified by the current umask.
It returns a list of all directories (including intermediates, determined using the Unix / separator) created.
If a system error prevents a directory from being created, then the mkpath function throws a fatal error with Carp::croak. This error can be trapped with an eval block:
eval { mkpath($dir) };
if ($@) {
print "Couldnt create $dir: $@";
}
Similarly, the rmtree function provides a convenient way to delete a subtree from the directory structure, much like the Unix command rm -r. rmtree takes three arguments:
the root of the subtree to delete, or a reference to a list of roots. All of the files and directories below each root, as well as the roots themselves, will be deleted.
a boolean value, which if TRUE will cause rmtree to print a message each time it examines a file, giving the name of the file, and indicating whether its using rmdir or unlink to remove it, or that its skipping it. (defaults to FALSE)
a boolean value, which if TRUE will cause rmtree to skip any files to which you do not have delete access (if running under VMS) or write access (if running under another OS). This will change in the future when a criterion for delete permission under OSs other than VMS is settled. (defaults to FALSE)
It returns the number of files successfully deleted. Symlinks are simply deleted and not followed.
NOTE: There are race conditions internal to the implementation of rmtree making it unsafe to use on directory trees which may be altered or moved while rmtree is running, and in particular on any directory trees with any path components or subdirectories potentially writable by untrusted users.
Additionally, if the third parameter is not TRUE and rmtree is interrupted, it may leave files and directories with permissions altered to allow deletion (and older versions of this module would even set files and directories to world-read/writable!)
Note also that the occurrence of errors in rmtree can be determined only by trapping diagnostic messages using $SIG{__WARN__}; it is not apparent from the return value.
Download (12.2MB)
Added: 2007-04-27 License: Perl Artistic License Price:
910 downloads
eics 3.1c
EICS is a tripwire like filesystem integrity checking utility. more>>
EICS is a tripwire like filesystem integrity checking utility.
You configure the compilation by typing ./configure. This will install the program with prefix /usr like this:
Binary goes to : /usr/bin/eics
Configuration : /usr/etc
Database files : /usr/lib
You can configure the places files go mainly with the following parameters
--prefix=DIR Defines where you want to put the files
--sbindir=DIR Where eics goes. This defaults to $prefix/sbin
--sysconfdir=DIR Configuration and keyfiles will be placed into this directory. Defaults to $prefix/etc
--with-database-dir=DIR Database files will be placed here. Defaults to $prefix/lib/eics
--with-root-prefix=DIR This is for package builders. When the files are copied this is appended to the paths. Does not affect the program itself.
--mandir=DIR Where man pages go. Defaults to $prefix/man
Main features:
- Easy configuration files
- Wide range of checks
- Regular expression support and globbing(from version 3)
- Fast check even on large systems(from version 3)
- Uses OpenSSL
- Uses DSA signaturing to ensure database integrity
- No password needed for checking filesystem
<<lessYou configure the compilation by typing ./configure. This will install the program with prefix /usr like this:
Binary goes to : /usr/bin/eics
Configuration : /usr/etc
Database files : /usr/lib
You can configure the places files go mainly with the following parameters
--prefix=DIR Defines where you want to put the files
--sbindir=DIR Where eics goes. This defaults to $prefix/sbin
--sysconfdir=DIR Configuration and keyfiles will be placed into this directory. Defaults to $prefix/etc
--with-database-dir=DIR Database files will be placed here. Defaults to $prefix/lib/eics
--with-root-prefix=DIR This is for package builders. When the files are copied this is appended to the paths. Does not affect the program itself.
--mandir=DIR Where man pages go. Defaults to $prefix/man
Main features:
- Easy configuration files
- Wide range of checks
- Regular expression support and globbing(from version 3)
- Fast check even on large systems(from version 3)
- Uses OpenSSL
- Uses DSA signaturing to ensure database integrity
- No password needed for checking filesystem
Download (0.053MB)
Added: 2006-07-12 License: GPL (GNU General Public License) Price:
1200 downloads
Wais 2.311
Wais is a Perl module with access to freeWAIS-sf libraries. more>>
Wais is a Perl module with access to freeWAIS-sf libraries.
USAGE
The main high-level interface are the functions Wais::Search and Wais::Retrieve. Both return a reference to an object of the class Wais::Result.
Wais::Search
Arguments of Wais::Search are hash references, one for each database to search. The keys of the hashes should be:
query
The query to submit.
database
The database which should be searched.
host
host is optional. It defaults to localhost.
port
port is optional. It defaults to 210.
tag
A tag by which individual results can be associated to a database/host/port triple. If omitted defaults to the database name.
relevant
If present must be a reference to an array containing alternating document ids and types. Document ids must be of type Wais:Docid.
Here is a complete example:
$result = Wais::Search({query => pfeifer,
database => $db1,
host => ls6,
relevant => [$id, TEXT]},
{query => pfeifer,
database => $db2});
If host is localhost and database.src exists, local search is performed instead of connecting a server.
Wais::Search will open $Wais::maxnumfd connections in parallel at most.
<<lessUSAGE
The main high-level interface are the functions Wais::Search and Wais::Retrieve. Both return a reference to an object of the class Wais::Result.
Wais::Search
Arguments of Wais::Search are hash references, one for each database to search. The keys of the hashes should be:
query
The query to submit.
database
The database which should be searched.
host
host is optional. It defaults to localhost.
port
port is optional. It defaults to 210.
tag
A tag by which individual results can be associated to a database/host/port triple. If omitted defaults to the database name.
relevant
If present must be a reference to an array containing alternating document ids and types. Document ids must be of type Wais:Docid.
Here is a complete example:
$result = Wais::Search({query => pfeifer,
database => $db1,
host => ls6,
relevant => [$id, TEXT]},
{query => pfeifer,
database => $db2});
If host is localhost and database.src exists, local search is performed instead of connecting a server.
Wais::Search will open $Wais::maxnumfd connections in parallel at most.
Download (0.053MB)
Added: 2007-05-16 License: Perl Artistic License Price:
891 downloads
GDS2 2.09a
GDS2 is a module for quickly creating programs to read and/or write GDS2 files. more>>
GDS2 is a module for quickly creating programs to read and/or write GDS2 files.
Create Method
new - open gds2 file
usage:
my $gds2File = new GDS2(-fileName => "filename.gds2"); ## to read
my $gds2File2 = new GDS2(-fileName => ">filename.gds2"); ## to write
fileNum - file number...
usage:
close - close gds2 file
usage:
$gds2File -> close;
-or-
$gds2File -> close(-markEnd=>1); ## experimental -- some systems have trouble closing files
$gds2File -> close(-pad=>2048); ## experimental -- pad end with s till file size is a
## multiple of number. Note: old reel to reel tapes on Calma
## systems used 2048 byte blocks
High Level Write Methods
printInitLib() - Does all the things needed to start a library, writes HEADER,BGNLIB,LIBNAME,and UNITS records
The default is to create a library with a default unit of 1 micron that has a resolution of 1000. To get this set uUnit to 0.001 (1/1000) and the dbUnit to 1/1000th of a micron (1e-9). usage: $gds2File -> printInitLib(-name => "testlib", ## required -isoDate => 0|1 ## (optional) use ISO 4 digit date 2001 vs 101 -uUnit => real number ## (optional) default is 0.001 -dbUnit => real number ## (optional) default is 1e-9 );
## defaults to current date for library date
note:
remember to close library with printEndlib()
printBgnstr - Does all the things needed to start a structure definition
usage:
$gds2File -> printBgnstr(-name => "nand3" ## writes BGNSTR and STRNAME records
-isoDate => 1|0 ## (optional) use ISO 4 digit date 2001 vs 101
);
note:
remember to close with printEndstr()
printPath - prints a gds2 path
usage:
$gds2File -> printPath(
-layer=>#,
-dataType=>#, ##optional
-pathType=>#,
-width=>#.#,
-unitWidth=>#, ## (optional) directly specify width in data base units (vs -width which is multipled by resolution)
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
);
note:
layer defaults to 0 if -layer not used
pathType defaults to 0 if -pathType not used
pathType 0 = square end
1 = round end
2 = square - extended 1/2 width
4 = custom plus variable path extension...
width defaults to 0.0 if -width not used
printBoundary - prints a gds2 boundary
usage:
$gds2File -> printBoundary(
-layer=>#,
-dataType=>#,
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
);
note:
layer defaults to 0 if -layer not used
dataType defaults to 0 if -dataType not used
printSref - prints a gds2 Structure REFerence
usage:
$gds2File -> printSref(
-name=>string, ## Name of structure
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better than -xy if you are modifying an existing GDS2 file)
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>0|1 ## (optional)
);
note:
best not to specify angle or mag if not needed
printAref - prints a gds2 Array REFerence
usage:
$gds2File -> printAref(
-name=>string, ## Name of structure
-columns=>#, ## Default is 1
-rows=>#, ## Default is 1
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>0|1 ## (optional)
);
note:
best not to specify angle or mag if not needed
printText - prints a gds2 Text
usage:
$gds2File -> printText(
-string=>string,
-layer=>#, ## Default is 0
-textType=>#, ## Default is 0
-font=>#, ## 0-3
-top, or -middle, -bottom, ##optional vertical presentation
-left, or -center, or -right, ##optional horizontal presentation
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
-x=>#.#, ## optional way of passing in x value
-y=>#.#, ## optional way of passing in y value
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>#, ## (optional) Default is 0
);
note:
best not to specify reflect, angle or mag if not needed
<<lessCreate Method
new - open gds2 file
usage:
my $gds2File = new GDS2(-fileName => "filename.gds2"); ## to read
my $gds2File2 = new GDS2(-fileName => ">filename.gds2"); ## to write
fileNum - file number...
usage:
close - close gds2 file
usage:
$gds2File -> close;
-or-
$gds2File -> close(-markEnd=>1); ## experimental -- some systems have trouble closing files
$gds2File -> close(-pad=>2048); ## experimental -- pad end with s till file size is a
## multiple of number. Note: old reel to reel tapes on Calma
## systems used 2048 byte blocks
High Level Write Methods
printInitLib() - Does all the things needed to start a library, writes HEADER,BGNLIB,LIBNAME,and UNITS records
The default is to create a library with a default unit of 1 micron that has a resolution of 1000. To get this set uUnit to 0.001 (1/1000) and the dbUnit to 1/1000th of a micron (1e-9). usage: $gds2File -> printInitLib(-name => "testlib", ## required -isoDate => 0|1 ## (optional) use ISO 4 digit date 2001 vs 101 -uUnit => real number ## (optional) default is 0.001 -dbUnit => real number ## (optional) default is 1e-9 );
## defaults to current date for library date
note:
remember to close library with printEndlib()
printBgnstr - Does all the things needed to start a structure definition
usage:
$gds2File -> printBgnstr(-name => "nand3" ## writes BGNSTR and STRNAME records
-isoDate => 1|0 ## (optional) use ISO 4 digit date 2001 vs 101
);
note:
remember to close with printEndstr()
printPath - prints a gds2 path
usage:
$gds2File -> printPath(
-layer=>#,
-dataType=>#, ##optional
-pathType=>#,
-width=>#.#,
-unitWidth=>#, ## (optional) directly specify width in data base units (vs -width which is multipled by resolution)
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
);
note:
layer defaults to 0 if -layer not used
pathType defaults to 0 if -pathType not used
pathType 0 = square end
1 = round end
2 = square - extended 1/2 width
4 = custom plus variable path extension...
width defaults to 0.0 if -width not used
printBoundary - prints a gds2 boundary
usage:
$gds2File -> printBoundary(
-layer=>#,
-dataType=>#,
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
);
note:
layer defaults to 0 if -layer not used
dataType defaults to 0 if -dataType not used
printSref - prints a gds2 Structure REFerence
usage:
$gds2File -> printSref(
-name=>string, ## Name of structure
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better than -xy if you are modifying an existing GDS2 file)
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>0|1 ## (optional)
);
note:
best not to specify angle or mag if not needed
printAref - prints a gds2 Array REFerence
usage:
$gds2File -> printAref(
-name=>string, ## Name of structure
-columns=>#, ## Default is 1
-rows=>#, ## Default is 1
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>0|1 ## (optional)
);
note:
best not to specify angle or mag if not needed
printText - prints a gds2 Text
usage:
$gds2File -> printText(
-string=>string,
-layer=>#, ## Default is 0
-textType=>#, ## Default is 0
-font=>#, ## 0-3
-top, or -middle, -bottom, ##optional vertical presentation
-left, or -center, or -right, ##optional horizontal presentation
-xy=>@array, ## array of reals
-xyInt=>@array, ## array of internal ints (optional -wks better if you are modifying an existing GDS2 file)
-x=>#.#, ## optional way of passing in x value
-y=>#.#, ## optional way of passing in y value
-angle=>#.#, ## (optional) Default is 0.0
-mag=>#.#, ## (optional) Default is 1.0
-reflect=>#, ## (optional) Default is 0
);
note:
best not to specify reflect, angle or mag if not needed
Download (0.010MB)
Added: 2007-05-17 License: Perl Artistic License Price:
536 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above defaults 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