Main > Free Download Search >

Free self contained software for linux

self contained

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3482
Class::Container 0.12

Class::Container 0.12


Class::Container is a Perl module with Glues object frameworks together transparently. more>>
Class::Container is a Perl module with Glues object frameworks together transparently.

SYNOPSIS

package Car;
use Class::Container;
@ISA = qw(Class::Container);

__PACKAGE__->valid_params
(
paint => {default => burgundy},
style => {default => coupe},
windshield => {isa => Glass},
radio => {isa => Audio::Device},
);

__PACKAGE__->contained_objects
(
windshield => Glass::Shatterproof,
wheel => { class => Vehicle::Wheel,
delayed => 1 },
radio => Audio::MP3,
);

sub new {
my $package = shift;

# windshield and radio objects are created automatically by
# SUPER::new()
my $self = $package->SUPER::new(@_);

$self->{right_wheel} = $self->create_delayed_object(wheel);
... do any more initialization here ...
return $self;
}

This class facilitates building frameworks of several classes that inter-operate. It was first designed and built for HTML::Mason, in which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and several other objects must create each other transparently, passing the appropriate parameters to the right class, possibly substituting other subclasses for any of these objects.

The main features of Class::Container are:

Explicit declaration of containment relationships (aggregation, factory creation, etc.)
Declaration of constructor parameters accepted by each member in a class framework
Transparent passing of constructor parameters to the class that needs them
Ability to create one (automatic) or many (manual) contained objects automatically and transparently

<<less
Download (0.019MB)
Added: 2006-10-06 License: Perl Artistic License Price:
1113 downloads
Class::Accessor::Fast::Contained 0.05

Class::Accessor::Fast::Contained 0.05


Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment. more>>
Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment.

SYNOPSIS

package Foo;
use base qw(Class::Accessor::Fast::Contained);

# The rest is the same as Class::Accessor::Fast

This module does two things differently to the venerable Class::Accessor::Fast :

Fields are stored at arms-length within a single hash value of $self, rather than directly in the $self blessed referent.
new() allows mixin into an existing object, rather than creating and returning a new blessed hashref. To do this, just call something like:

my $self = Some::Other::Class->new;
$self = $self->Class::Accessor::Fast::Contained::new;

Note that the mixin code only supports objects which use a blessed hash reference or a blessed typeglob reference.
An alias setup() is available which does the same as new() but might make more sense if being used in this way.

<<less
Download (0.005MB)
Added: 2007-03-15 License: GPL (GNU General Public License) Price:
953 downloads
DBIx::EnumConstraints 0.01

DBIx::EnumConstraints 0.01


DBIx::EnumConstraints is a Perl module that generates enum-like SQL constraints. more>>
DBIx::EnumConstraints is a Perl module that generates enum-like SQL constraints.

SYNOPSIS

use DBIx::EnumConstraints;

my $ec = DBIx::EnumConstraints->new({
name => kind, fields => [ [ k1, a, b ]
, [ k2, b ] ]
});

# get enum field definition
my $edef = $ec->enum_definition;

# $edef is now kind smallint not null check (kind > 0 and kind < 2)

# get constraints array
my @cons = $ec->constraints;

# @cons is now (
# constraint k1_has_a check (kind 1 or a is not null)
# , constraint k1_has_b check (kind 1 or a is not null)
# , constraint k2_has_b check (kind 2 or b is not null)
# , constraint k2_has_no_a check (kind 2 or a is null))

This module generates SQL statements for enforcing enum semantics on the database columns.

Enum columns is the column which can get one of 1 .. k values. For each of those values there are other columns which should or should not be null.
For example in the SYNOPSIS above, when kind column is 1 the row should have both of a and b columns not null. When kind column is 2 the row should have a but no b columns.

CONSTRUCTORS

$class->new($args)

$args should be HASH reference containing the following parameters:

name

The name of the enum.

fields

