Main > Free Download Search >

Free sn software for linux

sn

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 57
sn-webcam 0.8.0

sn-webcam 0.8.0


sn-webcam is a program that captures and displays frames from an sn9c102-based Sonix/Microdia Webcam. more>>
sn-webcam is a program that captures and displays frames from an sn9c102-based Sonix/Microdia Webcam, using Video for Linux 2 and the sn9c102 USB driver. sn-webcam project also allows the user to upload the captured images by FTP.

<<less
Download (0.21MB)
Added: 2005-12-28 License: GPL (GNU General Public License) Price:
1428 downloads
SimpleIni 4.3

SimpleIni 4.3


SimpleIni is a cross-platform library that provides a simple API to read and write INI-style configuration files. more>>
SimpleIni is a cross-platform library that provides a simple API to read and write INI-style configuration files. It supports data files in ASCII, MBCS and Unicode.
It is designed explicitly to be portable to any platform and has been tested on Windows and Linux. Released as open-source and free using the MIT licence.
Examples:
These snippets are included with the distribution in the file snippets.cpp.
LOADING DATA
load from a data file
CSimpleIniA ini(a_bIsUtf8, a_bUseMultiKey, a_bUseMultiLine);
SI_Error rc = ini.LoadFile(a_pszFile);
if (rc < 0) return false;
load from a string
std::string strData;
rc = ini.Load(strData.c_str(), strData.size());
if (rc < 0) return false;
GETTING SECTIONS AND KEYS
get all sections
CSimpleIniA::TNamesDepend sections;
ini.GetAllSections(sections);
get all keys in a section
CSimpleIniA::TNamesDepend keys;
ini.GetAllKeys("section-name", keys);
GETTING VALUES
get the value of a key
const char * pszValue = ini.GetValue("section-name",
"key-name", NULL /*default*/);
get the value of a key which may have multiple values. If bHasMultipleValues is true, then just one value has been returned
bool bHasMultipleValues;
pszValue = ini.GetValue("section-name", "key-name",
NULL /*default*/, &bHasMultipleValues);
get all values of a key with multiple values
CSimpleIniA::TNamesDepend values;
ini.GetAllValues("section-name", "key-name", values);
sort the values into the original load order
values.sort(CSimpleIniA::Entry::LoadOrder());
output all of the items
CSimpleIniA::TNamesDepend::const_iterator i;
for (i = values.begin(); i != values.end(); ++i) {
printf("key-name = %sn", i->pItem);
}
MODIFYING DATA
adding a new section
rc = ini.SetValue("new-section", NULL, NULL);
if (rc < 0) return false;
printf("section: %sn", rc == SI_INSERTED ?
"inserted" : "updated");
adding a new key ("new-section" will be added automatically if it doesnt already exist)
rc = ini.SetValue("new-section", "new-key", "value");
if (rc < 0) return false;
printf("key: %sn", rc == SI_INSERTED ?
"inserted" : "updated");
changing the value of a key
rc = ini.SetValue("section", "key", "updated-value");
if (rc < 0) return false;
printf("key: %sn", rc == SI_INSERTED ?
"inserted" : "updated");
DELETING DATA
deleting a key from a section. Optionally the entire section may be deleted if it is now empty.
ini.Delete("section-name", "key-name",
true /*delete the section if empty*/);
deleting an entire section and all keys in it
ini.Delete("section-name", NULL);
SAVING DATA
save the data to a string
rc = ini.Save(strData);
if (rc < 0) return false;
save the data back to the file
rc = ini.SaveFile(a_pszFile);
if (rc < 0) return false;
Enhancements:
- Fixed a bug causing multi-line values and comments to get corrupted. This affects only files with CR LF line endings (Windows) and wchar_t/ICU interface (Unicode).
<<less
Download (0.041MB)
Added: 2007-07-05 License: MIT/X Consortium License Price:
843 downloads
passwd_info 0.1

passwd_info 0.1


passwd_info is a simple program that can query the /etc/passwd file for current user or specified user. more>>
passwd_info is a simple program that can query the /etc/passwd file for current user or specified user.

