Main > Free Download Search >

Free config 2.01 software for linux

config 2.01

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1125
JoeDog::Config 2.01

JoeDog::Config 2.01


JoeDog::Config provides a perl extension for parsing data/configuration file. more>>
JoeDog::Config provides a perl extension for parsing data/configuration file.

It reads columns, key-value pairs, and INI style config files into arrays, hashes and hashes of hashes. It can take characters or regexes for separators.

ABSTRACT:
This is a autoloadable module which allows the programmer
to read data from an configuration file into various perl
data types, arrays, multi-dimentional arrays and hashes.

INSTALLATION
JoeDog::Config.pm was built using perl Make::Maker utility
If you are familiar with that utility you should have no
problem with this installation as it will be familiar:

$ perl Makefile.PL
$ make
$ make test
$ su
$ make install

USAGE
use JoeDog::Config;
my $cnf = new JoeDog::Config(filename);
my @array = $cnf->get_column();
my @arrays = $cnf->get_columns(sep);
my @aoa = $cnf->get_table(sep,num);
my @aoa = $cnf->get_table(sep,[num1, num2, etc...]);
my %hash = $cnf->get_hash(sep);
my %hashes = $cnf->get_hashes(sep);
<<less
Download (0.014MB)
Added: 2007-03-23 License: GPL (GNU General Public License) Price:
945 downloads
Ntfs-config 1.0.1

Ntfs-config 1.0.1


Ntfs-config project can enable/disable NTFS write support with a simple click. more>>
Ntfs-config project can enable/disable NTFS write support with a simple click.
After year of developpement, a new NTFS drivers with full safe write capability is coming. Is name : ntfs-3g.
The driver status is still beta, but read/write feature is stable, and it is already use by thousands of people around the world.
The main point people are struggle with, is how configuring their system to be able to use it.
The aim of the ntfs-config project is to make life of people easier, by providing an easy way to enable/disable write capability for all their device, internal or external.
Main features:
- Automatic detection of none yet configure NTFS partition
- Enable/disable write support for internal device
- Enable/disable write support for external device
<<less
Download (0.037MB)
Added: 2007-07-17 License: GPL (GNU General Public License) Price:
513 downloads
livecoding 2.01

livecoding 2.01


Code reloading support library for Python more>>
livecoding 2.01 is yet another excellent utility for any developers It actually provides code reloading support library for Python.

There are two key facets this library:

  • The code reloading functionality it provides.
  • The bypassing of the standard module system with a custom one.

The standard module system is still there and continues to work with the custom one, but only the custom one is covered by the code reloading functionality of this library.

In order to decide whether you want the flexibility of the code reloading that this library provides, you need to decide whether you can live with writing the reloadable scripts within the custom module system.

Major Features:

  1. Automatic code reloading on script file changes.
  2. Less interruptions to developer workflow.
  3. Code reloading allows a running application to change its behaviour in response to changes in the Python scripts it uses. When the library detects a Python script has been modified, it reloads that script and replaces the objects it had previously made available for use with newly reloaded versions.
  4. As a tool, it allows a programmer to avoid interruption to their workflow and a corresponding loss of focus. It enables them to remain in a state of flow. Where previously they might have needed to restart the application in order to put changed code into effect, those changes can be applied immediately.

Requirements:

  • Python
<<less
Added: 2009-04-27 License: BSD License Price: FREE
12 downloads
Xmms::Config 0.12

Xmms::Config 0.12


Xmms::Config is a Perl Interface to xmms_cfg API. more>>
Xmms::Config is a Perl Interface to xmms_cfg API.

SYNOPSIS

my $file = Xmms::Config->file; #$ENV{HOME}/.xmms/config
my $cfg = Xmms::Config->new($file);

<<less
Download (0.18MB)
Added: 2007-04-23 License: Perl Artistic License Price:
914 downloads
Config::Magic 0.801

Config::Magic 0.801


Config::Magic is a Perl extension for reading all kinds of configuration files. more>>


SYNOPSIS

Example 1