Array of arrays describing fields dependent on the enum. Each row is index is the possible value of enum minus 1 (e.g. row number 1 is for enum value 2).
First item in the array is the state name. The rest of the items are field names. There is a possibility to mark optional fields by using trailing ? (e.g. b? denotes an optional b field.

METHODS

$self->enum_definition

Returns the definition of enum column. See SYNOPSIS for example.

$self->for_each_kind($callback)

Runs $callback over registered enum states. For each state passes state name, fields which are in the state and fields which are out of the state.

The fields are passed as ARRAY references.

$self->constraints

Returns the list of generated constraints. See SYNOPSIS above for an example.

<<less
Download (0.010MB)
Added: 2007-07-24 License: Perl Artistic License Price:
822 downloads
GFA Fractal Imager 0.1

GFA Fractal Imager 0.1


GFA Fractal Imager is a imager which uses a simple visual construction mechanism. more>>
GFA Fractal Imager project is a imager which uses a simple visual construction mechanism.
Generalized Finite Automata (GFA) Imager is a simple Java Applet which creates fractal images using an intuitive visual representation of finite automata
Try clicking in the applet area to the right :
You may create links between quadrants and "states" by click-dragging from a quadrant to the state
Self-links between a quadrant and the state it belongs to is allowed (try self-linking all 4 quadrants of a state)
Enhancements:
- This contains the HTML and the applet class files to run stand alone.
<<less
Download (0.014MB)
Added: 2006-12-27 License: GPL (GNU General Public License) Price:
606 downloads
Self-certifying File System 0.7.2

Self-certifying File System 0.7.2


Self-certifying File System provides a secure, global network file system with decentralized control. more>>
Self-certifying File System provides a secure, global network file system with decentralized control.

SFS is a secure, global network file system with completely decentralized control. SFS lets you access your files from anywhere and share them with anyone, anywhere.

Anyone can set up an SFS server, and any user can access any server from any client.

At the same time, SFS uses strong cryptography to provide security over untrusted networks.

Thus, you can safely share files across administrative realms without involving administrators or certification authorities.

<<less
Download (1.2MB)
Added: 2007-02-24 License: GPL (GNU General Public License) Price:
979 downloads
makeself 2.1.4

makeself 2.1.4


makeself is a script to create self-extractable compressed tar archives. more>>
makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is.
The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed (for example an installation script). This is pretty similar to archives generated with WinZip Self-Extractor in the Windows world. Makeself archives also include checksums for integrity self-validation (CRC and/or MD5 checksums).
The makeself.sh script itself is used only to create the archives from a directory of files. The resultant archive is actually a compressed (using gzip, bzip2, or compress) TAR archive, with a small shell script stub at the beginning.
This small stub performs all the steps of extracting the files, running the embedded command, and removing the temporary files when its all over. All what the user has to do to install the software contained in such an archive is to "run" the archive, i.e sh nice-software.run.
I recommend using the "run" (which was introduced by some Makeself archives released by Loki Software) or "sh" suffix for such archives not to confuse the users, since they know its actually shell scripts (with quite a lot of binary data attached to it though!).
Usage
The syntax of makeself is the following:
makeself.sh [args] archive_dir file_name label startup_script [script_args]
args are optional options for Makeself. The available ones are :
--version : Prints the version number on stdout, then exits immediately
--gzip : Use gzip for compression (is the default on platforms on which gzip is commonly available, like Linux)
--bzip2 : Use bzip2 instead of gzip for better compression. The bzip2 command must be available in the command path. I recommend that you set the prefix to something like .bz2.run for the archive, so that potential users know that theyll need bzip2 to extract it.
--compress : Use the UNIX "compress" command to compress the data. This should be the default on all platforms that dont have gzip available.
--nocomp : Do not use any compression for the archive, which will then be an uncompressed TAR.
--notemp : The generated archive will not extract the files to a temporary directory, but in a new directory created in the current directory. This is better to distribute software packages that may extract and compile by themselves (i.e. launch the compilation through the embedded script).
--current : Files will be extracted to the current directory, instead of in a subdirectory. This option implies --notemp above.
--follow : Follow the symbolic links inside of the archive directory, i.e. store the files that are being pointed to instead of the links themselves.
--append (new in 2.1.x): Append data to an existing archive, instead of creating a new one. In this mode, the settings from the original archive are reused (compression type, label, embedded script), and thus dont need to be specified again on the command line.
--header : Makeself 2.0 uses a separate file to store the header stub, called "makeself-header.sh". By default, it is assumed that it is stored in the same location as makeself.sh. This option can be used to specify its actual location if it is stored someplace else.
--copy : Upon extraction, the archive will first extract itself to a temporary directory. The main application of this is to allow self-contained installers stored in a Makeself archive on a CD, when the installer program will later need to unmount the CD and allow a new one to be inserted. This prevents "Filesystem busy" errors for installers that span multiple CDs.
--nox11 : Disable the automatic spawning of a new terminal in X11.
--nowait : When executed from a new X11 terminal, disable the user prompt at the end of the script execution.
--nomd5 and --nocrc : Disable the creation of a MD5 / CRC checksum for the archive. This speeds up the extraction process if integrity checking is not necessary.
--lsm file : Provide and LSM file to makeself, that will be embedded in the generated archive. LSM files are describing a software package in a way that is easily parseable. The LSM entry can then be later retrieved using the -lsm argument to the archive. An exemple of a LSM file is provided with Makeself.
archive_dir is the name of the directory that contains the files to be archived
file_name is the name of the archive to be created
label is an arbitrary text string describing the package. It will be displayed while extracting the files.
startup_script is the command to be executed from within the directory of extracted files. Thus, if you wish to execute a program contain in this directory, you must prefix your command with "./". For example, ./program will be fine. The script_args are additionnal arguments for this command.
Enhancements:
- Fixed --info output.
- Generate random directory name when extracting files to . to avoid problems.
- Better handling of errors with wrong permissions for the directory containing the files.
- Avoid some race conditions, Unset the $CDPATH variable to avoid problems if it is set. Better handling of dot files in the archive directory.
<<less
Download (0.035MB)
Added: 2005-06-03 License: GPL (GNU General Public License) Price:
1610 downloads
Devel::Carnivore 0.09

Devel::Carnivore 0.09


Devel::Carnivore is a Perl module to spy on your hashes (and objects). more>>
Devel::Carnivore is a Perl module to spy on your hashes (and objects).

SYNOPSIS

use Devel::Carnivore;

sub new_attribute {
my %self : Watch("myName") = ();

bless %self, shift;
}

sub new_functional {
my $self = {};
watch $self, "myName";
bless $self
}

sub new_blessed {
my $self = {};
bless $self;
watch $self, "myName";
return $self;
}

sub new_scalar_attribute {
my $self : Watch("myName") = {};
bless $self
}

This module allows you to debug your hashes and, in particular, your objects based on hashes without using the perl debugger. There are several good reasons to do this. Among them:

1) Youre too stupid to use the perl debugger (This is true for me)

