quickstart
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 18
App::quickstart 0.964
App::quickstart is App::Context Developers Quick-Start Guide. more>>
App::quickstart is App::Context Developers Quick-Start Guide.
This is the Developers Quickstart Guide to the App::Context Framework. Its focus is to give a minimum amount of theoretical or explanatory background and get right into learning by example.
That having been said, it is also important to let you know what documentation exists and what state it is in.
I got started building the App::Context framework a while ago. The documentation is very limited. This is an effort to bring it all together. This list shows how all of the documentation fits together and in what state it is.
The following documentation is in good shape. To get started, read them more or less in the order shown.
App::quickstart - This quick start guide.
App::installguide::hosted - Installing the App::Context Framework on a non-root web hosting account
The following documentation also is in good shape. It is background reference material.
App::datetime - Guidance on date, time, and datetime types in perl.
App::exceptions - Guidance on exceptions in perl.
The following documentation is in a state that needs review, modification, or completion.
App::perlstyle - A perl style guide that builds minimally on perlstyle.
App::faq - Questions about P5EE.
App::installguide - Installing the App::Context Framework on Unix.
App::installguide::win32 - Installing the App::Context Framework on Windows.
App::devguide - Developers Guide.
App::devguide - Developers Guide.
App::adminguide - Administrators Guide.
App::adminguide::cvs - Admin Guide, setting up CVS source control.
CLASS/MODULE DOCUMENTATION (indented entries are subclasses)
Most of this documentation needs review, modification, and completion.
App - The module that bootstraps the use of the App::Context Framework.
App::Context - Abstract class representing the the runtime context of the program.
+-- App::Context::Cmd - A program running in a command-line context.
+-- App::Context::HTTP - A program running in a CGI/mod_perl context.
+-- App::Context::Server - A program running in a multi-process server context.
=====+-- App::Context::ClusterController - Running in a multi-node cluster context.
=====+-- App::Context::ClusterNode - Running on a single node of a cluster.
+-- App::Context::NetServer - Another flavor of server context (not yet implemented).
App::Exceptions - Defines the exceptions used in the framework.
App::UserAgent
App::Request
+-- App::Request::CGI
App::Response
App::Session
+-- App::Session::HTMLHidden
+-- App::Session::Cookie
App::Reference
+-- App::Conf
=====+-- App::Conf::File
App::Service
+-- App::Serializer
=====+-- App::Serializer::Properties
=====+-- App::Serializer::Ini
=====+-- App::Serializer::Perl
=====+-- App::Serializer::Xml
=====+-- App::Serializer::Yaml
=====+-- App::Serializer::OneLine
=====+-- App::Serializer::TextArray
=====+-- App::Serializer::Storable
+-- App::SessionObject
+-- App::Authentication
+-- App::Authorization
+-- App::ValueDomain
+-- App::SharedDatastore
+-- App::MessageDispatcher
+-- App::CallDispatcher
=====+-- App::CallDispatcher::HTTPSimple
+-- App::ResourceLocker
=====+-- App::ResourceLocker::IPCSemaphore
=====+-- App::ResourceLocker::IPCLocker
Apache::Framework::App
INSTALLATION
You can go through one of the installation guides. Installing the App::Context Framework generally involves several distributions and should just work when installed from CPAN.
perl -MCPAN -e shell
cpan> install App::Options
cpan> install App::Context
cpan> install App::Repository
cpan> install App::Widget
cpan> exit
If its not this easy, I need to work on making it easier.
<<lessThis is the Developers Quickstart Guide to the App::Context Framework. Its focus is to give a minimum amount of theoretical or explanatory background and get right into learning by example.
That having been said, it is also important to let you know what documentation exists and what state it is in.
I got started building the App::Context framework a while ago. The documentation is very limited. This is an effort to bring it all together. This list shows how all of the documentation fits together and in what state it is.
The following documentation is in good shape. To get started, read them more or less in the order shown.
App::quickstart - This quick start guide.
App::installguide::hosted - Installing the App::Context Framework on a non-root web hosting account
The following documentation also is in good shape. It is background reference material.
App::datetime - Guidance on date, time, and datetime types in perl.
App::exceptions - Guidance on exceptions in perl.
The following documentation is in a state that needs review, modification, or completion.
App::perlstyle - A perl style guide that builds minimally on perlstyle.
App::faq - Questions about P5EE.
App::installguide - Installing the App::Context Framework on Unix.
App::installguide::win32 - Installing the App::Context Framework on Windows.
App::devguide - Developers Guide.
App::devguide - Developers Guide.
App::adminguide - Administrators Guide.
App::adminguide::cvs - Admin Guide, setting up CVS source control.
CLASS/MODULE DOCUMENTATION (indented entries are subclasses)
Most of this documentation needs review, modification, and completion.
App - The module that bootstraps the use of the App::Context Framework.
App::Context - Abstract class representing the the runtime context of the program.
+-- App::Context::Cmd - A program running in a command-line context.
+-- App::Context::HTTP - A program running in a CGI/mod_perl context.
+-- App::Context::Server - A program running in a multi-process server context.
=====+-- App::Context::ClusterController - Running in a multi-node cluster context.
=====+-- App::Context::ClusterNode - Running on a single node of a cluster.
+-- App::Context::NetServer - Another flavor of server context (not yet implemented).
App::Exceptions - Defines the exceptions used in the framework.
App::UserAgent
App::Request
+-- App::Request::CGI
App::Response
App::Session
+-- App::Session::HTMLHidden
+-- App::Session::Cookie
App::Reference
+-- App::Conf
=====+-- App::Conf::File
App::Service
+-- App::Serializer
=====+-- App::Serializer::Properties
=====+-- App::Serializer::Ini
=====+-- App::Serializer::Perl
=====+-- App::Serializer::Xml
=====+-- App::Serializer::Yaml
=====+-- App::Serializer::OneLine
=====+-- App::Serializer::TextArray
=====+-- App::Serializer::Storable
+-- App::SessionObject
+-- App::Authentication
+-- App::Authorization
+-- App::ValueDomain
+-- App::SharedDatastore
+-- App::MessageDispatcher
+-- App::CallDispatcher
=====+-- App::CallDispatcher::HTTPSimple
+-- App::ResourceLocker
=====+-- App::ResourceLocker::IPCSemaphore
=====+-- App::ResourceLocker::IPCLocker
Apache::Framework::App
INSTALLATION
You can go through one of the installation guides. Installing the App::Context Framework generally involves several distributions and should just work when installed from CPAN.
perl -MCPAN -e shell
cpan> install App::Options
cpan> install App::Context
cpan> install App::Repository
cpan> install App::Widget
cpan> exit
If its not this easy, I need to work on making it easier.
Download (0.12MB)
Added: 2006-10-17 License: Perl Artistic License Price:
1103 downloads
Froody::QuickStart 42.011
Froody::QuickStart is a Perl module for the froody Quick Start tutorial. more>>
Froody::QuickStart is a Perl module for the froody Quick Start tutorial.
At the core of Froody is the concept of Froody Methods, methods that you can call remotely over the web.
For example, we have a hypothetical method called "examples.myapi.greet" that can return us greetings. We need to pass it one parameter, called "who", that is the name of the person were greeting. These two things are passed as CGI parameters to a froody endpoint (a cgi script, a mod_perl server, whatever) sitting at "http://myserver.com/fe"
bash$ lwp-request http://myserver.com/fe?method=examples.myapi.greet&who=Mark
< ?xml version="1.0" encoding="utf-8"? >
< rsp stat="ok" >
< greeting >Hello Mark!< /greeting >
< /rsp >
We get a chunk of XML back that is the result of calling the function.
<<lessAt the core of Froody is the concept of Froody Methods, methods that you can call remotely over the web.
For example, we have a hypothetical method called "examples.myapi.greet" that can return us greetings. We need to pass it one parameter, called "who", that is the name of the person were greeting. These two things are passed as CGI parameters to a froody endpoint (a cgi script, a mod_perl server, whatever) sitting at "http://myserver.com/fe"
bash$ lwp-request http://myserver.com/fe?method=examples.myapi.greet&who=Mark
< ?xml version="1.0" encoding="utf-8"? >
< rsp stat="ok" >
< greeting >Hello Mark!< /greeting >
< /rsp >
We get a chunk of XML back that is the result of calling the function.
Download (0.093MB)
Added: 2006-09-15 License: Perl Artistic License Price:
1136 downloads
HTML::Seamstress::Quickstart 4.26
HTML::Seamstress::Quickstart is a gentle introduction to HTML::Seamstress. more>>
HTML::Seamstress::Quickstart is a gentle introduction to HTML::Seamstress.
Introduction
This guide is designed to get you started with dynamically generating and modifying ("templating") HTML with HTML::Seamstress.
We will work through several examples, with each one increasing your ability to work with Seamstress effectively.
Sample files
All the files for the samples are in the directory lib/HTML/Seamstress/Quickstart
Pure TreeBuilder
Welcome to the first example. This is our bare-bones example. Lets say we want to dynamically modify the following HTML:
< html >
< head >
< title >Greetings< /title >
< /head >
< body >
< h1 >Greetings< /h1 >
Hello there < span id=name >person< /span >, your lucky number is
< span id=lucky_number >666< /span >
< /body >
< /html >
Lets not use Seamstress at all in this case. Remember Seamstress just makes using HTML::Tree more convenient when writing software - it is completely optional and totally non-magical. So heres the (admittedly verbose) pure TreeBuilder solution:
use strict;
use warnings;
use HTML::TreeBuilder;
my $name = Redd Foxx;
my $number = 887;
my $tree = HTML::TreeBuilder->new_from_file(html/greeting.html);
my $name_elem = $tree->look_down(id => name);
$name_elem->delete_content;
$name_elem->push_content($name);
my $number_elem = $tree->look_down(id => lucky_number);
$number_elem->delete_content;
$number_elem->push_content($number);
print $tree->as_HTML(undef, );
Theres a convenience function in HTML::Element::Library which makes it easy to replace all the content of an element. This will make our script shorter. If we simply use Seamstress, its new_from_file() method will bless the HTML tree into a class which inherits from HTML::Element::Library, making it easy for us to shorten our program. So lets rework the example using bare-bones Seamstress.
<<lessIntroduction
This guide is designed to get you started with dynamically generating and modifying ("templating") HTML with HTML::Seamstress.
We will work through several examples, with each one increasing your ability to work with Seamstress effectively.
Sample files
All the files for the samples are in the directory lib/HTML/Seamstress/Quickstart
Pure TreeBuilder
Welcome to the first example. This is our bare-bones example. Lets say we want to dynamically modify the following HTML:
< html >
< head >
< title >Greetings< /title >
< /head >
< body >
< h1 >Greetings< /h1 >
Hello there < span id=name >person< /span >, your lucky number is
< span id=lucky_number >666< /span >
< /body >
< /html >
Lets not use Seamstress at all in this case. Remember Seamstress just makes using HTML::Tree more convenient when writing software - it is completely optional and totally non-magical. So heres the (admittedly verbose) pure TreeBuilder solution:
use strict;
use warnings;
use HTML::TreeBuilder;
my $name = Redd Foxx;
my $number = 887;
my $tree = HTML::TreeBuilder->new_from_file(html/greeting.html);
my $name_elem = $tree->look_down(id => name);
$name_elem->delete_content;
$name_elem->push_content($name);
my $number_elem = $tree->look_down(id => lucky_number);
$number_elem->delete_content;
$number_elem->push_content($number);
print $tree->as_HTML(undef, );
Theres a convenience function in HTML::Element::Library which makes it easy to replace all the content of an element. This will make our script shorter. If we simply use Seamstress, its new_from_file() method will bless the HTML tree into a class which inherits from HTML::Element::Library, making it easy for us to shorten our program. So lets rework the example using bare-bones Seamstress.
Download (0.048MB)
Added: 2006-10-14 License: Perl Artistic License Price:
1105 downloads
Liquidsoap 0.3.2
Liquidsoap is a powerful tool for building complex audio streaming systems, typically targetting internet radios. more>>
Liquidsoap is a powerful tool for building complex audio streaming systems, typically targetting internet radios. Liquidsoap consists of a simple script language, which has a first-class notion of source (basically a stream) and provides elementary source constructors and source compositions from which you can build the streamer you want. This design makes liquidsoap flexible and easily extensible.
We believe that liquidsoap is easy to use. For basic uses, the scripts simply consists of the definition of a tree of sources. It is good to use liquidsoap even for simple streams which could be produced by other tools, because it is extensible: when you want to make your stream more complex, you are still able to stay in the same framework, and your script will remain maintainable. Of course, this will require at some point a deeper understanding of liquidsoap and its scripting language.
If youre new to liquidsoap, youd probably like to read about the installation procedure and take the quickstart tour. Then you may also enjoy to learn more about the main concepts on which liquidsoap is built. When youll master these concepts, youll only need to take a look at the reference (scripting language, API and settings) and get a few ideas from the recipes to be able to design whatever stream you need.
Liquidsoap is written in OCaml and is part of the savonet project.
Main features:
- Playing from files, playlists, or script playlists (plays the file chosen by an executable).
Transparent remote file access.
Scheduling of many sources, depending on time, priorities, etc.
Queuing of user requests.
Supports arbitrary transitions: you can have fade, cross-fade, jingle insertion, etc.
Input of other Icecast streams: useful for switching to a live show.
- Blank detection.
Multiple outputs in the same instance: you can have several quality settings, use several media or even broadcast several contents from the same instance.
Output to icecast and peercast (mp3/ogg) or a local file (wav/mp3/ogg).
Output to ALSA speaker, input from ALSA microphone. There are some unfixed issues there.
- Distributed encoding using RTP.
Arbitrary mixing of several sources together.
Interactive control of many operators via telnet, or indirectly using perl/python scripts, pyGtk GUI (needs an update), web/irc interfaces (not released, mail us)...
Speech and sound synthesis.
Enhancements:
- This release features new, portable output to speakers using libao(), a cross() operator that allows cross-fading, per-track settings for cross(), fade.*(), prepend(), and append() using requests metadatas, and pipe() operator that allows one to filter the raw audio through an external program. sox and other common tools arent suitable for that because they dont flush their output often enough.
- A new on_blank() operator was included for calling a callback on excessive blanks.input.http.mp3() was implemented, including support for icy metadata.
- say_metadata() was generalized into append() and prepend().
<<lessWe believe that liquidsoap is easy to use. For basic uses, the scripts simply consists of the definition of a tree of sources. It is good to use liquidsoap even for simple streams which could be produced by other tools, because it is extensible: when you want to make your stream more complex, you are still able to stay in the same framework, and your script will remain maintainable. Of course, this will require at some point a deeper understanding of liquidsoap and its scripting language.
If youre new to liquidsoap, youd probably like to read about the installation procedure and take the quickstart tour. Then you may also enjoy to learn more about the main concepts on which liquidsoap is built. When youll master these concepts, youll only need to take a look at the reference (scripting language, API and settings) and get a few ideas from the recipes to be able to design whatever stream you need.
Liquidsoap is written in OCaml and is part of the savonet project.
Main features:
- Playing from files, playlists, or script playlists (plays the file chosen by an executable).
Transparent remote file access.
Scheduling of many sources, depending on time, priorities, etc.
Queuing of user requests.
Supports arbitrary transitions: you can have fade, cross-fade, jingle insertion, etc.
Input of other Icecast streams: useful for switching to a live show.
- Blank detection.
Multiple outputs in the same instance: you can have several quality settings, use several media or even broadcast several contents from the same instance.
Output to icecast and peercast (mp3/ogg) or a local file (wav/mp3/ogg).
Output to ALSA speaker, input from ALSA microphone. There are some unfixed issues there.
- Distributed encoding using RTP.
Arbitrary mixing of several sources together.
Interactive control of many operators via telnet, or indirectly using perl/python scripts, pyGtk GUI (needs an update), web/irc interfaces (not released, mail us)...
Speech and sound synthesis.
Enhancements:
- This release features new, portable output to speakers using libao(), a cross() operator that allows cross-fading, per-track settings for cross(), fade.*(), prepend(), and append() using requests metadatas, and pipe() operator that allows one to filter the raw audio through an external program. sox and other common tools arent suitable for that because they dont flush their output often enough.
- A new on_blank() operator was included for calling a callback on excessive blanks.input.http.mp3() was implemented, including support for icy metadata.
- say_metadata() was generalized into append() and prepend().
Download (0.41MB)
Added: 2007-03-17 License: GPL (GNU General Public License) Price:
955 downloads
Squid Graph 3.2
Squid Graph is a Squid logfile analyzer and traffic grapher. more>>
Squid Graph is a free, simple, yet powerful Squid v2 native logfile analysis tool that generates reports with graphical representation of the proxy servers traffic.
Squid Graph is distributed under the GNU General Public Licence (GPL), which means it is FREE FOR USE AND DISTRIBUTION.
Squid Graph was developed using the Linux operating system running kernel versions ranging from 2.2.x to 2.4.x with PERL 5.6.0. It should work on all other similar operating systems with PERL 5.6 and above installed.
Some platforms which have been reported to run Squid Graph successfully are FreeBSD, OpenBSD, Sun Solaris and most Linux kernel versions and distributions.
Enhancements:
- No algorithm changes, mostly changes to contact information etc. due to hand-over of project to SecurLogic.
Installation:
Extracting the Tarball
- Extract the Squid Graph tarball file after you have downloaded it. Those with Redhat Linux (or other similar distributions) can do this: -
$ tar -zxvf squid-graph-x.x.tar.gz
- Alternatively, those with UNIX-like operating systems can do this: -
$ zcat squid-graph-x.x.tar.gz | tar -xvf -
Gathering the Pre-requisites
- As of version 3.0, Squid Graph requires the GD perl module. You can download it from http://stein.cshl.org/WWW/software/GD/ or you can use the included GD-1.3.3.tar.gz file in the extras/ directory.
- Follow the intructions in the GD perl module to get it installed correctly before you proceed.
Compiling
- Squid Graph runs out of the box. You dont have to compile it.
Putting it in the Right Place
- You might not prefer to have Squid Graph lying around in your current directory, so you should just move it to a directory which makes sense, such as /usr/local/squid-graph. e.g.
$ mv squid-graph-x.x /usr/local/squid-graph
Runing Squid Graph:
Quickstart
First, get yourself into the bin/ directory, for example: -
$ cd /usr/local/squid-graph/bin
Next, you run Squid Graph with the default options. The bare minimum for Squid Graph to run is the --output-dir option. The output directory is where the generated HTML reports and image files would be written.
$ ./squid-graph --output-dir=/var/www/html/reports < /usr/local/squid/logs/access.log
NOTE: Please check your directory permissions of your output directory!
Usually you would want the output to be generated into a directory which your web server is configured with access to. In the above example, /usr/local/squid/logs/access.log is your Squid logfile.
Where you store your Squid logfile differs from system to system. For default Redhat Linux installations, it should be in /log/squid/access.log. For those who compiled and installed Squid with the default options, it should be in /usr/local/squid/logs/access.log.
Removing the TCP or UDP Graphs
Most of you wont use cache ICP or log cache ICP, so there wont be any UDP messages in your logfiles. Disabling UDP is a good idea. You can do this by specifying the --tcp-only command line option.
$ ./squid-graph --tcp-only --output-dir=/var/www/re...
Likewise, if you only want to see UDP statistics, you can specify the --udp-only option.
$ ./squid-graph --udp-only --output-dir=/var/www/re...
Generating Cumulative Graphs
As of version 3.0, Squid Graph comes with a new feature to generage cumulative curves instead of the normal graphs. This can be done by specifying the --cumulative option.
$ ./squid-graph --cumulative --tcp-only --output-dir=/var/www/re...
To have a better understanding of what cumulative curves are, take a look at the output examples. Do note that enabling cumulative graphs disables the Average Transfer Duration graph automatically.
Disabling Average Transfer Duration Graphs
You can disable the Average Transfer Duration Graph by specifying the --no-transfer-duration option.
$ ./squid-graph --no-transfer-duration --output-dir=/var/www/re...
Specifying the Start/End Time
By default, Squid Graph generates reports based on the current time. It starts analyzing from 24 hours before the current time until the current time. Sometimes we cycle logfiles so it is necessary to specify when you want Squid Graph to start looking at your log files. This is done by specifying the --start option.
$ ./squid-graph --start=991353612 --output-dir=/var/www/re...
Likewise, you can specify the end time and Squid will automatically calculate the start time for you. This is done by specifying the --end command line option.
$ ./squid-graph --end=991352122 --output-dir=/var/www/re...
To get the last line of the Squid logfile, simply use tail -n1 logfile.log
Note that the start value is a numerical value which represents the number of seconds since 1970, NOT the conventional hh:mm:ss dd/mm/yyyy format. The reason why we did this is because Squid logs its time in this format, and we can easily use head -n1 logfile.log to view the first line of the log file to determine the start time.
Enhancements:
- Updated links after moving project to Sourceforge
- Updated links to incorrect GPL license in documentation
- Updated links to outdated GD Perl module
- Simplified package directory structure and removed old files
- No algorithm / logic changes
<<lessSquid Graph is distributed under the GNU General Public Licence (GPL), which means it is FREE FOR USE AND DISTRIBUTION.
Squid Graph was developed using the Linux operating system running kernel versions ranging from 2.2.x to 2.4.x with PERL 5.6.0. It should work on all other similar operating systems with PERL 5.6 and above installed.
Some platforms which have been reported to run Squid Graph successfully are FreeBSD, OpenBSD, Sun Solaris and most Linux kernel versions and distributions.
Enhancements:
- No algorithm changes, mostly changes to contact information etc. due to hand-over of project to SecurLogic.
Installation:
Extracting the Tarball
- Extract the Squid Graph tarball file after you have downloaded it. Those with Redhat Linux (or other similar distributions) can do this: -
$ tar -zxvf squid-graph-x.x.tar.gz
- Alternatively, those with UNIX-like operating systems can do this: -
$ zcat squid-graph-x.x.tar.gz | tar -xvf -
Gathering the Pre-requisites
- As of version 3.0, Squid Graph requires the GD perl module. You can download it from http://stein.cshl.org/WWW/software/GD/ or you can use the included GD-1.3.3.tar.gz file in the extras/ directory.
- Follow the intructions in the GD perl module to get it installed correctly before you proceed.
Compiling
- Squid Graph runs out of the box. You dont have to compile it.
Putting it in the Right Place
- You might not prefer to have Squid Graph lying around in your current directory, so you should just move it to a directory which makes sense, such as /usr/local/squid-graph. e.g.
$ mv squid-graph-x.x /usr/local/squid-graph
Runing Squid Graph:
Quickstart
First, get yourself into the bin/ directory, for example: -
$ cd /usr/local/squid-graph/bin
Next, you run Squid Graph with the default options. The bare minimum for Squid Graph to run is the --output-dir option. The output directory is where the generated HTML reports and image files would be written.
$ ./squid-graph --output-dir=/var/www/html/reports < /usr/local/squid/logs/access.log
NOTE: Please check your directory permissions of your output directory!
Usually you would want the output to be generated into a directory which your web server is configured with access to. In the above example, /usr/local/squid/logs/access.log is your Squid logfile.
Where you store your Squid logfile differs from system to system. For default Redhat Linux installations, it should be in /log/squid/access.log. For those who compiled and installed Squid with the default options, it should be in /usr/local/squid/logs/access.log.
Removing the TCP or UDP Graphs
Most of you wont use cache ICP or log cache ICP, so there wont be any UDP messages in your logfiles. Disabling UDP is a good idea. You can do this by specifying the --tcp-only command line option.
$ ./squid-graph --tcp-only --output-dir=/var/www/re...
Likewise, if you only want to see UDP statistics, you can specify the --udp-only option.
$ ./squid-graph --udp-only --output-dir=/var/www/re...
Generating Cumulative Graphs
As of version 3.0, Squid Graph comes with a new feature to generage cumulative curves instead of the normal graphs. This can be done by specifying the --cumulative option.
$ ./squid-graph --cumulative --tcp-only --output-dir=/var/www/re...
To have a better understanding of what cumulative curves are, take a look at the output examples. Do note that enabling cumulative graphs disables the Average Transfer Duration graph automatically.
Disabling Average Transfer Duration Graphs
You can disable the Average Transfer Duration Graph by specifying the --no-transfer-duration option.
$ ./squid-graph --no-transfer-duration --output-dir=/var/www/re...
Specifying the Start/End Time
By default, Squid Graph generates reports based on the current time. It starts analyzing from 24 hours before the current time until the current time. Sometimes we cycle logfiles so it is necessary to specify when you want Squid Graph to start looking at your log files. This is done by specifying the --start option.
$ ./squid-graph --start=991353612 --output-dir=/var/www/re...
Likewise, you can specify the end time and Squid will automatically calculate the start time for you. This is done by specifying the --end command line option.
$ ./squid-graph --end=991352122 --output-dir=/var/www/re...
To get the last line of the Squid logfile, simply use tail -n1 logfile.log
Note that the start value is a numerical value which represents the number of seconds since 1970, NOT the conventional hh:mm:ss dd/mm/yyyy format. The reason why we did this is because Squid logs its time in this format, and we can easily use head -n1 logfile.log to view the first line of the log file to determine the start time.
Enhancements:
- Updated links after moving project to Sourceforge
- Updated links to incorrect GPL license in documentation
- Updated links to outdated GD Perl module
- Simplified package directory structure and removed old files
- No algorithm / logic changes
Download (0.020MB)
Added: 2006-10-02 License: GPL (GNU General Public License) Price:
1130 downloads
jUPS 0.2
jUPS project is a Java class that implements MetaSystems Uninterruptible Power Supplies management protocol v1.12d. more>>
jUPS project is a Java class that implements MetaSystems Uninterruptible Power Supplies management protocol v1.12d.
It was successfully tested against:
Metasystem Megaline rack 2500
MetaSystem UPSes must be connected via a 3-wires serial cable to a PC where a serial-to-TCP tool must be installed
jUPS was written using Corey Minyards ser2net acting as a bridge between the serial port and a TCP socket.
The UPS-PC serial cable pinout is:
UPS PC
9 pin 9 pin 25 pin
male female female
2 --------------------------- 2 ----------- 3
3 --------------------------- 3 ----------- 2
5 --------------------------- 5 ----------- 7
ser2net needs to be configured to bridge the serial port with 2400,8N1 parameters to a TCP socket.
A working ser2net.conf file is:
9999:raw:600:/dev/ttyS0:2400 NONE 1STOPBIT 8DATABITS -XONXOFF -RTSCTS -LOCAL
This setup forwards serial port /dev/ttyS0 (COM1) as 2400,8N1 to local TCP port 9999
Quickstart
For a quickstart download the tarball and have a look at jUPStest.java.
Enhancements:
- The creation of a jUPSCommand for an empty jUPSPacket was fixed.
<<lessIt was successfully tested against:
Metasystem Megaline rack 2500
MetaSystem UPSes must be connected via a 3-wires serial cable to a PC where a serial-to-TCP tool must be installed
jUPS was written using Corey Minyards ser2net acting as a bridge between the serial port and a TCP socket.
The UPS-PC serial cable pinout is:
UPS PC
9 pin 9 pin 25 pin
male female female
2 --------------------------- 2 ----------- 3
3 --------------------------- 3 ----------- 2
5 --------------------------- 5 ----------- 7
ser2net needs to be configured to bridge the serial port with 2400,8N1 parameters to a TCP socket.
A working ser2net.conf file is:
9999:raw:600:/dev/ttyS0:2400 NONE 1STOPBIT 8DATABITS -XONXOFF -RTSCTS -LOCAL
This setup forwards serial port /dev/ttyS0 (COM1) as 2400,8N1 to local TCP port 9999
Quickstart
For a quickstart download the tarball and have a look at jUPStest.java.
Enhancements:
- The creation of a jUPSCommand for an empty jUPSPacket was fixed.
Download (0.043MB)
Added: 2006-12-20 License: LGPL (GNU Lesser General Public License) Price:
1038 downloads
Wagtail 0.4
Wagtail is yet-another-CD-ripping-and-encoding-wrapper. more>>
Wagtail is yet-another-CD-ripping-and-encoding-wrapper. Wagtail is designed for bulk encoding, large collections and for people who take their encoding seriously. Wagtail wont suit everyone. The learning curve seems steep but its really not that bad, to get going read the quickstart guide and you can always delve into the details later.
If youre installing or setting up Wagtail I have a strong recommendation to start with the quickstart guide then moving onto the full manual.
Main features:
- Handles CD ripping, CDDB (including submission) encoding, tagging and moving of files.
- Supports re-encoding of existing files/playlists.
- User choice of software for each stage of processing and encoding.
- Client/server architecture. Clients send files to the Server to be encoded. Both tasks can be performed by a single machine.
- Files to be processed are queued on the server, i.e. no need for the client to wait for the server to catch up before sending more files.
- Server can support multiple formats and quality levels.
- Server supports multiple tasks which define the encoded file naming scheme, arbitrary re-processing instructions, format choice restrictions etc.
- Flexible naming rules for files and directories. Names can be based on file properties. Multiple
<<lessIf youre installing or setting up Wagtail I have a strong recommendation to start with the quickstart guide then moving onto the full manual.
Main features:
- Handles CD ripping, CDDB (including submission) encoding, tagging and moving of files.
- Supports re-encoding of existing files/playlists.
- User choice of software for each stage of processing and encoding.
- Client/server architecture. Clients send files to the Server to be encoded. Both tasks can be performed by a single machine.
- Files to be processed are queued on the server, i.e. no need for the client to wait for the server to catch up before sending more files.
- Server can support multiple formats and quality levels.
- Server supports multiple tasks which define the encoded file naming scheme, arbitrary re-processing instructions, format choice restrictions etc.
- Flexible naming rules for files and directories. Names can be based on file properties. Multiple
Download (0.050MB)
Added: 2006-08-03 License: BSD License Price:
1177 downloads
httpcmdd 1.0
httpcmdd provides a way to have (web) browser user interface to programs running on the same machine as the browser. more>>
httpcmdd provides a way to have (web) browser user interface to programs running on the same machine as the browser. httpcmdd PEEKs the headers of the incoming message from browser and find program that matches the request received.
Programs are run with privileges of the user running the browser. Each user may have their private commands available in their home directory in addition to the common programs installed to the system (if any). There is also possibility to place some programs in special directory and programs residing there will be run with root privileges.
httpcmdd passes the socket it accepted to the program it started. httpcmdd did not read any data out of the socket, but just peeked it. Program gets all data send from the beginning and httpcmdd does not work as a proxy delivering the data; all data goes directly between peer and the program httpcmdd launched without anyone interfering.
httpdcmdd server socket is bound to the localhost loopback interface only thus network connections to httpcmdd server is not possible -- and if those were, httpcmdd would be unable to identify the user on peer, disallowing further message processing. Finally, some sanity checking is done to incoming http headers; for example Referer: header (if one) not matching to httpd ip (127[.0[.0]].1) and port will cause connection shutdown.
Installation and Usage
There is a set of example programs (shell, perl and python scripts) that can be used to test and get a clue of httpcmdd usage. Just run quicktest.sh to check out those examples (just like in Quick Start section at the beginning of this document). It leaves behind symbolic link at $HOME/.httpcmdd and running httpcmdd daemon. You may want to clean these up after initial testing period (Note that quickstart.sh-compiled httpcmdd binary file was unlinked soon after it was launched).
To compile httpcmdd daemon enter sh src/httpcmdd.c --prefix=/usr or sh src/httpcmdd.c --prefix=/usr/local at the command line. There is more options to give on command line; enter sh httpcmdd.c to see those if desired.
(Ive planned to create Makefile for future needs; that will come in time).
After compiled, enter ./httpcmdd (as root). If port 127.0.0.1:80 is unbound the daemon will start and detach from terminal. In that case you can try to connect to it by entering http://127.1/ on a browser window. That probably returns an error page (as there is no commands installed to provide content (unless you left the symbolic link generated by quicktest.sh laying around).
If the port 80 is bound (probably by apache http server) or you do no access to root privileges, httpcmdd can be started with option -p . In that case you can access httpcmdd with url http://127.1: /. If httpcmdd was started with user privileges other than root only that user can access the services httpcmdd provides; access to all other users will be denied by default error message and incident is logged to system log.
In case you want to install httpcmdd as a system service (started at system boot time) and you want to use port 80 for it (as I usually like to do) and you have other httpd servers on the system that binds both on localhost loopback interface (127.0.0.1) and on network interface, run httpcmdd first. With luck the other one will accept this and it works fine with other interfaces and skips 127.1. If not (or there is system limitations to do this automatically), you need to configure the other httpd to skip 127.1.
<<lessPrograms are run with privileges of the user running the browser. Each user may have their private commands available in their home directory in addition to the common programs installed to the system (if any). There is also possibility to place some programs in special directory and programs residing there will be run with root privileges.
httpcmdd passes the socket it accepted to the program it started. httpcmdd did not read any data out of the socket, but just peeked it. Program gets all data send from the beginning and httpcmdd does not work as a proxy delivering the data; all data goes directly between peer and the program httpcmdd launched without anyone interfering.
httpdcmdd server socket is bound to the localhost loopback interface only thus network connections to httpcmdd server is not possible -- and if those were, httpcmdd would be unable to identify the user on peer, disallowing further message processing. Finally, some sanity checking is done to incoming http headers; for example Referer: header (if one) not matching to httpd ip (127[.0[.0]].1) and port will cause connection shutdown.
Installation and Usage
There is a set of example programs (shell, perl and python scripts) that can be used to test and get a clue of httpcmdd usage. Just run quicktest.sh to check out those examples (just like in Quick Start section at the beginning of this document). It leaves behind symbolic link at $HOME/.httpcmdd and running httpcmdd daemon. You may want to clean these up after initial testing period (Note that quickstart.sh-compiled httpcmdd binary file was unlinked soon after it was launched).
To compile httpcmdd daemon enter sh src/httpcmdd.c --prefix=/usr or sh src/httpcmdd.c --prefix=/usr/local at the command line. There is more options to give on command line; enter sh httpcmdd.c to see those if desired.
(Ive planned to create Makefile for future needs; that will come in time).
After compiled, enter ./httpcmdd (as root). If port 127.0.0.1:80 is unbound the daemon will start and detach from terminal. In that case you can try to connect to it by entering http://127.1/ on a browser window. That probably returns an error page (as there is no commands installed to provide content (unless you left the symbolic link generated by quicktest.sh laying around).
If the port 80 is bound (probably by apache http server) or you do no access to root privileges, httpcmdd can be started with option -p . In that case you can access httpcmdd with url http://127.1: /. If httpcmdd was started with user privileges other than root only that user can access the services httpcmdd provides; access to all other users will be denied by default error message and incident is logged to system log.
In case you want to install httpcmdd as a system service (started at system boot time) and you want to use port 80 for it (as I usually like to do) and you have other httpd servers on the system that binds both on localhost loopback interface (127.0.0.1) and on network interface, run httpcmdd first. With luck the other one will accept this and it works fine with other interfaces and skips 127.1. If not (or there is system limitations to do this automatically), you need to configure the other httpd to skip 127.1.
Download (0.034MB)
Added: 2007-03-23 License: GPL (GNU General Public License) Price:
945 downloads
localscan 2.1
localscan is a frontend to nmap. more>>
localscan is a frontend to nmap. The purpose of localscan is to make the lives of administrators easier. At its heart, localscan is simply a list of "ignore this host/port combo" rules designed to reduce the amount of useless information returned by nmap scans of a given subnet.
I administer a largish lab at a largish higher educational institution (which shall remain unnamed!), and about three months ago I found it necessary to start running a portscanner against my subnet every so often. Now, while it was relatively easy to cobble something together that would do this and mail the results of the scan to me, I found that my inbox was being filled with inanity. Lots of valid services were present, and the few invalid services were hard to pick out. So I put together a quick-and-dirty filter and released it internally as local_scan 1.0a. Not surprisingly, no one used it. This is because I was (am!) still learning Perl.
After the initial disappointment, I sat down and started rewriting, with the end result being what you just downloaded. :) Localscan 2.0 is much easier for the non-Perl person (yes, there are a few of them out there) to use. All the "interesting" user-configurable parameters are now contained in a plaintext external datafile called localscan.conf.
You should have received four files in this tarball.
This readme file
A "quickstart" guide
Localscan.pl, the actual script
Make_conf.pl, a script to generate the localscan.conf file
<<lessI administer a largish lab at a largish higher educational institution (which shall remain unnamed!), and about three months ago I found it necessary to start running a portscanner against my subnet every so often. Now, while it was relatively easy to cobble something together that would do this and mail the results of the scan to me, I found that my inbox was being filled with inanity. Lots of valid services were present, and the few invalid services were hard to pick out. So I put together a quick-and-dirty filter and released it internally as local_scan 1.0a. Not surprisingly, no one used it. This is because I was (am!) still learning Perl.
After the initial disappointment, I sat down and started rewriting, with the end result being what you just downloaded. :) Localscan 2.0 is much easier for the non-Perl person (yes, there are a few of them out there) to use. All the "interesting" user-configurable parameters are now contained in a plaintext external datafile called localscan.conf.
You should have received four files in this tarball.
This readme file
A "quickstart" guide
Localscan.pl, the actual script
Make_conf.pl, a script to generate the localscan.conf file
Download (0.009MB)
Added: 2006-07-13 License: GPL (GNU General Public License) Price:
1204 downloads
Yahoo::BBAuth 0.01
Yahoo::BBAuth is a Perl interface to the Yahoo! Browser-Based Authentication. more>>
Yahoo::BBAuth is a Perl interface to the Yahoo! Browser-Based Authentication.
SYNOPSIS
my $bbauth = Yahoo::BBAuth->new(
appid => $appid,
secret => $secret,
);
# Create an authentication link
printf, $bbauth->auth_url;
# After the user authenticates successfully, Yahoo returns the user to the page you
# dictated when you signed up. To verify whether authentication succeeded, you need to
# validate the signature:
if ($bbauth->validate_sig()) {
print Authentication Successful;
} else {
print Authentication Failed. Error is: .$bbauth->sig_validation_error;
}
my $url = http://photos.yahooapis.com/V1.0/listAlbums;
my $xml = $bbauth->auth_ws_get_call($url);
unless ($xml) {
print WS call setup Failed. Error is: . $bbauth->access_credentials_error;
} else {
print Look at response for other errors or success: .$xml;
}
This module priovides you an Object Oriented interface for Yahoo! Browser-Based Authentication.
This module is ported from official PHP class library(http://developer.yahoo.com/auth/quickstart/bbauth_quickstart.zip).
<<lessSYNOPSIS
my $bbauth = Yahoo::BBAuth->new(
appid => $appid,
secret => $secret,
);
# Create an authentication link
printf, $bbauth->auth_url;
# After the user authenticates successfully, Yahoo returns the user to the page you
# dictated when you signed up. To verify whether authentication succeeded, you need to
# validate the signature:
if ($bbauth->validate_sig()) {
print Authentication Successful;
} else {
print Authentication Failed. Error is: .$bbauth->sig_validation_error;
}
my $url = http://photos.yahooapis.com/V1.0/listAlbums;
my $xml = $bbauth->auth_ws_get_call($url);
unless ($xml) {
print WS call setup Failed. Error is: . $bbauth->access_credentials_error;
} else {
print Look at response for other errors or success: .$xml;
}
This module priovides you an Object Oriented interface for Yahoo! Browser-Based Authentication.
This module is ported from official PHP class library(http://developer.yahoo.com/auth/quickstart/bbauth_quickstart.zip).
Download (0.004MB)
Added: 2006-12-06 License: Perl Artistic License Price:
1053 downloads
Gantry::Docs::TOC 3.38
Gantry::Docs::TOC is a table of contents for Gantry::Docs::* documentation modules. more>>
Gantry::Docs::TOC is a table of contents for Gantry::Docs::* documentation modules.
What should I read?
This document is a brief annotated list of each Gantry::Docs::* module.
About.pm
Describes the history, features, and motivation behind Gantry.
DBConn.pm
Explains how database connection information flows from app configuration to DBI. The process should be seamless for app developers, but if you need to work on the engines or add support for in ORMs, you may find useful information here.
FAQ.pm
A list of questions we think people are likely to ask along with answers. This is not a philosphical document, it is filled with code examples.
QuickStart.pm
If you are new Gantry and want to get your first app running with a minimum of fuss, this is for you.
TOC.pm
This document.
Tutorial.pm
More detailed than the Quick Start, this document walks through building a simple application with Gantry.
Why.pm
Explains you should use a framework at all, whether it is Gantry or one of the many others.
<<lessWhat should I read?
This document is a brief annotated list of each Gantry::Docs::* module.
About.pm
Describes the history, features, and motivation behind Gantry.
DBConn.pm
Explains how database connection information flows from app configuration to DBI. The process should be seamless for app developers, but if you need to work on the engines or add support for in ORMs, you may find useful information here.
FAQ.pm
A list of questions we think people are likely to ask along with answers. This is not a philosphical document, it is filled with code examples.
QuickStart.pm
If you are new Gantry and want to get your first app running with a minimum of fuss, this is for you.
TOC.pm
This document.
Tutorial.pm
More detailed than the Quick Start, this document walks through building a simple application with Gantry.
Why.pm
Explains you should use a framework at all, whether it is Gantry or one of the many others.
Download (0.19MB)
Added: 2006-10-17 License: GPL (GNU General Public License) Price:
1103 downloads
nio 0.4
nio provides a network IO framework. more>>
nio provides a network IO framework.
nio is a C++ framework for writing Internet Protocol (IP) based software.
nio may be useful for:
- writing test software, testing embedded TCP/IP stacks
- writing didactic software demonstrating the features of the TCP/IP protocol suite
nio is packet oriented and uses the object oriented constructs of C++ for having easy access to every bit on a packet without getting lost in the details.
QUICKSTART
The nio based programs must be executed as root
INSTALL
- Unpack tarball
$ ./configure options
$ make install
<<lessnio is a C++ framework for writing Internet Protocol (IP) based software.
nio may be useful for:
- writing test software, testing embedded TCP/IP stacks
- writing didactic software demonstrating the features of the TCP/IP protocol suite
nio is packet oriented and uses the object oriented constructs of C++ for having easy access to every bit on a packet without getting lost in the details.
QUICKSTART
The nio based programs must be executed as root
INSTALL
- Unpack tarball
$ ./configure options
$ make install
Download (0.38MB)
Added: 2007-04-18 License: GPL (GNU General Public License) Price:
921 downloads
Uplug 0.2.0
Uplug is a collection of tools for linguistic corpus processing, word alignment, and term extraction from parallel corpora. more>>
Uplug is a collection of tools for linguistic corpus processing, word alignment, and term extraction from parallel corpora. Several tools have been integrated in Uplug.
Pre-processing tools include a sentence splitter, tokenizer, and external part-of-speech tagger and shallow parsers. The following external tools are used: the Grok system for English (tagging and chunking) and the morphological analyzer ChaSen for Japanese.
Other tools such as the TreeTagger can easily be added. Translated documents can be sentence aligned using the length-based approach by Gale & Church. Words and phrases can be aligned using the clue alignment approach and the toolbox for training statistical alignment models GIZA++.
Enhancements:
- User management for the Web-based alignment interfaces (ICA & ISA) using simple password protection and user-specific data storage.
- 2 new sentence aligners integrated into Uplug: hunalign and GMA.
- Another sentence alignment approach: uplugalign (length-based sentence alignment with cognate/dictionary filters).
- Quickstart documentation for the new features.
<<lessPre-processing tools include a sentence splitter, tokenizer, and external part-of-speech tagger and shallow parsers. The following external tools are used: the Grok system for English (tagging and chunking) and the morphological analyzer ChaSen for Japanese.
Other tools such as the TreeTagger can easily be added. Translated documents can be sentence aligned using the length-based approach by Gale & Church. Words and phrases can be aligned using the clue alignment approach and the toolbox for training statistical alignment models GIZA++.
Enhancements:
- User management for the Web-based alignment interfaces (ICA & ISA) using simple password protection and user-specific data storage.
- 2 new sentence aligners integrated into Uplug: hunalign and GMA.
- Another sentence alignment approach: uplugalign (length-based sentence alignment with cognate/dictionary filters).
- Quickstart documentation for the new features.
Download (21.9MB)
Added: 2006-10-16 License: GPL (GNU General Public License) Price:
1106 downloads
XML::RSS 1.10
XML::RSS is a Perl module that creates and updates RSS files. more>>
XML::RSS is a Perl module that creates and updates RSS files.
This module provides a basic framework for creating and maintaining RDF Site Summary (RSS) files. This distribution also contains many examples that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and 1.0 version, and other nifty things. This might be helpful if you want to include news feeds on your Web site from sources like Slashot and Freshmeat or if you want to syndicate your own content.
XML::RSS currently supports 0.9, 0.91, and 1.0 versions of RSS. See http://my.netscape.com/publish/help/mnn20/quickstart.html for information on RSS 0.91. See http://my.netscape.com/publish/help/ for RSS 0.9. See http://purl.org/rss/1.0/ for RSS 1.0.
RSS was originally developed by Netscape as the format for Netscape Netcenter channels, however, many Web sites have since adopted it as a simple syndication format. With the advent of RSS 1.0, users are now able to syndication many different kinds of content including news headlines, threaded measages, products catalogs, etc.
<<lessThis module provides a basic framework for creating and maintaining RDF Site Summary (RSS) files. This distribution also contains many examples that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and 1.0 version, and other nifty things. This might be helpful if you want to include news feeds on your Web site from sources like Slashot and Freshmeat or if you want to syndicate your own content.
XML::RSS currently supports 0.9, 0.91, and 1.0 versions of RSS. See http://my.netscape.com/publish/help/mnn20/quickstart.html for information on RSS 0.91. See http://my.netscape.com/publish/help/ for RSS 0.9. See http://purl.org/rss/1.0/ for RSS 1.0.
RSS was originally developed by Netscape as the format for Netscape Netcenter channels, however, many Web sites have since adopted it as a simple syndication format. With the advent of RSS 1.0, users are now able to syndication many different kinds of content including news headlines, threaded measages, products catalogs, etc.
Download (0.037MB)
Added: 2006-09-21 License: Perl Artistic License Price:
1131 downloads
VoxForge 0.1.1
VoxForge was set up to collect transcribed speech for use with Open Source Speech Recognition Engines. more>>
VoxForge project was set up to collect transcribed speech for use with Open Source Speech Recognition Engines. We will categorize and make available all submitted audio files under the GPL license, and then compile them into Acoustic Models for use with Open Source Speech Recognition engines such as such as Sphinx, HTK, CAVS and Julius.
The current focus of VoxForge is on collecting transcribed audio for Command and Control applications on a PC and for Telephony Speech Recognition (i.e. IVR - Interactive Voice Response) applications. We will collect English language audio to begin with, and add other languages in the future.
Click the SubmitSpeech link on the menu above to learn how to record your speech and submit your speech audio files to VoxForge. Click the AcousticModels link to learn how compile your speech audio files into a Speaker Dependent Acoustic Model or how to modify the VoxForge Speaker Independent Acoustic Model to better recognize your voice.
Enhancements:
- The QuickStart Acoustic Model was updated.
<<lessThe current focus of VoxForge is on collecting transcribed audio for Command and Control applications on a PC and for Telephony Speech Recognition (i.e. IVR - Interactive Voice Response) applications. We will collect English language audio to begin with, and add other languages in the future.
Click the SubmitSpeech link on the menu above to learn how to record your speech and submit your speech audio files to VoxForge. Click the AcousticModels link to learn how compile your speech audio files into a Speaker Dependent Acoustic Model or how to modify the VoxForge Speaker Independent Acoustic Model to better recognize your voice.
Enhancements:
- The QuickStart Acoustic Model was updated.
Download (1.2MB)
Added: 2006-10-18 License: GPL (GNU General Public License) Price:
1104 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 2
- 1
- 2
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above quickstart 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