use Config::Magic;
use Data::Dumper;

$input=q{
Section 1 {
[Section 4]
#Comment style #1
//Comment style #2
;Comment style #3
Monkey:1
Monkey=>2
Monkey:=3
< Section 2 >
Foo = Bar
Baz { Bip:1
Pants==5 }
< /Section >
< Tasty Cheese="3" / >
< Section 5 >
Foo=Bippity,boppity,boo
< /Section >
}
}
#Fastest way:
$config = new Config::Magic();
print Dumper($config->parse($input));

Example 2

use Config::Magic;
use Data::Dumper;
#Arguments with sorting $ordered_hash = 1; $config = new Config::Magic("input.conf",$ordered_hash); print Dumper($config->parse); $result = $config->get_result; print Dumper($result);

OUTPUT (from second example)

Section 1 => {
Section 4 => {
Monkey => [
1,
2,
3
]
},
Section => [
{
2 => {},
Foo => Bar,
Baz => {
Bip => 1,
Pants => 5
}
},
{
attribs=>5,
Foo => [
Bippity,
boppity,
boo
]
}
],
Tasty => {
Cheese => {
}
}

This module uses Parse::RecDescent to generate a parse tree for nearly any kind of configuration file. You can even combine files/configuration types. It understands XML, Apache-style, ini files, csv files, and pretty much everything else I could find. Just give it a file, and get a hash tree out. If it doesnt understand the file, or it isnt well formed (such as if a bracket is missing, etc), then you will get a partial result, or no result at all.

There is a single option that can be passed to this file which indicates that the resulting hash should be ordered rather than random. This is done using Tie::Hash::Indexed. You can also call "setordered" directly to change from using ordered to unordered hashes.

<<less
Download (0.020MB)
Added: 2007-04-12 License: Perl Artistic License Price:
624 downloads
dtRdr::Config 0.0.11

dtRdr::Config 0.0.11


dtRdr::Config is a Perl module with Factory class for configuration system. more>>
dtRdr::Config is a Perl module with Factory class for configuration system.

Factory Methods

factory_read_config

Constructor function (see new)

my $obj = factory_read_config($file);

new

$conf = dtRdr::Config->new($file);

get_library_info

my @libraries = $conf->get_library_info;

<<less
Download (2.8MB)
Added: 2007-03-14 License: Perl Artistic License Price:
955 downloads
Config::Std 0.0.4

Config::Std 0.0.4


Config::Std is a Perl module load and save configuration files in a standard format. more>>
Config::Std is a Perl module load and save configuration files in a standard format.

SYNOPSIS

use Config::Std;

# Load named config file into specified hash...
read_config demo2.cfg => my %config;

# Extract the value of a key/value pair from a specified section...
$config_value = $config{Section_label}{key};

# Change (or create) the value of a key/value pair...
$config{Other_section_label}{other_key} = $new_val;

# Update the config file from which this hash was loaded...
write_config %config;

# Write the config information to another file as well...
write_config %config, $other_file_name;

This module implements yet another damn configuration-file system.

The configuration language is deliberately simple and limited, and the module works hard to preserve as much information (section order, comments, etc.) as possible when a configuration file is updated.

See Chapter 19 of "Perl Best Practices" (OReilly, 2005) for the rationale for this approach.

<<less
Download (0.012MB)
Added: 2007-01-18 License: Perl Artistic License Price:
1009 downloads
Config::Fast 1.07

Config::Fast 1.07


Config::Fast is an extremely fast configuration file parser. more>>
Config::Fast is an extremely fast configuration file parser.

SYNOPSIS

# default config format is a space-separated file
company "Supercool, Inc."
support nobody@nowhere.com


# and then in Perl
use Config::Fast;

%cf = fastconfig;

print "Thanks for visiting $cf{company}!n";
print "Please contact $cf{support} for support.n";

This module is designed to provide an extremely lightweight way to parse moderately complex configuration files. As such, it exports a single function - fastconfig() - and does not provide any OO access methods. Still, it is fairly full-featured.

Heres how it works:

%cf = fastconfig($file, $delim);

Basically, the fastconfig() function returns a hash of keys and values based on the directives in your configuration file. By default, directives and values are separated by whitespace in the config file, but this can be easily changed with the delimiter argument (see below).

When the configuration file is read, its modification time is first checked and the results cached. On each call to fastconfig(), if the config file has been changed, then the file is reread. Otherwise, the cached results are returned automatically. This makes this module great for mod_perl modules and scripts, one of the primary reasons I wrote it. Simply include this at the top of your script or inside of your constructor function:

my %cf = fastconfig(/path/to/config/file.conf);

If the file argument is omitted, then fastconfig() looks for a file named $0.conf in the ../etc directory relative to the executable. For example, if you ran:

/usr/local/bin/myapp

Then fastconfig() will automatically look for:

/usr/local/etc/myapp.conf

This is great if youre really lazy and always in a hurry, like I am.

If this doesnt work for you, simply supply a filename manually. Note that filename generation does not work in mod_perl, so youll need to supply a filename manually.

<<less
Download (0.010MB)
Added: 2007-08-11 License: Perl Artistic License Price:
805 downloads
PXP::Config 0.1.2

PXP::Config 0.1.2


PXP::Config is a Perl module for PXP configuration. more>>
PXP::Config is a Perl module for PXP configuration.

SYNOPSIS

# do this only once at server initialization:
PXP::Config::init(file=>$finename);
# then from anywhere:
my $global_configuration_hash = PXP::Config::getGlobal();
# only from a plugin class:
my $plugin_configuration_hash = PXP::Config::get();

PXP::Config is a PXP component which provides a unified and simplified API for the PXP server and PXP plugins to read and store there configuration.

PXP::Config uses the XML::Simple module to access a centralized XML configuration file. This file (/opt/etc/imc.xml by default) contains root element named imc which has a global child for the PXP server configuration and a plugins child which has itself a child per plugin configuration (the child name must be the plugin name for this class to automatically retrieve a plugin configuration.

As plugins configurations are retrived by plugin name in a centralized location, the only thing a plugin has to do in order to get its configuration is to call the PXP::Config::get() method which returns a hash convertion of the plugin XML configuration.

Configuring plugins can be made in two manners:

1) the simple way - use it when you dont need to update the configuration from the application itself and when your plugin configuration has a very simple structure:
simply add a tag with the name of your plugin in the etc/imc.xml file, the plugin configuration can then be accessed as a has by calling the PXP::Config::get() method
2) the sophisticated way - use it in other cases:
create a new package in a file MyConfig/PLUGIN_NAME.pm under your plugin directory
in this file, define a package that inherits from PXP::MyConfig class and which overrode the config, loadFile and synchro methods (see plugins/LogViewer/MyConfig/LogViewer.pm for an example)