2) Youre building web applications and the perl debugger doesnt work very well in that environment

Obviously, this module does not provide you with a complete debugger. All it does is helping you keep track of the state changes which occur to your objects.

Output

By default all output is written to STDERR. You may change this behavior by assigning a valid output filehandle to $Devel::Carnivore::OUT.

Everytime the hash which is being watched by this module is assigned to, a message like this is created: > ProgLang: "cool" changed from "Java" to "Perl" at devel.pl line 30

So what does this tell you?

You have a Perl file named devel.pl. On line 30 your code changed the value of the key "cool" from "Java" to "Perl". In order, to identify this hash you optionally named it "ProgLang".

<<less
Download (0.007MB)
Added: 2006-10-03 License: Perl Artistic License Price:
1116 downloads
Asterisk::FastAGI 0.01

Asterisk::FastAGI 0.01


Asterisk::FastAGI is a Perl module for FastAGI handling. more>>
Asterisk::FastAGI is a Perl module for FastAGI handling.

SYNOPSIS

use base Asterisk::FastAGI;

sub fastagi_handler {
my $self = shift;

my $param = $self->param(foo);
my $callerid = $self->input(calleridname);

$self->agi->say_number(1000);
}

Asterisk::FastAGI provides a preforking daemon for handling FastAGI requests from Asterisk.

Read the Net::Server for more information about the logging facilities, configuration, etc.

USAGE EXAMPLE

First you need a module containing all of your AGI handlers.

package MyAGI;

use base Asterisk::FastAGI;

sub agi_handler {
my $self = shift;
$self->agi->say_number(8675309);
}

Then you simply need to have a script that runs the daemon.

#!/usr/bin/perl
use MyAGI;

MyAGI->run();

When it is run it creates a preforking daemon on port 4573. That is the default port for FastAGI. Read the Net::Server documentation on how to change this and many other options.

<<less
Download (0.003MB)
Added: 2007-05-25 License: Perl Artistic License Price:
896 downloads
XLRSecTool for Linux 1.0

XLRSecTool for Linux 1.0