USAGE: passwd_info [username]

Sample:

#include < unistd.h >
#include < stdlib.h >
#include < stdio.h >
#include < sys/types.h >
#include < pwd.h >
#include < string.h >

struct passwd *pw;

void print_usage(void);

int main( int argc, char *argv[] )
{
if ( argc > 2 ) {
print_usage();
exit(1);
}

char *name;
uid_t uid;
gid_t gid;
char *gecos;
char *dir;
char *shell;

char *user_arg;

if ( argv[1] != NULL ) {
user_arg=(char *)malloc(strlen(argv[1]));
strcpy( user_arg, argv[1] );
if ( (pw = getpwnam(user_arg) ) == NULL ) {
fprintf( stderr, "Error: user %s does not existn", user_arg );
exit(1);
}
uid = pw->pw_uid;
free(user_arg);
}
else /* get for current user */
{
uid = getuid();
pw = getpwuid(uid);
}

name = pw->pw_name;
gid = pw->pw_gid;
gecos = pw->pw_gecos;
dir = pw->pw_dir;
shell = pw->pw_shell;

printf( "/etc/passwd file information for %sn", name );
printf( "Username = %stUID = %dtGID = %dn", name, (int)uid, (int)gid );
printf( "GECOS = %snHome = %stShell = %sn", gecos, dir, shell );

exit(0);
}

void print_usage( void )
{
fprintf( stderr, "USAGE: passwd_info [username]n" );
}
<<less
Download (MB)
Added: 2007-03-13 License: GPL (GNU General Public License) Price:
956 downloads
libwayne

libwayne


libwayne is a library of reasonably abstract datatypes and algorithms written in C. more>>
libwayne is a library of reasonably abstract datatypes and algorithms written in C.

The algorithms in libwayne are by no means original. Many of them are taken verbatim from textbooks on data structures and algorithms, and I simply translated them into C. They include efficient and correct routines for priority queues, event-driven simulations, queues, stacks, binary trees, sets of integers, graphs (the node-edge kind), some combinatorics routines, ODE integration routines, a simple statistics package, and a matrix-vector library.

Many of the routines (heap, stack, queue, bintree) can work with arbitrary objects, not just integers. Comparisons are done with pointers to comparison functions, similar to ANSI Cs standard qsort. This library is not meant to be complete; I write the routines as I need them, but only high-quality code goes into libwayne.

One thing that many people ask me is ``why didnt you use C++? Without going into a long tirade, suffice it to say that, although I am not a C++ expert (actually, the only stuff I havent learned in intimate detail is templates), I know enough C++ to realize that it is not the be-all, end-all of programming languages. In fact, after several years of C++ being around, it is already beginning a slow fading into history, with Java being its successor --- and not a very good one, at that.

At the risk of sounding like the 40-50 year olds out there who still insist that FORTRAN is a good enough language for everything, Ill be a 30-something who insists that, until something better comes along, C is still a good all-purpose language in which to write heavy, data-structure intensive programs. I believe it was Dennis Ritchie who said something like, "C is rarely the best language for a given task, but its often the second-best," the implication being that its better to learn one language that is second-best for everything, than to learn a new language for every programming task. (One could say the same of English.)

I started libwayne when I realized that I was constantly re-writing little bits of code that did important things that should be in the C standard, but are not. For example, how many times have you written code like this:
if((p = malloc(n)) == NULL) /* or some other fatal error condition */
{
fprintf(stderr, "error: %sn", err_msg);
exit(1);
}

I got sick of it. Furthermore, I often wanted to know more about why my program failed. So I wrote Fatal. Heres its prototype:
void Fatal(char *fmt, ...); /* generates an assertion failure */

It uses varargs so you can pass it an arbitrary list of output arguments just like printf, but it generates an assertion failure so that if you run it under a debugger, you can look at the program nicely as it dies. It turned out to be only the first function I wrote for libwayne, and it was put into a file called "misc.c" which I started including in most of the code I wrote. Another early member of the library was Malloc, which calls Fatal if the standard malloc fails.

Eventually "misc.c" started getting pretty big, with macros for MIN, MAX, ABS, SQR, etc, so I created misc.h and compiled misc.c into an object module. That was about 1993.