edit your plugin.xml and add your new package as an extension to the PXP::MyConfig extension point:

< extension
id="MyConfig::LogViewer"
name="Plugin configuration"
version="0.1"
point="IMC::MyConfig"/ >

< file value=/tmp/imc.xml/ >

< /extension >

You can ommit the file tag, configuration file will then default to the main configuration file (the one passed to the server with the -c switch or etc/imc.xml by default).

See the PXP::Config and PXP::MyConfig APIs for using configuration inside plugins.

<<less
Download (0.014MB)
Added: 2006-09-19 License: Perl Artistic License Price:
1134 downloads
MRTG::Config 0.04

MRTG::Config 0.04


MRTG::Config is a Perl module for parsing MRTG configuration files. more>>
MRTG::Config is a Perl module for parsing MRTG configuration files.

WARNING

This module, while reliable right now, is still in ALPHA stages of development... The API/methods may change. Behaviors of methods will almost certainly change. The internal structure of data will change, as will many other things.

I will try to always release working versions, but anyone who expects their code that uses this module to continue working shouldnt... until I remove this warning.

SYNOPSIS

Ever have the need to parse an MRTG config file? I have. I needed to parse lots and lots of them. Using the functions built-in to MRTG_lib was too slow, too complex, and used too much RAM and CPU time for my poor web server to handle - and the data structures MRTG_lib built were way more complex than I needed.