XLRSecTool helps creating either self-signed certificates or trusted CA (Cert... more>> XLRSecTool helps creating either self-signed certificates or trusted CA (Certificate Authority).Once the certificate issued, you may sign your documents (JAR or XLR), applications, and applets (for use with SUNs JavaPlugin)The appli contains a step-by-step help to create your trusted certificate issued by Thawte or Verisign certificate authorities.<<less
Download (25.40MB)
Added: 2009-04-18 License: Freeware Price: Free
188 downloads
Log::Delimited 0.90

Log::Delimited 0.90


Log::Delimited is a simple module to help log results. more>>
Log::Delimited is a simple module to help log results.

SYNOPSIS

#!/usr/bin/perl -w

use strict; use Log::Delimited;

my $log = Log::Delimited->new({ log_cols => [url, step, elapsed], log_info => [http://slap.com/cgi-bin/slow_script, step 1, 99993.0923], })->log;

$log->{log_info} = [http://slap.com/cgi-bin/slow_script, step 2, 8.3240]; $log->log;

Log is sort of a dumb program that leads to sort of smart stuff.

It takes some columns (this, that, else), some data (rulz, rocks!, do something) and a delimiter (|), and makes a file that looks like this

this|that|else

my_hostname|12342|1000204952|rulz|rocksrocks%21|do+something

the first row is a join($delimiter, @column_names), the second (in a little pseudo code) forms

@data = ($hostname, $pid, time, $array_ref_of_your_passed_data)

then forms the row with join($delimiter, URLEncode(@data)). By the way, you can turn off the hostname, pid and time inclusion, but in most applications, they have come in handy. To turn them off just set which applies from below

$self->{no_hostname} = 1;
$self->{no_pid} = 1;
$self->{no_time} = 1;

To turn off Url encoding, just set

$self->{no_URLEncode} = 1;

In this document, $self is a Log::Delimited object.

The log directory is

$self->{base_dir} = "/tmp/logs"; $self->{log_dir} ||= "$self->{base_dir}/$self->{log_node}";

Log uses the last part of your script name ($0) for the log_node if you dont pass one.

The log file is

$self->{log_filename} ||= "$self->{log_dir}/$self->{log_name}";

Log uses the last part of your script name ($0) for the log_name if you dont pass one.

Since logs can get to be quite large, you can easily zip, by doing

$self->zip;

If you have a large log, where size is a bigger issue than speed you can do

$self->log_zipped;

which will result in just a zipped log file.

<<less
Download (0.004MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1086 downloads
EventCal 0.42

EventCal 0.42


EventCal project is a calendar class that allows events to be managed and output to HTML in daily, weekly, and monthly views. more>>
EventCal project is a calendar class that allows events to be managed and output to HTML in daily, weekly, and monthly views.
Classes
class Calendar
Methods defined here:
__init__(self, language=en)
Creates an empty event list and sets the language
add(self, event)
cell(self, type=free, s=)
dayview(self, day, month=1, year=2007, smallify=False)
Generates a two-column table for the specific day with one column
holding the hours and the other holding any events
eventlist(self)
Generates an unordered list with all events listed
monthview(self, month=1, year=2007, smallify=False)
setlang(self, language)
Sets the months and week day names to the appropriate language
weekview(self, day, month=1, year=2007, smallify=False)
class Event
Events are only specific down to the hour. start and length are hours.
Methods defined here:
__cmp__(self, other)
Comparison method. Returns true if the day, month and year match
__init__(self, message, start, length, day, month, year)
__repr__(self)
Functions
am_pm(x)
Convert 24hour integer to 12hour string i.e. 13 becomes 1pm
geteventdayname(event)
interval(startHour, length)
Returns a string: startHour(am/pm) to startHour+length(am/pm). 12 noon is replaced with noon
shiftday(day)
Shifts from Sun-Sat to Mon-Sun
today(smallify=False)
weekday(day, month, year)
Returns the day of the week from 0-6 starting from Monday
Data
daynames = [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
mdays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
months = [January, February, March, April, May, June, July, August, September, October, November, December
Enhancements:
- All strings were converted to use Unicode.
- Spanish translations for day and month names were added.
- __getattr__ was replaced with properties.
- String replacer body were replaced with calls to re.sub so the $ can be escaped with a backslash.
- The first week of monthview was fixed to properly replace format.
- About 20 lines of code that generated the first week in the monthview were removed.
<<less
Download (0.008MB)
Added: 2007-07-18 License: MIT/X Consortium License Price:
838 downloads
Catalyst::Controller::Constraints 0.10_02

Catalyst::Controller::Constraints 0.10_02


Catalyst::Controller::Constraints contains Constraint Signatures for Controller Actions. more>>
Catalyst::Controller::Constraints contains Constraint Signatures for Controller Actions.

SYNOPSIS

package MyApp::Controller::Foo;
...
use base qw(Catalyst::Controller::Constraints);

__PACKAGE__->config(
constraints => {

# allow only digits for type Integer
Integer => qr/^d+$/,

# allow only word chars for type Word
Word => sub { /^w+$/ },

# validate user id and inflate to object
User => {

# check the user id
check => sub {
my ( $self, $c, $id ) = @_;
return $c->is_valid_user_id( $id );
},

# forward to this action if the validation failed
on_fail => invalid_user,

# if value is valid, run it through this filter
# afterwards
post_filter => sub {
my ( $self, $c, $id ) = @_;
$c->fetch_user_by_id( $id );
},
}

# inheritance
HighInteger => {
inherit_from => Integer,
check => sub { $_ > 22 },
},

# collapse multiple arguments
MyDate => {

# take three integers and return one value
takes => 3,
gives => 1,

# inflate to a datetime object
post_filter => sub {
my ( $self, $c, $y, $m, $d ) = @_;
DateTime->new(
year => $y, month => $m, day => $d );
}
}
}
);

# add two integers, just throws exception on constraint failure
sub add : Local Args(2) Constraints(Integer a, Integer b) {
my ( $self, $c ) = @_;
$c->res->body( $_{a} + $_{b} );
}

# puts the word into the stash, under the key foo
sub stashword : Local Args(1) Constraints( Word foo* ) { }

# user_obj ends as a user object in the stash
sub view_user : Local Args(1) Constraints( User user_obj* ) { }
sub invalid_user : Private {
# handle invalid userid
}

1;

<<less
Download (0.025MB)
Added: 2007-07-27 License: Perl Artistic License Price:
820 downloads
Simple IPTABLES firewall 0.6

Simple IPTABLES firewall 0.6


Simple IPTABLES firewall is a very simple firewall constructed with basic iptables commands. more>>
Simple IPTABLES firewall is a very simple firewall constructed with basic iptables commands. It is meant to be a guideline only, since any firewall is specific to the services the host offers, and the services the administrator permits local users to use.

NOTE: As is, the script only allows ident (port 113) requests, ftp only works in PASV mode from the client side, IRC DCC sends and chats initiated from behind the firewall are blocked, but incoming DCC requests work (hint: to DCC chat from behind this firewall, use /ctcp nick chat). ICQ is also broken in a few ways, although you can send messages.

This is a self contained script, and it assumes kernel support, and modules.
<<less
Download (0.003MB)
Added: 2007-02-13 License: GPL (GNU General Public License) Price:
1023 downloads
Wiki on a Stick 0.9.3

Wiki on a Stick 0.9.3


Wiki on a Stick is a personal wiki that lives in a single self-modifying HTML file that contains the software, interface... more>>
Wiki on a Stick is a personal wiki that lives in a single self-modifying HTML file that contains the software, interface, and database.

Its useful for taking notes, for use as a calendar, and for documenting software, etc. Wiki on a Stick currently only works in Firefox

<<less
Download (0.042MB)
Added: 2007-07-11 License: GPL (GNU General Public License) Price:
839 downloads
Object::InsideOut 3.17

Object::InsideOut 3.17


Object::InsideOut is a comprehensive inside-out object support module. more>>
Object::InsideOut is a comprehensive inside-out object support module.

SYNOPSIS

package My::Class; {
use Object::InsideOut;

# Numeric field
# With combined get+set accessor
my @data
:Field
:Type(numeric)
:Accessor(data);

# Takes INPUT (or input, etc.) as a mandatory parameter to ->new()
my %init_args :InitArgs = (
INPUT => {
Regex => qr/^input$/i,
Mandatory => 1,
Type => numeriC,
},
);

# Handle class-specific args as part of ->new()
sub init :Init
{
my ($self, $args) = @_;

# Put input parameter into data field
$self->set(@data, $args->{INPUT});
}
}

package My::Class::Sub; {
use Object::InsideOut qw(My::Class);

# List field
# With standard get_X and set_X accessors
# Takes INFO as an optional list parameter to ->new()
# Value automatically added to @info array
# Defaults to [ empty ]
my @info
:Field
:Type(list)
:Standard(info)
:Arg(Name => INFO, Default => empty);
}

package Foo; {
use Object::InsideOut;

# Field containing My::Class objects
# With combined accessor
# Plus automatic parameter processing on object creation
my @foo
:Field
:Type(My::Class)
:All(foo);
}

package main;

my $obj = My::Class::Sub->new(Input => 69);
my $info = $obj->get_info(); # [ empty ]
my $data = $obj->data(); # 69
$obj->data(42);
$data = $obj->data(); # 42

$obj = My::Class::Sub->new(INFO => help, INPUT => 86);
$data = $obj->data(); # 86
$info = $obj->get_info(); # [ help ]
$obj->set_info(qw(foo bar baz));
$info = $obj->get_info(); # [ foo, bar, baz ]

my $foo_obj = Foo->new(foo => $obj);
$foo_obj->foo()->data(); # 86

<<less
Download (0.010MB)
Added: 2007-05-18 License: Perl Artistic License Price:
889 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5