About that time I started to realize that, at least in C, we need a way to pass "objects" around in a reasonably transparent way, but sometimes we want to treat pointers as integers. This makes some peoples teeth sweat (my own included), so I invented the voint datatype, which is (you guessed it) a union of (void*) and (int).

Then I started adding more complex algorithms to libwayne, whenever I needed them. Each and every piece of libwayne was written because I needed it, but only things that I took careful time to do well went into libwayne. Any algorithm that needs to compare objects needs a comparison function like the one used by the ANSI standard qsort routine.
<<less
Download (3.0MB)
Added: 2006-03-23 License: LGPL (GNU Lesser General Public License) Price:
1311 downloads
Libsf 0.1

Libsf 0.1


Libsf is a stack fingerprinting library. more>>
Libsf is a stack fingerprinting library.

Libsf allows the following:

libsf_t *s;

s = libsf_init(LIBSF_ACTIVE, device, argv[optind], 0, 1, flags, errbuf);
libsf_active_id(s);

/* get the total number of matches */
tm = libsf_os_get_tm(s);

/* get the high score */
hs = libsf_os_get_hs(s);

printf("%d potential matches (highest score of %d)n", tm, hs);
printf("Highest scored OS guesses:n");

/* run through the OS list, dumping string that matches score */
while ((guess = libsf_os_get_match(s, hs)))
{
printf("%sn", guess);
}

libsf_destroy(s);

Installation:

0. nroff -man man/sf.3 | less
1. Youll need to build and install:
a. libnet 1.1.0 (http://www.packetfactory.net/libnet)
b. libpcap 0.6.x+ (http://www.tcpdump.org)
c. libdb old API - should be included with most modern OS releases - (http://www.sleepycat.com/)
2. ./configure && make && make install
3. cd import ; ./db_import -a fp-file
4. cp libsf.db /usr/local/share/libsf
<<less
Download (0.14MB)
Added: 2006-03-10 License: GPL (GNU General Public License) Price:
755 downloads
Persistent::LDAP 0.50

Persistent::LDAP 0.50


Persistent::LDAP is a persistent class implemented using a LDAP directory. more>>
Persistent::LDAP is a persistent class implemented using a LDAP directory.

SYNOPSIS

use Persistent::LDAP;
use English; # import readable variable names like $EVAL_ERROR

eval { ### in case an exception is thrown ###

### allocate a persistent object ###
my $person =
new Persistent::LDAP(localhost, 389,
cn=Directory Manager, test1234,
ou=Engineering,o=Big Snow Org,c=US);

### declare attributes of the object ###
$person->add_attribute(uid, ID, String);
$person->add_attribute(userpassword, Persistent, String);
$person->add_attribute(objectclass, Persistent, String);
$person->add_attribute(givenname, Persistent, String);
$person->add_attribute(sn, Persistent, String);
$person->add_attribute(cn, Persistent, String);
$person->add_attribute(mail, Persistent, String);
$person->add_attribute(telephonenumber, Persistent, String);

### query the datastore for some objects ###
$person->restore_where(& (objectclass=person)(mail=*bigsnow.org),
sn, givenname);
while ($person->restore_next()) {
printf("name = %s, email = %sn",
$person->givenname . . $person->sn,
$person->mail);
}
};

if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}

ABSTRACT

This is a Persistent class that uses a LDAP directory to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.

<<less
Download (0.015MB)
Added: 2007-05-19 License: Perl Artistic License Price:
889 downloads
Persistent::mSQL 0.50

Persistent::mSQL 0.50


Persistent::mSQL is a persistent class implemented using a mSQL database. more>>
Persistent::mSQL is a persistent class implemented using a mSQL database.

SYNOPSIS

use Persistent::mSQL;
use English; # import readable variable names like $EVAL_ERROR

eval { ### in case an exception is thrown ###

### allocate a persistent object ###
my $emp = new Persistent::mSQL($data_source, undef, undef, $table);

### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);

### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};

if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}

ABSTRACT

This is a Persistent class that uses a mSQL database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.

<<less
Download (0.010MB)
Added: 2007-05-22 License: Perl Artistic License Price:
885 downloads
Persistent::MySQL 0.50

Persistent::MySQL 0.50


Persistent::MySQL is a persistent class implemented using a MySQL database. more>>
Persistent::MySQL is a persistent class implemented using a MySQL database.

SYNOPSIS

use Persistent::MySQL;
use English; # import readable variable names like $EVAL_ERROR

eval { ### in case an exception is thrown ###

### allocate a persistent object ###
my $emp = new Persistent::MySQL($data_source, $username, $password, $table);

### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);

### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};

if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}

ABSTRACT

This is a Persistent class that uses a MySQL database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.

<<less
Download (0.010MB)
Added: 2007-05-19 License: Perl Artistic License Price:
888 downloads
Source Navigator NG NG1

Source Navigator NG NG1


Source Navigator NG is a source code analysis tool. more>>
Source Navigator NG is a source code analysis tool. With Source Navigator NG, you can edit your source code, display relationships between classes and functions and members, and display call trees.
Enhancements:
- (INTERNAL) update TODO file
- (ENHANCE) Highlight grep pattern when using format strings/regexps in greppane
- (INTERNAL) Add the possible new SN logo V
- (INTERNAL) Add the possible new SN logo IV
- (INTERNAL) Add the possible new SN logo III
- (INTERNAL) Add the possible new SN logo II
- (INTERNAL) Add the possible new SN logo
- (INTERNAL) Update TODO to list removal of -fwritable-strings compiler switch
- (BUGFIX) Allow for configure-generated french.txt, german.txt, part II
- (BUGFIX) Allow for configure-generated french.txt, german.txt
- (BUGFIX) Fix german language strings
- (DOCS) Change copyright msg and display GPL notice for french, japanese, german
- (DOCS) Change copyright msg and display GPL notice
- (INTERNAL) Move snavigator/MAINTAINERS to root of sourcetree and update
- (INTERNAL) Add Bart van Rompaey to CONTRIBUTORS
- (BUGFIX) Fix undefined references to assert() when building db/ with DEBUG
- (INTERNAL) Change version ID to NG1 and regenerate configure
- (BUGFIX) Fix xref-generation when using batch mode
- (BUGFIX) Fix double declaration of optarg that prevented compilation under Win32 for dbimp
- (BUGFIX) Fix multiple declarations of getopt() in hyper that prevented compilati on under Win32
- (INTERNAL) Add CONTRIBUTORS file
- (BUGFIX) Fix building tcl library on Win32
- (ENHANCE) Make sure an iconized windows shows its according project name
- (BUGFIX) Fix prev & next buttons in diff-dialog
- (BUFIX) Fix arrow navigation in grep dialog (greppane)
- (ENHANCE) Better integration of Clearcase into SN
- (INTERNAL) Add docs about wanted toplevel svn commit msg format
- (BUGFIX) Remove diplaying of copyright msg when refreshing project
- (INTERNAL) Bugfix the splashscreen installing
- (ENHANCE) Randomly choose splashscreen + shorten splashscreen time
- (INTERNAL) Rename camelCaps ChangeLog to CHANGELOG
- (BUGFIX) Install text file COPYING as 644, not 755
- (INTERNAL) Remove Makefile and other configure auto-generated files from SVN
- (ENHANCE) Pretty up splash screen
- (DOCS) Add TODO file to list top-level goals
- (BUGFIX) enlarge default db caches
- (BUGFIX) fix scrolling in greppane (grep dialog)
<<less
Download (11MB)
Added: 2007-05-11 License: GPL (GNU General Public License) Price:
905 downloads
Persistent::Oracle 0.50

Persistent::Oracle 0.50


Persistent::Oracle is a persistent class implemented using an Oracle database. more>>
Persistent::Oracle is a persistent class implemented using an Oracle database.

SYNOPSIS

use Persistent::Oracle;
use English; # import readable variable names like $EVAL_ERROR

eval { ### in case an exception is thrown ###

### allocate a persistent object ###
my $emp = new Persistent::Oracle(dbi:Oracle:ORCL,
scott, tiger, emp);

### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);

### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};

if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}

ABSTRACT

This is a Persistent class that uses an Oracle database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.

<<less
Download (0.011MB)
Added: 2007-05-19 License: Perl Artistic License Price:
889 downloads
Persistent::Sybase 0.50

Persistent::Sybase 0.50


Persistent::Sybase is a persistent class implemented using a Sybase database. more>>
Persistent::Sybase is a persistent class implemented using a Sybase database.

SYNOPSIS

use Persistent::Sybase;
use English; # import readable variable names like $EVAL_ERROR

eval { ### in case an exception is thrown ###

### allocate a persistent object ###
my $emp = new Persistent::Sybase($data_source, $username, $password, $table);

### define attributes of the object ###
$emp->add_attribute(empno, ID, Number, undef, 4);
$emp->add_attribute(ename, Persistent, VarChar, undef, 10);
$emp->add_attribute(job, Persistent, VarChar, undef, 9);
$emp->add_attribute(mgr, Persistent, Number, undef, 4);
$emp->add_attribute(hiredate, Persistent, DateTime, undef);
$emp->add_attribute(sal, Persistent, Number, undef, 7, 2);
$emp->add_attribute(comm, Persistent, Number, undef, 7, 2);
$emp->add_attribute(deptno, Persistent, Number, undef, 2);

### query the datastore for some objects ###
$emp->restore_where(qq{
sal > 1000 and
job = CLERK and
ename LIKE M%
}, "sal, ename");
while ($emp->restore_next()) {
printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn",
$emp->ename, $emp->empno, $emp->sal, $emp->hiredate;
}
};

if ($EVAL_ERROR) { ### catch those exceptions! ###
print "An error occurred: $EVAL_ERRORn";
}

ABSTRACT

This is a Persistent class that uses a Sybase database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes.

<<less
Download (0.010MB)
Added: 2007-05-22 License: Perl Artistic License Price:
886 downloads
Locale::SubCountry 1.37

Locale::SubCountry 1.37


Locale::SubCountry is a Perl module that can convert state, province, county etc. names to/from code. more>>
Locale::SubCountry is a Perl module that can convert state, province, county etc. names to/from code.

SYNOPSIS

my $country_code = GB;
my $UK = new Locale::SubCountry($country_code);
if ( not $UK )
{
die "Invalid code $country_coden";
}
elsif ( $UK->has_sub_countries )
{
print($UK->full_name(DGY),"n"); # Dumfries and Galloway
print($UK->regional_division(DGY),"n"); # CT (Scotland)
}

my $australia = new Locale::SubCountry(AUSTRALIA);
print($australia->country,"n"); # AUSTRALIA
print($australia->country_code,"n"); # AU

if ( $australia->has_sub_countries )
{
print($australia->code(New South Wales ),"n"); # NSW
print($australia->full_name(S.A.),"n"); # South Australia
my $upper_case = 1;
print($australia->full_name(Qld,$upper_case),"n"); # QUEENSLAND
print($australia->category(NSW),"n"); # state
print($australia->FIPS10_4_code(ACT),"n"); # 01
print($australia->ISO3166_2_code(02),"n"); # NSW

my @aus_state_names = $australia->all_full_names;
my @aus_code_names = $australia->all_codes;
my %aus_states_keyed_by_code = $australia->code_full_name_hash;
my %aus_states_keyed_by_name = $australia->full_name_code_hash;

foreach my $code ( sort keys %aus_states_keyed_by_code )
{
printf("%-3s : %sn",$code,$aus_states_keyed_by_code{$code});
}
}

# Methods for country codes and names

my $world = new Locale::SubCountry::World;
my @all_countries = $world->all_full_names;
my @all_country_codes = $world->all_codes;

my %all_countries_keyed_by_name = $world->full_name_code_hash;
my %all_country_keyed_by_code = $world->code_full_name_hash;

This module allows you to convert the full name for a countries administrative region to the code commonly used for postal addressing. The reverse lookup can also be done. Sub country codes are defined in "ISO 3166-2:1998, Codes for the representation of names of countries and their subdivisions".

Sub countries are termed as states in the US and Australia, provinces in Canada and counties in the UK and Ireland.

Names and ISO 3166-2 codes for all sub countries in a country can be returned as either a hash or an array.

Names and ISO 3166-1 codes for all countries in the world can be returned as either a hash or an array.

ISO 3166-2 codes can be converted to FIPS 10-4 codes. The reverse lookup can also be done.

<<less
Download (0.062MB)
Added: 2006-08-16 License: Perl Artistic License Price:
1164 downloads
newsq 0.14.3

newsq 0.14.3


newsq consists of an interactive program to manipulate messages in an outgoing news queue. more>>
newsq consists of an interactive program to manipulate messages in an outgoing news queue.

newsq allows you to re-edit, view, delete, and postpone messages in your outgoing news queue after youve composed them but before youve uploaded them to your remote server.

It uses the curses library to provide a powerful text-based interface.

News transports currently supported are leafnode, s-news, sn (partial), slrnpull, and NNTP servers in conjunction with a batch file such as used by an INN/suck/rpost or INN/newsstar combination.

<<less
Download (0.11MB)
Added: 2007-01-20 License: GPL (GNU General Public License) Price:
1007 downloads
MP4::Info 1.11

MP4::Info 1.11


MP4::Info is a Perl module that can fetch info from MPEG-4 files (.mp4, .m4a, .m4p, .3gp). more>>
MP4::Info is a Perl module that can fetch info from MPEG-4 files (.mp4, .m4a, .m4p, .3gp).

SYNOPSIS

#!perl -w
use MP4::Info;
my $file = Pearls_Before_Swine.m4a;

my $tag = get_mp4tag($file) or die "No TAG info";
printf "$file is a %s trackn", $tag->{GENRE};

my $info = get_mp4info($file);
printf "$file length is %d:%dn", $info->{MM}, $info->{SS};

my $mp4 = new MP4::Info $file;
printf "$file length is %s, title is %sn",
$mp4->time, $mp4->title;

The MP4::Info module can be used to extract tag and meta information from MPEG-4 audio (AAC) and video files. It is designed as a drop-in replacement for MP3::Info.

<<less
Download (0.13MB)
Added: 2006-11-15 License: Perl Artistic License Price:
1120 downloads
AFS::PTS 2.4.0

AFS::PTS 2.4.0


AFS::PTS is a Perl class to communicate with the AFS Protection Server. more>>
AFS::PTS is a Perl class to communicate with the AFS Protection Server.

SYNOPSIS

use AFS::PTS;

my $num_flg = AFS::PTS->convert_numeric_names;
my $bits = AFS::PTS->ascii2ptsaccess("S----");
my $flags = AFS::PTS->ptsaccess2ascii($bits);

my $pts = AFS::PTS->new;

my $id = $pts->createuser(guest);
my $entry = $pts->listentry(guest);
foreach my $key ( sort keys %$entry) {
printf("%20s => %sn", $key, $$entry{$key});
}
$ok = $pts->delete(guest);
undef $pts; # destroy server connection

$pts = AFS::PTS->new;
$entry = $pts->dumpentry(67136, 1, 1);
foreach my $key ( sort keys %$entry) {
printf("%20s => %sn", $key, $$entry{$key});
}

my $over = 1;
my @names = $pts->getcps(nog, 1, $over);
print "OVER = $over n";
print "cps for NOGn";
foreach my $mem (sort @names) {
print " $memn";
}

AFS::PTS->convert_numeric_names(1);
my @ids = (28053, 1, 105, 32000, 32766);
@names = $pts->PR_IDToName(@ids);
foreach my $name (@names) {
print "name = $namen";
}

print "Convert(nog): ", $pts->id(nog), "n";
NOTE: The following lines are version 1 style: all names are exported by default. This style is deprecated !!!
use AFS; # import all AFS names
use AFS @AFS::PTS; # import just the PTS names

<<less
Download (0.18MB)
Added: 2007-03-01 License: Perl Artistic License Price:
967 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 4
  • 1
  • 2
  • 3
  • 4