MRTG::Config can load and parse MRTG and MRTG-style confiuguration files very quickly, and the parsed directives, targets and values can be located, extracted, and manipulated through an OO interface.

This module is intended to focus on correctly parsing the format of an MRTG configuration, regardless of whether or not the directives and values, etc. are valid for MRTG. I am using both the parsing behavior of MRTG_libs readcfg() function and the description of the format on the MRTG website as my guidelines on how to correctly parse these configuration files. I am still a short way off that goal, but this module is currently being used in a production environment with great success!

PLEA FOR MERCY

I plan on adding to this documentation and making it better organized soon, but Im willing to answer questions directly in the mean time. Also, this is my first module, written in a hurry to appease some disgruntled engineers. I do plan on continuing to improve it, so any input, positive or negative is certainly welcome!

USAGE EXAMPLE

use MRTG::Config;

my $cfgFile = mrtg.cfg;
my $persist_file = mrtg.cfg.db;

my $mrtgCfg = new MRTG::Config;

$mrtgCfg->loadparse($cfgFile);

# Want to store the parsed data for use later or by
# another program?
$mrtgCfg->persist_file($persist_file);
$mrtgCfg->persist(1);

foreach my $tgtName (@{$mrtgCfg->targets()}) {
my $tgtCfg = $mrtgCfg->target($tgtName);
# Lets assume every target has a Title.
print $tgtCfg->{title} . "n";
}

# globals() has some, um, interesting things you
# should know. Please read about it below...
my $globalCfg = $mrtgCfg->globals();

# Lets assume WorkDir is set.
print $globalCfg->{workdir} . "n";

<<less
Download (0.012MB)
Added: 2007-07-26 License: Perl Artistic License Price:
824 downloads
PWC-Config 0.8

PWC-Config 0.8


PWC-Config is a graphical user interface for configuring all Web cameras supported by the PWC driver. more>>
PWC-Config is a graphical user interface for configuring all Web cameras supported by the PWC driver.

The following cameras are currently supported by this driver:

PCA645VC
PCA646VC
PCVC675K "Vesta"
PCVC680K "Vesta Pro"
PCVC690K "Vesta Scan"
PCVC720K/40 "ToUCam XS" (!)
PCVC730K "ToUCam Fun"
PCVC740K "ToUCam Pro"
PCVC750K "ToUCam Scan"
Askey VC010
Creative Labs Webcam 5
Creative Labs Webcam Pro Ex (soon)
Logitech QuickCam 3000 Pro
Logitech QuickCam 4000 Pro
Logitech QuickCam Notebook Pro
Logitech QuickCam Zoom
Samsung MPC-C10, MPC-C30
Sotec Afina Eye
Visionite VCS UM100, UC300

To install follow these steps:

First, as your normal user, type in the following:
./configure
make

Once that finishes, the program will be installed into the src directory.
Alternatively, by logging in as root you can install it into
/usr/local/bin/cam by typing:

make install
<<less
Download (0.077MB)
Added: 2006-06-22 License: GPL (GNU General Public License) Price:
711 downloads
wac 2.01

wac 2.01


wac is a console tool for slicing sound files. more>>
wac is free and licensed under the General Public License that you can use it, modify it at your convenience.

If you plan to embed it in a (commercial) package, remember this package has to conform with the General Public License.

Installation:

tar -xzf wac-2.01.tgz
cd wac-2.01
./configure
make
su -c "make install"
<<less
Download (0.092MB)
Added: 2005-11-14 License: GPL (GNU General Public License) Price:
1440 downloads
LZO 2.01

LZO 2.01


