l
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 399
Type1 URW fonts with Cyrillics 1.0.7pre43
Type1 URW fonts with Cyrillics is a set of fonts known as urw-fonts or gnu-gs-fonts with the addition of cyrillic glyphs. more>>
Type1 URW fonts with Cyrillics is a set of fonts known as urw-fonts or gnu-gs-fonts with the addition of cyrillic glyphs.
Nimbus Sans L Regular, Nimbus Mono L Regular, Nimbus Mono L Oblique all come from a more recent version of the cyrillic URW fonts.
The hints on Nimbus Sans Regular have been modified in the following ways:
25 June 2002
- Added ghost hint to the top of 4 to keep it from being taller than the other digits.
- Reduced the width of the left stem hint for H to 83 (probably no real differences)
- Changed the StemSnapV values from [78 85 94] to [78 83 92] (and fixed up StdVW accordingly) This corresponds to the values in the font (which are 83/93 for lower case and upper case stems) better and makes the width-88 stems on M and N snap to to upper case widths not lower-case widths.
29 June 2002
- Removed odd vertical stem hints (width of horizontal stems) from f, F, t, E, yen sign, fi ligature, fl ligature, AE ligature, R, Lstroke, OE ligature, lstroke, E" variants, t, variants, Eth, Dstoke, etc.
- Fixed hints on 1 to be two ghost hints instead of one hint the height of the font
- fix bottom stem of u to have integer coordinates
- fixed hints on |
- fixed hints on inverted exclamation mark
The hints on Nimbus Mono L Oblique have been modified in the
following ways:
- Removed vertical stem hints from horizontal serifs on roman characters.
Enhancements:
- A lot of non-Russian Cyrillic glyph were fixed.
- All glyphs that have not yet been fixed were excluded from the distributed version.
<<lessNimbus Sans L Regular, Nimbus Mono L Regular, Nimbus Mono L Oblique all come from a more recent version of the cyrillic URW fonts.
The hints on Nimbus Sans Regular have been modified in the following ways:
25 June 2002
- Added ghost hint to the top of 4 to keep it from being taller than the other digits.
- Reduced the width of the left stem hint for H to 83 (probably no real differences)
- Changed the StemSnapV values from [78 85 94] to [78 83 92] (and fixed up StdVW accordingly) This corresponds to the values in the font (which are 83/93 for lower case and upper case stems) better and makes the width-88 stems on M and N snap to to upper case widths not lower-case widths.
29 June 2002
- Removed odd vertical stem hints (width of horizontal stems) from f, F, t, E, yen sign, fi ligature, fl ligature, AE ligature, R, Lstroke, OE ligature, lstroke, E" variants, t, variants, Eth, Dstoke, etc.
- Fixed hints on 1 to be two ghost hints instead of one hint the height of the font
- fix bottom stem of u to have integer coordinates
- fixed hints on |
- fixed hints on inverted exclamation mark
The hints on Nimbus Mono L Oblique have been modified in the
following ways:
- Removed vertical stem hints from horizontal serifs on roman characters.
Enhancements:
- A lot of non-Russian Cyrillic glyph were fixed.
- All glyphs that have not yet been fixed were excluded from the distributed version.
Download (3.0MB)
Added: 2007-08-04 License: GPL (GNU General Public License) Price:
537 downloads
Color::Object 0.1_02
Color::Object is a OO-Color Module. more>>
Color::Object is a OO-Color Module.
A module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules.
SYNOPSIS
use Color::Object;
$cl = Color::Object->new;
$cl = Color::Object->newRGB($r,$g,$b);
$cl = Color::Object->newHSV($h,$s,$v);
$cl = Color::Object->newHSL($h,$s,$l);
$cl->setRGB($r,$g,$b);
$cl->addBrightness($br);
($h,$s,$l) = $cl->asHSL;
METHODS
Color::Object->new
Color::Object->newRGB $r, $g, $b
Color::Object->newHSV $h, $s, $v
Color::Object->newHSL $h, $s, $l
Color::Object->newGrey $grey
( $r, $g, $b ) = $cl->asRGB
Returns $cls rgb values. Range [0 .. 1].
( $h, $s, $v ) = $cl->asHSV
Returns $cls hsv values. Ranges h [0 .. 360], s/v [0 .. 1].
( $h, $s, $l ) = $cl->asHSL
Returns $cls hsl values. Ranges h [0 .. 360], s/l [0 .. 1].
$grey = $cl->asGrey
$grey = $cl->asGrey2
Returns $cls grey value. Range [0 .. 1]. Functions 2 returns the geometric mean of the corresponding RGB values.
( $c, $m, $y )= $cl->asCMY
Returns $cls cmy values. Range [0 .. 1].
( $c, $m, $y, $k )= $cl->asCMYK
( $c, $m, $y, $k )= $cl->asCMYK2
( $c, $m, $y, $k )= $cl->asCMYK3
Returns $cls cmyk values. Range [0 .. 1]. Function 2 returns a 25% lighter color-equivalent. Function 3 returns a 25% lighter color-equivalent.
$hex = $cl->asHex
Returns $cls rgb values as 6 hex-digits.
$cl->setRGB $r, $g, $b
Sets the $cls rgb values. Valid range [0 .. 1].
$cl->setHSV $h, $s, $v
Sets the $cls hsv values. Valid ranges: h [0..360], s/v [0..1].
$cl->setHSL $h, $s, $l
Sets the $cls hsl values. Valid ranges: h [0..360], s/l [0..1].
$cl->setGrey $grey
Sets the $cls grey value. Valid range [0 .. 1].
$cl->setHex $hex
Sets the $cls rgb values using 6 hex-nibbles.
$cl->addSaturation $saturation
Adds to the $cls saturation in the HSV model. Valid range [-1 .. 1].
$cl->setSaturation $saturation
Sets the $cls saturation in the HSV model. Valid range [0 .. 1].
$cl->rotHue $degrees
Rotates the $cls hue in the HSV/L model. Valid range [-360 .. 360].
$cl->setHue $hue
Sets the $cls hue in the HSV/L model. Valid range [0 .. 360].
$cl->addBrightness $brightness
Adds to the $cls brightness in the HSV model. Valid range [-1 .. 1].
$cl->setBrightness $brightness
Sets the $cls brightness in the HSV model. Valid range [0 .. 1].
$cl->addLightness $lightness
Adds to the $cls lightness in the HSL model. Valid range [-1 .. 1].
$cl->setLightness $lightness
Sets the $cls lightness in the HSL model. Valid range [0 .. 1].
<<lessA module for manipulation Colors within RGB, HSV and HSL color-spaces for usage within PDF-Documents especially with the Text::PDF::API modules.
SYNOPSIS
use Color::Object;
$cl = Color::Object->new;
$cl = Color::Object->newRGB($r,$g,$b);
$cl = Color::Object->newHSV($h,$s,$v);
$cl = Color::Object->newHSL($h,$s,$l);
$cl->setRGB($r,$g,$b);
$cl->addBrightness($br);
($h,$s,$l) = $cl->asHSL;
METHODS
Color::Object->new
Color::Object->newRGB $r, $g, $b
Color::Object->newHSV $h, $s, $v
Color::Object->newHSL $h, $s, $l
Color::Object->newGrey $grey
( $r, $g, $b ) = $cl->asRGB
Returns $cls rgb values. Range [0 .. 1].
( $h, $s, $v ) = $cl->asHSV
Returns $cls hsv values. Ranges h [0 .. 360], s/v [0 .. 1].
( $h, $s, $l ) = $cl->asHSL
Returns $cls hsl values. Ranges h [0 .. 360], s/l [0 .. 1].
$grey = $cl->asGrey
$grey = $cl->asGrey2
Returns $cls grey value. Range [0 .. 1]. Functions 2 returns the geometric mean of the corresponding RGB values.
( $c, $m, $y )= $cl->asCMY
Returns $cls cmy values. Range [0 .. 1].
( $c, $m, $y, $k )= $cl->asCMYK
( $c, $m, $y, $k )= $cl->asCMYK2
( $c, $m, $y, $k )= $cl->asCMYK3
Returns $cls cmyk values. Range [0 .. 1]. Function 2 returns a 25% lighter color-equivalent. Function 3 returns a 25% lighter color-equivalent.
$hex = $cl->asHex
Returns $cls rgb values as 6 hex-digits.
$cl->setRGB $r, $g, $b
Sets the $cls rgb values. Valid range [0 .. 1].
$cl->setHSV $h, $s, $v
Sets the $cls hsv values. Valid ranges: h [0..360], s/v [0..1].
$cl->setHSL $h, $s, $l
Sets the $cls hsl values. Valid ranges: h [0..360], s/l [0..1].
$cl->setGrey $grey
Sets the $cls grey value. Valid range [0 .. 1].
$cl->setHex $hex
Sets the $cls rgb values using 6 hex-nibbles.
$cl->addSaturation $saturation
Adds to the $cls saturation in the HSV model. Valid range [-1 .. 1].
$cl->setSaturation $saturation
Sets the $cls saturation in the HSV model. Valid range [0 .. 1].
$cl->rotHue $degrees
Rotates the $cls hue in the HSV/L model. Valid range [-360 .. 360].
$cl->setHue $hue
Sets the $cls hue in the HSV/L model. Valid range [0 .. 360].
$cl->addBrightness $brightness
Adds to the $cls brightness in the HSV model. Valid range [-1 .. 1].
$cl->setBrightness $brightness
Sets the $cls brightness in the HSV model. Valid range [0 .. 1].
$cl->addLightness $lightness
Adds to the $cls lightness in the HSL model. Valid range [-1 .. 1].
$cl->setLightness $lightness
Sets the $cls lightness in the HSL model. Valid range [0 .. 1].
Download (0.003MB)
Added: 2007-07-31 License: Perl Artistic License Price:
815 downloads
Time::Progress 1.2
Time::Progress Perl module contains elapsed and estimated finish time reporting. more>>
Time::Progress Perl module contains elapsed and estimated finish time reporting.
SYNOPSIS
# autoflush to get r working
$| = 1;
# get new `timer
my $p = new Time::Progress;
# restart and report progress
$p->restart;
sleep 5; # or do some work here
print $p->report( "done %p elapsed: %L (%l sec), ETA %E (%e sec)n", 50 );
# set min and max values
$p->attr( min => -2, max => -20 );
# restart `timer
$p->restart;
my $c;
for( $c = -2; $c >= -20; $c-- )
{
# print progress bar and percentage done
print $p->report( "eta: %E min, %40b %pr", $c );
sleep 1; # work...
}
# stop timer
$p->stop;
# report times
print $p->elapsed_str;
<<lessSYNOPSIS
# autoflush to get r working
$| = 1;
# get new `timer
my $p = new Time::Progress;
# restart and report progress
$p->restart;
sleep 5; # or do some work here
print $p->report( "done %p elapsed: %L (%l sec), ETA %E (%e sec)n", 50 );
# set min and max values
$p->attr( min => -2, max => -20 );
# restart `timer
$p->restart;
my $c;
for( $c = -2; $c >= -20; $c-- )
{
# print progress bar and percentage done
print $p->report( "eta: %E min, %40b %pr", $c );
sleep 1; # work...
}
# stop timer
$p->stop;
# report times
print $p->elapsed_str;
Download (0.010MB)
Added: 2007-07-28 License: Perl Artistic License Price:
818 downloads
PawPaw 0.6
PawPaw is a forth-like language except that it allows top-down development. more>>
PawPaw is a forth-like language except that it allows top-down development.
There are several stacks. As you would expect there is a data stack, a return stack. But there is also a control structure stack.
Include files are implemented with the # token, which is followed by the filename to include (up to 19 levels).
Here is a list of the words that are implemented so far:
EXIT calls exit(0) to end the interpreter.
+L add longs
.L print long
+ int add
. int print
: define a new word
niy print that a word (string arg) is not implemented, exit the interpret loop early.
; end a definition
"word" edit calls the Kwrite editor on the source file name corresponding to word.
(note the name of the file is a hex string followed by .pp)
size var name define a variable.
value const name define a constant
@C fetch from a character var
!C store to a char var
@S fetch from a short var
!S store to a short var
@ integer fetch
! integer store
- int subtract
- int multiply
% int modulus
/ int divide
& integer and
| integer or
^ integer exclusive or
~ 1s complement integer
> integer shift right
> < >= L convert int to long
L->I convert long to int
@L fetch long
!L store long
-L long subtract
*L long multiply
%L long modulus
&L long and
|L long or
^L long eor
~L ones complement long
L shift long right by int arg
L =L !=L ==L long relationals
dup int dup
dupL long dup
drop int drop
dropL long drop
rot int rot
rotL long rot
swap int swap
swapL long swap
pick int pick
pickL long pick by int arg
[]! subscripted store
/* ... */ comment
"word" compile compile a definition file
"xxx" "yyy" add_dep add a dependency for yyy to word xxx file.
control structure
if (expr) then true-part else false-part fi
or
if (expr) then true-part fi
while expr do body od
until expr do body od
Enhancements:
- Autoloading was fixed.
<<lessThere are several stacks. As you would expect there is a data stack, a return stack. But there is also a control structure stack.
Include files are implemented with the # token, which is followed by the filename to include (up to 19 levels).
Here is a list of the words that are implemented so far:
EXIT calls exit(0) to end the interpreter.
+L add longs
.L print long
+ int add
. int print
: define a new word
niy print that a word (string arg) is not implemented, exit the interpret loop early.
; end a definition
"word" edit calls the Kwrite editor on the source file name corresponding to word.
(note the name of the file is a hex string followed by .pp)
size var name define a variable.
value const name define a constant
@C fetch from a character var
!C store to a char var
@S fetch from a short var
!S store to a short var
@ integer fetch
! integer store
- int subtract
- int multiply
% int modulus
/ int divide
& integer and
| integer or
^ integer exclusive or
~ 1s complement integer
> integer shift right
> < >= L convert int to long
L->I convert long to int
@L fetch long
!L store long
-L long subtract
*L long multiply
%L long modulus
&L long and
|L long or
^L long eor
~L ones complement long
L shift long right by int arg
L =L !=L ==L long relationals
dup int dup
dupL long dup
drop int drop
dropL long drop
rot int rot
rotL long rot
swap int swap
swapL long swap
pick int pick
pickL long pick by int arg
[]! subscripted store
/* ... */ comment
"word" compile compile a definition file
"xxx" "yyy" add_dep add a dependency for yyy to word xxx file.
control structure
if (expr) then true-part else false-part fi
or
if (expr) then true-part fi
while expr do body od
until expr do body od
Enhancements:
- Autoloading was fixed.
Download (0.040MB)
Added: 2007-07-27 License: GPL (GNU General Public License) Price:
819 downloads
ATA over Ethernet driver 49
ATA over Ethernet driver allows the Linux kernel to use the ATA over Ethernet (AoE) network protocol. more>>
ATA over Ethernet driver allows the Linux kernel to use the ATA over Ethernet (AoE) network protocol.
Using AoE, a Linux system can use AoE block devices like EtherDrive (R) storage blades.
The block devices appear as local device nodes (e.g. /dev/etherd/e0.0).
Enhancements:
- The driver now handles payloads larger than 4KiB, receives large packets without extra in-memory copy, and handles I/O requests so that the user can choose between the Linux I/O schedulers.
<<lessUsing AoE, a Linux system can use AoE block devices like EtherDrive (R) storage blades.
The block devices appear as local device nodes (e.g. /dev/etherd/e0.0).
Enhancements:
- The driver now handles payloads larger than 4KiB, receives large packets without extra in-memory copy, and handles I/O requests so that the user can choose between the Linux I/O schedulers.
Download (0.066MB)
Added: 2007-07-20 License: GPL (GNU General Public License) Price:
831 downloads
jresolver 0.1
jresolver is a Java DNS resolver library. more>>
jresolver is a Java DNS resolver library. This is a domain name resolver library written in pure java. It is what RFC1034 describes as a stub resolver, in other words it uses a single nameserver to do the hard work of resolving its queries. At the moment it only handles queries for MX records, but it can easily be extended to resolve new types of queries as needed.
Main features:
- Lightweight. The binary jar is less than 17k at the moment, and has no
- exernal dependencies besides JDK 1.4.
- Multi Threaded. It handles multiple concurrent threads sharing a single
- Resolver instance.
- Easy to use and develop. The software does one thing, and the code is quite
- readable.
- Free software. Released under the GPL 3.0 license, this software can be used,
- modified and redistributed by anyone respecting the terms of the license. If you
- need other licensing options, please contact me.
Usage:
A snippet of code says more than lots of words:
Resolver r = new Resolver("ns.voxbiblia.se");
List l = r.resolve(new MXQuery("voxbiblia.se"));
for (int i = 0; i < l.size(); i++) {
MXRecord mx = (MXRecord)l.get(i);
System.out.println("mx: " + mx.getExchange() + " p: "+ mx.getPreference());
}
If you want to build and test the software you need to unpack the files named jresolver-*-src.tar.bz2 and jresolver-*-test.tar.bz2 and use Apache Ant with the build.xml file included. You may need to update the test cases with your dns server names.
Enhancements:
- Somewhat tested, but not yet ready for a production environment.
<<lessMain features:
- Lightweight. The binary jar is less than 17k at the moment, and has no
- exernal dependencies besides JDK 1.4.
- Multi Threaded. It handles multiple concurrent threads sharing a single
- Resolver instance.
- Easy to use and develop. The software does one thing, and the code is quite
- readable.
- Free software. Released under the GPL 3.0 license, this software can be used,
- modified and redistributed by anyone respecting the terms of the license. If you
- need other licensing options, please contact me.
Usage:
A snippet of code says more than lots of words:
Resolver r = new Resolver("ns.voxbiblia.se");
List l = r.resolve(new MXQuery("voxbiblia.se"));
for (int i = 0; i < l.size(); i++) {
MXRecord mx = (MXRecord)l.get(i);
System.out.println("mx: " + mx.getExchange() + " p: "+ mx.getPreference());
}
If you want to build and test the software you need to unpack the files named jresolver-*-src.tar.bz2 and jresolver-*-test.tar.bz2 and use Apache Ant with the build.xml file included. You may need to update the test cases with your dns server names.
Enhancements:
- Somewhat tested, but not yet ready for a production environment.
Download (0.033MB)
Added: 2007-07-17 License: GPL v3 Price:
829 downloads
cats2procmailrc 2.1
cats2procmailrc can generate a procmail recipe from my mail categories file. more>>
cats2procmailrc can generate a procmail recipe from my mail categories file. The intent is to have an extremely succinct file of easily editable one line rules, generally of the form:
folder tag pattern
I build my .procmailrc like this:
cats2procmailrc
-a announce-email "+%"
-t maildir -L
-m cskk.homeip.net
$HOME/.procmailrc
Options:
-a alert
Specify a shell command to run as the alert function (see FILE FORMAT below), such as mailblink(1). The character percent (%) is replaced by the folder name.
-D
Insert a variation on the standard formail(1) recipe for deleting duplicates on a per-folder basis. For MH and Maildir folders, use a .msgid.cache file within the folder, otherwise use the file MAILDIR/.msgid.cache-folder.
-L
Put the tag into the X-Label header field instead of as a prefix to the subject line.
-m maildomains
Specify the default mail domain for rule addresses lacking an @domain. The default comes from the environment variable $MAILDOMAIN. In fact this may be a list of domains if you have some equvalents, separated by commas.
-t type
Specify the default mailbox type. If the mailbox exists the type is deduced automatically, but otherwise uses this default, which may be one of unix, maildir or mh. The default is unix.
-T
Dont track rule matches. Normally a X-Cats2Procmailrc-Matching-Rule header is inserted describing the match rule. This is done with formail and so can incur a noticable penalty if slow machines with lots of messages. If youre using the -L option the labels will mostly track stuff for you anyway.
Enhancements:
- Broken mutli-folder rule parsing was fixed.
<<lessfolder tag pattern
I build my .procmailrc like this:
cats2procmailrc
-a announce-email "+%"
-t maildir -L
-m cskk.homeip.net
$HOME/.procmailrc
Options:
-a alert
Specify a shell command to run as the alert function (see FILE FORMAT below), such as mailblink(1). The character percent (%) is replaced by the folder name.
-D
Insert a variation on the standard formail(1) recipe for deleting duplicates on a per-folder basis. For MH and Maildir folders, use a .msgid.cache file within the folder, otherwise use the file MAILDIR/.msgid.cache-folder.
-L
Put the tag into the X-Label header field instead of as a prefix to the subject line.
-m maildomains
Specify the default mail domain for rule addresses lacking an @domain. The default comes from the environment variable $MAILDOMAIN. In fact this may be a list of domains if you have some equvalents, separated by commas.
-t type
Specify the default mailbox type. If the mailbox exists the type is deduced automatically, but otherwise uses this default, which may be one of unix, maildir or mh. The default is unix.
-T
Dont track rule matches. Normally a X-Cats2Procmailrc-Matching-Rule header is inserted describing the match rule. This is done with formail and so can incur a noticable penalty if slow machines with lots of messages. If youre using the -L option the labels will mostly track stuff for you anyway.
Enhancements:
- Broken mutli-folder rule parsing was fixed.
Download (0.014MB)
Added: 2007-07-17 License: Freeware Price:
829 downloads
alterMIME 0.3.8
alterMIME is a small program which is used to alter your mime-encoded mailpacks. more>>
alterMIME is a small program which is used to alter your mime-encoded mailpacks as typically received by Xamime, Inflex and AMaViS.
Main features:
- Insert disclaimers
- Insert arbitary X-headers
- Modify existing headers
- Remove attachments based on filename or content-type
- Replace attachments based on filename
Enhancements:
- The FFGET engine has been updated.
- Fixed Outlook Calendar kludging has been fixed.
- BASE64 disclaimer insertions have been added.
<<lessMain features:
- Insert disclaimers
- Insert arbitary X-headers
- Modify existing headers
- Remove attachments based on filename or content-type
- Replace attachments based on filename
Enhancements:
- The FFGET engine has been updated.
- Fixed Outlook Calendar kludging has been fixed.
- BASE64 disclaimer insertions have been added.
Download (0.074MB)
Added: 2007-07-14 License: BSD License Price:
835 downloads
CGI::AppBuilder::Frame 0.10
CGI::AppBuilder::Frame is a configuration initializer. more>>
CGI::AppBuilder::Frame is a configuration initializer.
SYNOPSIS
use CGI::AppBuilder::Frame;
my $ab = CGI::AppBuilder::Frame- >new(
ifn, my_init.cfg, opt, vhS:a:);
my ($q, $ar, $ar_log) = $ab- >start_app($0, %ARGV);
print $ab- >disp_form($q, $ar);
This class provides methods for reading and parsing configuration files.
new (ifn = > file.cfg, opt = > hvS:)
This is a inherited method from CGI::AppBuilder. See the same method in CGI::AppBuilder for more details.
frame_set ($fr, $pr)
Input variables:
$fr - frame set definiton array reference. The $fr contains two
elements [$hr, $ar]:
$hr - a hash ref containing the frame set attributes
$ar - a array ref containing hash references defining each
frames in the frame set.
$pr - tag attribute array ref. It contains three elements:
class - CSS class name
attr - attribute string such as width=5 onChange=js_func
hr - hash ref with key and value pairs. This will be obtained
from $fr for each frame set and frame.
pretty - whether to add line breaks
Variables used or methods called:
CGI::AppBuilder::Table
html_tag - generate HTML tags
CGI::AppBuilder::Message
echo_msg - display message
How to use:
The following shows how to define the frame array ($fr):
+-+----+ The following defines the left layout:
| | T |
| +----+ [{cols= >"150,*"},[
| | | {src= >"left.htm",name= >"L"},
|L| C | [{rows= >"100,*,50"},[
| | | {src= >"top.htm",name= >"T"},
| |----| {src= >"main.htm",name= >"C"},
| | B | {src= >"bottom.htm",name= >"B"}]]]
+-+----+ ]
In YAML, here is how it looks like:
---
cols: 150,*
- src: left.htm
name: L
- rows: 100,*,50
- src: top.htm
name: T
- src: main.htm
name: C
- src: bottom.htm
name: B
...
+-+------+ The following defines the left layout:
| | T |
| +----+-+ [{cols= >"150,*"},[
| | | | {src= >"left.htm",name= >"L"},
|L| C |R| [{rows= >"100,*,50"},[
| | | | {src= >"top.htm",name= >"T"},
| | | | [{cols= >"*,100"},[
| |----+-+ {src= >"main.htm",name= >"C"},
| | | {src= >"right.htm",name= >"R"}] ] ],
| | B | {src= >"bottom.htm",name= >"B"}]]
+-+----+-+ ]
In YAML, here is how it looks like:
---
cols: 150,*
- src: left.htm
name: L
- rows: 100,*,50
- src: top.htm
name: T
- cols: *,100
- src: main.htm
name: C
- src: right.htm
name: R
- src: bottom.htm
name: B
...
Here is the testing codes:
my $fr = [{cols= >"150,*"},[
{src= >"left.htm",name= >"L"},
[{rows= >"100,*,50"},[
{src= >"top.htm",name= >"T"},
{src= >"main.htm",name= >"C"},
{src= >"bottom.htm",name= >"B"}]
]]
];
my $pr = {pretty= >1};
print $obj- >frame_set($fr,$pr);
# the following is the result:
< FRAMESET cols=150,* >
< FRAME src=left.htm name=L >
< FRAMESET rows=100,*,50 >
< FRAME src=top.htm name=T >
< FRAME src=main.htm name=C >
< FRAME src=bottom.htm name=B >
< / FRAMESET >
< / FRAMESET >
$pr- >{_frameset_count} = 0; # reset frame set counter
my $f2 = [ {cols= >"150,*"},[
{src= >"left.htm",name= >"L"},
[{rows= >"100,*,50"},[
{src= >"top.htm",name= >"T"},
[{cols= >"*,100"},[
{src= >"main.htm",name= >"C"},
{src= >"right.htm",name= >"R"}]
],
{src= >"bottom.htm",name= >"B"}]
]]
];
print $obj- >frame_set($f2,$pr);
# the following is the result:
< FRAMESET cols=150,* >
< FRAME src=left.htm name=L >
< FRAMESET rows=100,*,50 >
< FRAME src=top.htm name=T >
< FRAMESET cols=*,100 >
< FRAME src=main.htm name=C >
< FRAME src=right.htm name=R >
< / FRAMESET >
< FRAME src=bottom.htm name=B >
< / FRAMESET >
< / FRAMESET >
Return: HTML codes.
This method generates HTML codes based on the information provided. This method is also called < I >frameset< / I >.
<<lessSYNOPSIS
use CGI::AppBuilder::Frame;
my $ab = CGI::AppBuilder::Frame- >new(
ifn, my_init.cfg, opt, vhS:a:);
my ($q, $ar, $ar_log) = $ab- >start_app($0, %ARGV);
print $ab- >disp_form($q, $ar);
This class provides methods for reading and parsing configuration files.
new (ifn = > file.cfg, opt = > hvS:)
This is a inherited method from CGI::AppBuilder. See the same method in CGI::AppBuilder for more details.
frame_set ($fr, $pr)
Input variables:
$fr - frame set definiton array reference. The $fr contains two
elements [$hr, $ar]:
$hr - a hash ref containing the frame set attributes
$ar - a array ref containing hash references defining each
frames in the frame set.
$pr - tag attribute array ref. It contains three elements:
class - CSS class name
attr - attribute string such as width=5 onChange=js_func
hr - hash ref with key and value pairs. This will be obtained
from $fr for each frame set and frame.
pretty - whether to add line breaks
Variables used or methods called:
CGI::AppBuilder::Table
html_tag - generate HTML tags
CGI::AppBuilder::Message
echo_msg - display message
How to use:
The following shows how to define the frame array ($fr):
+-+----+ The following defines the left layout:
| | T |
| +----+ [{cols= >"150,*"},[
| | | {src= >"left.htm",name= >"L"},
|L| C | [{rows= >"100,*,50"},[
| | | {src= >"top.htm",name= >"T"},
| |----| {src= >"main.htm",name= >"C"},
| | B | {src= >"bottom.htm",name= >"B"}]]]
+-+----+ ]
In YAML, here is how it looks like:
---
cols: 150,*
- src: left.htm
name: L
- rows: 100,*,50
- src: top.htm
name: T
- src: main.htm
name: C
- src: bottom.htm
name: B
...
+-+------+ The following defines the left layout:
| | T |
| +----+-+ [{cols= >"150,*"},[
| | | | {src= >"left.htm",name= >"L"},
|L| C |R| [{rows= >"100,*,50"},[
| | | | {src= >"top.htm",name= >"T"},
| | | | [{cols= >"*,100"},[
| |----+-+ {src= >"main.htm",name= >"C"},
| | | {src= >"right.htm",name= >"R"}] ] ],
| | B | {src= >"bottom.htm",name= >"B"}]]
+-+----+-+ ]
In YAML, here is how it looks like:
---
cols: 150,*
- src: left.htm
name: L
- rows: 100,*,50
- src: top.htm
name: T
- cols: *,100
- src: main.htm
name: C
- src: right.htm
name: R
- src: bottom.htm
name: B
...
Here is the testing codes:
my $fr = [{cols= >"150,*"},[
{src= >"left.htm",name= >"L"},
[{rows= >"100,*,50"},[
{src= >"top.htm",name= >"T"},
{src= >"main.htm",name= >"C"},
{src= >"bottom.htm",name= >"B"}]
]]
];
my $pr = {pretty= >1};
print $obj- >frame_set($fr,$pr);
# the following is the result:
< FRAMESET cols=150,* >
< FRAME src=left.htm name=L >
< FRAMESET rows=100,*,50 >
< FRAME src=top.htm name=T >
< FRAME src=main.htm name=C >
< FRAME src=bottom.htm name=B >
< / FRAMESET >
< / FRAMESET >
$pr- >{_frameset_count} = 0; # reset frame set counter
my $f2 = [ {cols= >"150,*"},[
{src= >"left.htm",name= >"L"},
[{rows= >"100,*,50"},[
{src= >"top.htm",name= >"T"},
[{cols= >"*,100"},[
{src= >"main.htm",name= >"C"},
{src= >"right.htm",name= >"R"}]
],
{src= >"bottom.htm",name= >"B"}]
]]
];
print $obj- >frame_set($f2,$pr);
# the following is the result:
< FRAMESET cols=150,* >
< FRAME src=left.htm name=L >
< FRAMESET rows=100,*,50 >
< FRAME src=top.htm name=T >
< FRAMESET cols=*,100 >
< FRAME src=main.htm name=C >
< FRAME src=right.htm name=R >
< / FRAMESET >
< FRAME src=bottom.htm name=B >
< / FRAMESET >
< / FRAMESET >
Return: HTML codes.
This method generates HTML codes based on the information provided. This method is also called < I >frameset< / I >.
Download (0.010MB)
Added: 2007-07-12 License: Perl Artistic License Price:
841 downloads
Policy Daemon 1.81
Policy Daemon is an anti-spam plugin for Postfix. more>>
Policy Daemon project is an anti-spam plugin for Postfix (written in C) that does Greylisting, Sender-(envelope, SASL or host / ip)-based throttling (on messages and/or volume per defined time unit), Recipient rate limiting, Spamtrap monitoring / blacklisting, HELO auto blacklisting and HELO randomization preventation.
Enhancements:
- Merged OSX -L < libdir > vs. -L< libdir > fix into v1.8x branch
- Added quirk for SIGPIPE on Apple
- Added quirk for some versions of NetBSD which dont have SO_NOSIGPIPE
- Added error message that if we cannot find how to handle SIGPIPE on the host platform to contact the devel mailing list
- Make "stats" command a bit better aligned
- Be paranoid bout our read buffer size check
- Better check to see if weve run out of available slots, if we have emit a warning and close connection
- Fixed potential buffer overflow when line length exceeds MAXLINE
<<lessEnhancements:
- Merged OSX -L < libdir > vs. -L< libdir > fix into v1.8x branch
- Added quirk for SIGPIPE on Apple
- Added quirk for some versions of NetBSD which dont have SO_NOSIGPIPE
- Added error message that if we cannot find how to handle SIGPIPE on the host platform to contact the devel mailing list
- Make "stats" command a bit better aligned
- Be paranoid bout our read buffer size check
- Better check to see if weve run out of available slots, if we have emit a warning and close connection
- Fixed potential buffer overflow when line length exceeds MAXLINE
Download (0.35MB)
Added: 2007-07-11 License: GPL (GNU General Public License) Price:
835 downloads
RipMIME 1.4.0.7
RipMIME is an email attachment extration tool. more>>
RipMIME project is an email attachment extration tool.
RipMIME has been written as part of the (commercial) Xamime package, but because there was such a problem trying to attain a easy to use, openSource MIME decoder which the everyday person with some limited C skills could try and play with, we decided to release the MIME decoding components of Xamime as its own package which you are now seeing as "RipMIME".
RipMIME has a single sole pupose, to extract the attached files out of a MIME package (as say produced by programs such as AMaViS, Inflex and Xamime). RipMIME deliberately has no other operating purpose (if you find another use, then thats great).
It has been written (at this point) purely by Paul L Daniels and it is being released under a BSD style licence so that other commercial ventures may if they so desire use this product without the headaches normally associated with using GPL software.
Installation:
make
make install
Enhancements:
- A one-off boundary error in FFGET that caused segfaults for short files was fixed.
<<lessRipMIME has been written as part of the (commercial) Xamime package, but because there was such a problem trying to attain a easy to use, openSource MIME decoder which the everyday person with some limited C skills could try and play with, we decided to release the MIME decoding components of Xamime as its own package which you are now seeing as "RipMIME".
RipMIME has a single sole pupose, to extract the attached files out of a MIME package (as say produced by programs such as AMaViS, Inflex and Xamime). RipMIME deliberately has no other operating purpose (if you find another use, then thats great).
It has been written (at this point) purely by Paul L Daniels and it is being released under a BSD style licence so that other commercial ventures may if they so desire use this product without the headaches normally associated with using GPL software.
Installation:
make
make install
Enhancements:
- A one-off boundary error in FFGET that caused segfaults for short files was fixed.
Download (0.15MB)
Added: 2007-07-10 License: BSD License Price:
840 downloads
Perlbug::Object 2.93
Perlbug::Object is a object handler for Perlbug database. more>>
Perlbug::Object is a object handler for Perlbug database.
Handles Perlbug database objects, typically bug, group, message, patch, note, test, user, and severity, status etc....
Methods included to recognise objects by their id or by their also unique name.
SYNOPSIS
my $o_obj = Perlbug::Object->new(%init); # see L
$o_obj = $o_obj->read($oid); # data
my $name = $o_obj->data(name); # Bug
# ALL bugids (optionally) constrained by sql where clause
my @ids = $o_obj->ids($where); # where
# Relation ids
my @patchids = $o_obj->rel_ids(patch); # relids
print = $o_obj->format(h);
<<lessHandles Perlbug database objects, typically bug, group, message, patch, note, test, user, and severity, status etc....
Methods included to recognise objects by their id or by their also unique name.
SYNOPSIS
my $o_obj = Perlbug::Object->new(%init); # see L
$o_obj = $o_obj->read($oid); # data
my $name = $o_obj->data(name); # Bug
# ALL bugids (optionally) constrained by sql where clause
my @ids = $o_obj->ids($where); # where
# Relation ids
my @patchids = $o_obj->rel_ids(patch); # relids
print = $o_obj->format(h);
Download (0.49MB)
Added: 2007-07-08 License: Perl Artistic License Price:
841 downloads
Tennix! SDL Port 0.3.2
Tennix! SDL Port is a simple two-player tennis game. more>>
Tennix! SDL Port is a simple two-player tennis game.
It features simple image loading (with all game graphics being customizable by simply editing them with a graphics editor like The GIMP), sound effects, stadium audience sounds, and ball shadows.
The source code for this SDL port is released under the terms of the GNU General Public License, Version 2 (or later).
Controls
Player 1 uses the keys W, S and D and Player 2 uses O, L and K.
<<lessIt features simple image loading (with all game graphics being customizable by simply editing them with a graphics editor like The GIMP), sound effects, stadium audience sounds, and ball shadows.
The source code for this SDL port is released under the terms of the GNU General Public License, Version 2 (or later).
Controls
Player 1 uses the keys W, S and D and Player 2 uses O, L and K.
Download (0.47MB)
Added: 2007-07-08 License: Freeware Price:
838 downloads
Graphics::ColorUtils 0.17
Graphics::ColorUtils Perl module is an easy-to-use color space conversions and more. more>>
Graphics::ColorUtils Perl module is an easy-to-use color space conversions and more.
SYNOPSIS
use Graphics::ColorUtils;
( $y, $i, $q ) = rgb2yiq( $r, $g, $b );
( $r, $g, $b ) = yiq2rgb( $y, $i, $q );
$hex_string = yiq2rgb( $y, $i, $q );
( $c, $m, $y ) = rgb2cmy( $r, $g, $b );
( $r, $g, $b ) = cmy2rgb( $c, $m, $y );
$hex_string = cmy2rgb( $c, $m, $y );
( $h, $l, $s ) = rgb2hls( $r, $g, $b );
( $r, $g, $b ) = hls2rgb( $h, $l, $s );
$hex_string = hls2rgb( $h, $l, $s );
( $h, $s, $v ) = rgb2hsv( $r, $g, $b );
( $r, $g, $b ) = hsv2rgb( $h, $s, $v );
$hex_string = hsv2rgb( $h, $s, $v );
# -----
use Graphics::ColorUtils qw( :gradients );
( $r, $g, $b ) = grad2rgb( $name, $f ); # where 0.0 colorAllocate( hsv2rgb( 270, 0.5, 0.3 ) );.)
Features:
Color Space Conversions
Color space conversions, in particular between the "intuitive" color spaces HSV (Hue/Saturation/Value) and HLS (Hue/Lightness/Saturation) to and from RGB (Red/Green/Blue).
Color Lookup
Color lookup by name for three standard sets of colors: WWW/CSS, SVG, and X11.
Color Gradients
Management of color gradients, which can be indexed by a floating point number in the range 0..1. (Mostly intended for false-color data visualization.)
<<lessSYNOPSIS
use Graphics::ColorUtils;
( $y, $i, $q ) = rgb2yiq( $r, $g, $b );
( $r, $g, $b ) = yiq2rgb( $y, $i, $q );
$hex_string = yiq2rgb( $y, $i, $q );
( $c, $m, $y ) = rgb2cmy( $r, $g, $b );
( $r, $g, $b ) = cmy2rgb( $c, $m, $y );
$hex_string = cmy2rgb( $c, $m, $y );
( $h, $l, $s ) = rgb2hls( $r, $g, $b );
( $r, $g, $b ) = hls2rgb( $h, $l, $s );
$hex_string = hls2rgb( $h, $l, $s );
( $h, $s, $v ) = rgb2hsv( $r, $g, $b );
( $r, $g, $b ) = hsv2rgb( $h, $s, $v );
$hex_string = hsv2rgb( $h, $s, $v );
# -----
use Graphics::ColorUtils qw( :gradients );
( $r, $g, $b ) = grad2rgb( $name, $f ); # where 0.0 colorAllocate( hsv2rgb( 270, 0.5, 0.3 ) );.)
Features:
Color Space Conversions
Color space conversions, in particular between the "intuitive" color spaces HSV (Hue/Saturation/Value) and HLS (Hue/Lightness/Saturation) to and from RGB (Red/Green/Blue).
Color Lookup
Color lookup by name for three standard sets of colors: WWW/CSS, SVG, and X11.
Color Gradients
Management of color gradients, which can be indexed by a floating point number in the range 0..1. (Mostly intended for false-color data visualization.)
Download (0.021MB)
Added: 2007-07-03 License: Perl Artistic License Price:
843 downloads
Thirdphase 1.5
Thirdphase automatically downloads, installs, backs up, and runs any software downloadable from a static URL. more>>
Thirdphase automatically downloads, installs, backs up, and runs any software downloadable from a static URL, with a couple of other user-provided variables. The project is useful for keeping nightly builds of software up-to-date.
Usage: thirdphase [options] product_list
product:
a config file name located in ~/.thirdphase/config
options:
c - cleanup the downloads folder
d - download only (No decompression or installation)
D - Dont run the app once installed
f - force download (this option will not backup your current app)
i - set a personal install path (defaults are set in config files)
enter a empty string to return to default
I - install a config file to ~/.nightly/config/
h - help (this message)
l - list settings for a config
L - list all installed configs
p - Ignore if a products download has been marked problematic
q - quiet thirdphases output
r - revert to backup (should be used without any other options)
t - Edit the config file of the given product
R - if your sever supports resume offset downloading use this option
v - version
<<lessUsage: thirdphase [options] product_list
product:
a config file name located in ~/.thirdphase/config
options:
c - cleanup the downloads folder
d - download only (No decompression or installation)
D - Dont run the app once installed
f - force download (this option will not backup your current app)
i - set a personal install path (defaults are set in config files)
enter a empty string to return to default
I - install a config file to ~/.nightly/config/
h - help (this message)
l - list settings for a config
L - list all installed configs
p - Ignore if a products download has been marked problematic
q - quiet thirdphases output
r - revert to backup (should be used without any other options)
t - Edit the config file of the given product
R - if your sever supports resume offset downloading use this option
v - version
Download (0.020MB)
Added: 2007-06-30 License: Freeware Price:
846 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above l 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