LZO is a portable lossless data compression library written in ANSI C. more>>
LZO is a data compression library which is suitable for data de-/compression in real-time. This means it favours speed over compression ratio.
LZO is written in ANSI C. Both the source code and the compressed data format are designed to be portable across platforms.
Main features:
- Decompression is simple and *very* fast.
- Requires no memory for decompression.
- Compression is pretty fast.
- Requires 64 kB of memory for compression.
- Allows you to dial up extra compression at a speed cost in the compressor. The speed of the decompressor is not reduced.
- Includes compression levels for generating pre-compressed data which achieve a quite competitive compression ratio.
- There is also a compression level which needs only 8 kB for compression.
- Algorithm is thread safe.
- Algorithm is lossless.
Enhancements:
- Changed the configure system to install the LZO library under the name "liblzo2" so that parallel installation with LZO v1 is possible.
- Improved auto-configuration in miniLZO for some embedded targets like Blackfin and H8/300 processors.
<<less
Download (0.57MB)
Added: 2005-06-28 License: GPL (GNU General Public License) Price:
1581 downloads
Config::FreeForm 0.01

Config::FreeForm 0.01


Config::FreeForm is a Perl module that provides in-memory configuration data. more>>
Config::FreeForm is a Perl module that provides in-memory configuration data.

SYNOPSIS

use Config::FreeForm %options;

Config::FreeForm provides in-memory configuration data in a free-form manner. Many existing configuration modules attempt to provide some structure to your configuration data; in doing so, they force you to use their own configuration paradigm (association of keywords with values, etc.). Often this isnt what you need in a complex application--you need complete control over your configuration data, and you need the ability to structure it however you like. This is what Config::FreeForm gives you.

In Config::FreeForm configuration data is stored as a Perl data structure. The logic behind this is that you know Perl--you shouldnt need to learn another little language to set up your configuration data, however simple that language may be. Of course, this works best if programmers or tools do the updating of your configuration files; it does make it more difficult for other possible users to edit the files. If this is a problem for you, try some of the other configuration modules listed in MISCELLANEOUS.

Still here? Good. You might then ask what Config::FreeForm gives you that rolling your own light module using Data::Dumper and do would not. Its a good question, considering in particular that Config::FreeForm uses Data::Dumper and do to write and read your data, respectively. Config::FreeForm adds some very nice features, though:

Configuration File Management

So as not to clutter one file with configuration for all purposes, you can separate your configuration data into multiple files, and specify which files to load when you load in the module:

use Config::FreeForm sets => [ ... ];

Config::FreeForm manages the various configuration files that youve told it to load, and lets you update your data in memory, then write it back to its original location on disk, using the rewrite function (below, in UPDATING CONFIGURATION).

Automated Reloading

In a mod_perl context, your configuration data will be loaded once, at webserver startup; subsequent access to the configuration data will come from memory. If you update your configuration on disk, then, youll want those changes to be reflected in the in-memory versions of the configuration. Config::FreeForm will handle this automatically for you if you install it as a PerlInitHandler on your mod_perl-enabled server. For more details, see AUTOMATED RELOADING, below.

<<less
Download (0.005MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
Config::JSON 1.0.3

Config::JSON 1.0.3


Config::JSON is a JSON based config file system. more>>
Config::JSON is a JSON based config file system.

SYNOPSIS

use Config::JSON;

my $config = Config::JSON->create($pathToFile);
my $config = Config::JSON->new($pathToFile);

my $element = $config->get($param);

$config->set($param,$value);

$config->delete($param);
$config->deleteFromHash($name, $key);
$config->deleteFromArray($name, $value);

$config->addToHash($name, $key, $value);
$config->addToArray($name, $value);

my $path = $config->getFilename;
Example Config File
# config-file-type: JSON 1

{
"dsn" : "DBI:mysql:test",
"user" : "tester",
"password" : "xxxxxx",

# some colors to choose from
"colors" : [ "red", "green", "blue" ],

# some statistics
"stats" : {
"health" : 32,
"vitality" : 11
}
}

Note that you can put comments in the config file as long as # is the first non-space character on the line. However, if you use this API to write to the config file, your comments will be eliminated.

<<less
Download (0.005MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5