wrap
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 202
DJWrap 0.9.4
DJWrap is an open format for combining several mp3s into one. more>>
DJWrap is an open format for combining several mp3s into one (wrapping) , without losing information about where the songs begin and where they end, or what file names they had, allowing them to later be turned back into separate files.
The idea of DJWrap is in many ways the same as the AlbumWrap (ALBW) format, and the MP3Wrap format, though DJWrap has some extra features.
libdjwrap is a library that eases the handling of these wrapped files. It can parse DJWrap, AlbumWrap and MP3Wrap files, as well as output DJWrap files. It can be incorporated into software which wants a more intelligent handling of wrapped files. This would mainly be music players and CD writing software.
The library, libdjwrap, comes with a tool, aptly named djwrap. It gives a command line interface to various functions of the library, allowing a user to extract songs from a DJWrap, AlbumWrap or MP3Wrap file, as well as create their own DJWrap files.
There is also a graphical tool, using libdjwrap, for handling wrapped files. Its due for release any time now.
Enhancements:
- There is a bug in DJWrap 0.9.3 that became apparent when its used in MooseWrap.
- A function in the library returns the wrong value at a point, which makes software using DJWrap stop before writing a wrap do disk.
<<lessThe idea of DJWrap is in many ways the same as the AlbumWrap (ALBW) format, and the MP3Wrap format, though DJWrap has some extra features.
libdjwrap is a library that eases the handling of these wrapped files. It can parse DJWrap, AlbumWrap and MP3Wrap files, as well as output DJWrap files. It can be incorporated into software which wants a more intelligent handling of wrapped files. This would mainly be music players and CD writing software.
The library, libdjwrap, comes with a tool, aptly named djwrap. It gives a command line interface to various functions of the library, allowing a user to extract songs from a DJWrap, AlbumWrap or MP3Wrap file, as well as create their own DJWrap files.
There is also a graphical tool, using libdjwrap, for handling wrapped files. Its due for release any time now.
Enhancements:
- There is a bug in DJWrap 0.9.3 that became apparent when its used in MooseWrap.
- A function in the library returns the wrong value at a point, which makes software using DJWrap stop before writing a wrap do disk.
Download (0.070MB)
Added: 2006-02-23 License: LGPL (GNU Lesser General Public License) Price:
1341 downloads
CGI::Wrap 2006.0215
CGI::Wrap is a buffer output when building CGI programs. more>>
CGI::Wrap is a buffer output when building CGI programs.
SYNOPSIS
use CGI;
use CGI::Croak;
use CGI::Wrap;
$query = new CGI;
savequery $query; # to reconstruct input
$CGI::Out::mailto = fred; # override default of $<
run &myfunc, @myargs # a function
run sub { code } # an inline function
run code # something to eval
sub myfunc {
out $query->header();
out $query->start_html(
-title=>A test,
-author=>muir@idiom.com);
}
$CGI::Out::out # is the buffer
This is a helper routine for building CGI programs. It buffers stdout until youre completed building your output. If you should get an error before you are finished, then it will display a nice error message (in HTML), log the error, and send email about the problem.
To use it, you must condense your program down to a single function call and then use CGI::Wrap::run to call it.
Instead of print, use out.
<<lessSYNOPSIS
use CGI;
use CGI::Croak;
use CGI::Wrap;
$query = new CGI;
savequery $query; # to reconstruct input
$CGI::Out::mailto = fred; # override default of $<
run &myfunc, @myargs # a function
run sub { code } # an inline function
run code # something to eval
sub myfunc {
out $query->header();
out $query->start_html(
-title=>A test,
-author=>muir@idiom.com);
}
$CGI::Out::out # is the buffer
This is a helper routine for building CGI programs. It buffers stdout until youre completed building your output. If you should get an error before you are finished, then it will display a nice error message (in HTML), log the error, and send email about the problem.
To use it, you must condense your program down to a single function call and then use CGI::Wrap::run to call it.
Instead of print, use out.
Download (0.004MB)
Added: 2006-08-31 License: Perl Artistic License Price:
1149 downloads
MySQL wrapped 1.6
MySQL wrapped is a very small collection of classes that hides the MySQL C API. more>>
MySQL wrapped is a C++ wrapper for the MySQL database C application programming interface.
Examples:
The following example should be linked with the mysqlclient library from the MySQL distribution / build.
#include
#include
#include
#include
#include "Database.h"
#include "Query.h"
int main()
{
Database db("localhost","dbuser","","testdb");
Query q(db);
q.execute("delete from user");
q.execute("insert into user values(1,First Person)");
q.execute("insert into user values(2,Another Person)");
q.get_result("select num,name from user");
while (q.fetch_row())
{
long num = q.getval();
std::string name = q.getstr();
printf("User#%ld: %sn", num, name.c_str() );
}
q.free_result();
}
Enhancements:
- This release adds methods to access fields by name.
<<lessExamples:
The following example should be linked with the mysqlclient library from the MySQL distribution / build.
#include
#include
#include
#include
#include "Database.h"
#include "Query.h"
int main()
{
Database db("localhost","dbuser","","testdb");
Query q(db);
q.execute("delete from user");
q.execute("insert into user values(1,First Person)");
q.execute("insert into user values(2,Another Person)");
q.get_result("select num,name from user");
while (q.fetch_row())
{
long num = q.getval();
std::string name = q.getstr();
printf("User#%ld: %sn", num, name.c_str() );
}
q.free_result();
}
Enhancements:
- This release adds methods to access fields by name.
Download (0.015MB)
Added: 2006-04-08 License: GPL (GNU General Public License) Price:
1299 downloads
MR Tech Link Wrapper Lite 2.1
MR Tech Link Wrapper Lite is a Firefox extension that wraps long links and lines to spare you from having to scroll left and rig more>>
MR Tech Link Wrapper Lite is a Firefox extension that wraps long links and lines to spare you from having to scroll left and right.
Hidden preferences:
- length to wrap: link_wrapper.wrapLength, default value is "15"
- Sites to ignore: link_wrapper.ignoreList, default regex value is "google.com|mail.yahoo.com|hushmail.com|blog.myspace.com|webmail.aol.com"
- html tags to ignore: link_wrapper.ignoreTags, default regex value includes tons of tags
- Enable page character limit to improve performance on large pages: link_wrapper.charLimitEnabled, default value is false
- If enabled use this character limit: link_wrapper.charLimit, default value is 30000
If Link Wrapper doesnt appear to work for you can:
- some blog site will break with this extension just add the domain to the "Sites to ignore" list in the options
- bump the limit of character to something higher than 30000 in the options dialog
- if you experience slow downs on large pages, enabling the character limit in the options dialog.
Note: Link Wrapper will force Linkification to only highlight part of a text link, version 1.2.2 and newer of Linkification adds a "Thorough Mode" which is disabled by default, enabling it will resolve this, or you can just double-click on the unhighlighted text on the right of the text from a link to have it open properly.
<<lessHidden preferences:
- length to wrap: link_wrapper.wrapLength, default value is "15"
- Sites to ignore: link_wrapper.ignoreList, default regex value is "google.com|mail.yahoo.com|hushmail.com|blog.myspace.com|webmail.aol.com"
- html tags to ignore: link_wrapper.ignoreTags, default regex value includes tons of tags
- Enable page character limit to improve performance on large pages: link_wrapper.charLimitEnabled, default value is false
- If enabled use this character limit: link_wrapper.charLimit, default value is 30000
If Link Wrapper doesnt appear to work for you can:
- some blog site will break with this extension just add the domain to the "Sites to ignore" list in the options
- bump the limit of character to something higher than 30000 in the options dialog
- if you experience slow downs on large pages, enabling the character limit in the options dialog.
Note: Link Wrapper will force Linkification to only highlight part of a text link, version 1.2.2 and newer of Linkification adds a "Thorough Mode" which is disabled by default, enabling it will resolve this, or you can just double-click on the unhighlighted text on the right of the text from a link to have it open properly.
Download (0.006MB)
Added: 2007-05-09 License: MPL (Mozilla Public License) Price:
899 downloads
POE::Component::SubWrapper 0.08
POE::Component::SubWrapper is an event based wrapper for subs. more>>
POE::Component::SubWrapper is an event based wrapper for subs.
SYNOPSIS
use POE::Component::SubWrapper;
POE::Component::SubWrapper->spawn(main);
$kernel->post(main, my_sub, [ $arg1, $arg2, $arg3 ], callback_state);
This is a module which provides an event based wrapper for subroutines.
SubWrapper components are not normal objects, but are instead spawned as separate sessions. This is done with with PoCo::SubWrappers spawn method, which takes one required and one optional argument. The first argument is the package name to wrap. This is required. The second argument is optional and contains an alias to give to the session created. If no alias is supplied, the package name is used as an alias.
Another way to create SubWrapper components is to use the poeize method, which is included in the default export list of the package. You can simply do:
poeize Data::Dumper;
and Data::Dumper will be wrapped into a session with the alias Data::Dumper.
When a SubWrapper component is created, it scans the package named for subroutines, and creates one state in the session created with the same name of the subroutine.
The states each accept 3 arguments:
- An arrayref to a list of arguments to give the subroutine.
- A state to callback with the results.
- A string, either SCALAR, or ARRAY, allowing you to decide which context the function handled by this state will be called in.
The states all call the function with the name matching the state, and give it the supplied arguments. They then postback the results to the named callback state. The results are contained in ARG0 and are either a scalar if the function was called in scalar context, or an arrayref of results if the function was called in list context.
<<lessSYNOPSIS
use POE::Component::SubWrapper;
POE::Component::SubWrapper->spawn(main);
$kernel->post(main, my_sub, [ $arg1, $arg2, $arg3 ], callback_state);
This is a module which provides an event based wrapper for subroutines.
SubWrapper components are not normal objects, but are instead spawned as separate sessions. This is done with with PoCo::SubWrappers spawn method, which takes one required and one optional argument. The first argument is the package name to wrap. This is required. The second argument is optional and contains an alias to give to the session created. If no alias is supplied, the package name is used as an alias.
Another way to create SubWrapper components is to use the poeize method, which is included in the default export list of the package. You can simply do:
poeize Data::Dumper;
and Data::Dumper will be wrapped into a session with the alias Data::Dumper.
When a SubWrapper component is created, it scans the package named for subroutines, and creates one state in the session created with the same name of the subroutine.
The states each accept 3 arguments:
- An arrayref to a list of arguments to give the subroutine.
- A state to callback with the results.
- A string, either SCALAR, or ARRAY, allowing you to decide which context the function handled by this state will be called in.
The states all call the function with the name matching the state, and give it the supplied arguments. They then postback the results to the named callback state. The results are contained in ARG0 and are either a scalar if the function was called in scalar context, or an arrayref of results if the function was called in list context.
Download (0.005MB)
Added: 2007-08-16 License: Perl Artistic License Price:
799 downloads
XmGraph 2.1
XmGraph is a package containing two widgets: XmGraph and XmArc. more>>
XmGraph is a package containing two widgets: XmGraph and XmArc. XmGraph is the container, and XmArc widgets are displayed on it. The widgets provide the application developer with the ability to display any group of widgets as a graph, with each widget representing a node.
We here at SESD have been using the graph widget for about a year and a half in our testing tools for Softbench. We have found several bugs in the graph widget. Some have been fixed through code changes, others we haveworked around. Here are our work arounds:
Arcs with a slope of -1 and a width of 0 are not drawn. The work around is to put a blank label on each arc.Backgound pixmaps on the graph widget do not get refreshed when
an arc is moved. This is unfortunate since you cant distinguish selected arcs from unselected arcs on a black and white display. We dont use a background pixmap on the graph widget. In cxxdev,CLL added a callback to make the selected arc wider.
The automatic scroll bars do not come and go properly. We force the scroll bars to always be present. The X server gives a bad value error if you try to create a window that is larger than ~16K pixels in either direction. This has only been a problem for us since switching to HP-UX 8.0. Under 7.0 we could make windows that were about 32K pixels and if we made our graph bigger than that the nodes would wrap around. We have changed our layout algorithm to automatically wrap our graphs to fit in the new 16K pixel limit. Our layout algorithm is separate fromthe graph widget.
The graph widget can core dump the 8.0 X server when drawing long zero width lines that are nearly vertical or nearly horizontal. Make sure you have the X server patches from this past November.
All of our code chages have been given to Thuan either directly (today) or through CLL.
Enhancements:
- I added one more fix to Arc.c. The "if" statement allows a background pixmap to be used with the graph widget. I fixed this so the graphic front end to softstatic will be usable on a monochrome display. To see the error that this corrects run:
-
- ./sort -xrm "*XmGraph.backgroundPixmap:25_foreground" 17
-
- Then move some of the nodes around. With this patch the old arcs are correctly erased.
<<lessWe here at SESD have been using the graph widget for about a year and a half in our testing tools for Softbench. We have found several bugs in the graph widget. Some have been fixed through code changes, others we haveworked around. Here are our work arounds:
Arcs with a slope of -1 and a width of 0 are not drawn. The work around is to put a blank label on each arc.Backgound pixmaps on the graph widget do not get refreshed when
an arc is moved. This is unfortunate since you cant distinguish selected arcs from unselected arcs on a black and white display. We dont use a background pixmap on the graph widget. In cxxdev,CLL added a callback to make the selected arc wider.
The automatic scroll bars do not come and go properly. We force the scroll bars to always be present. The X server gives a bad value error if you try to create a window that is larger than ~16K pixels in either direction. This has only been a problem for us since switching to HP-UX 8.0. Under 7.0 we could make windows that were about 32K pixels and if we made our graph bigger than that the nodes would wrap around. We have changed our layout algorithm to automatically wrap our graphs to fit in the new 16K pixel limit. Our layout algorithm is separate fromthe graph widget.
The graph widget can core dump the 8.0 X server when drawing long zero width lines that are nearly vertical or nearly horizontal. Make sure you have the X server patches from this past November.
All of our code chages have been given to Thuan either directly (today) or through CLL.
Enhancements:
- I added one more fix to Arc.c. The "if" statement allows a background pixmap to be used with the graph widget. I fixed this so the graphic front end to softstatic will be usable on a monochrome display. To see the error that this corrects run:
-
- ./sort -xrm "*XmGraph.backgroundPixmap:25_foreground" 17
-
- Then move some of the nodes around. With this patch the old arcs are correctly erased.
Download (0.26MB)
Added: 2006-07-17 License: Freeware Price:
1195 downloads
KWrite 4.5.6
KWrite is a simple texteditor, with syntaxhighlighting, codefolding, dynamic word wrap and more. more>>
KWrite is a simple text editor, with syntax highlighting, codefolding, dynamic word wrap and more, its the lightweight version of Kate, providing more speed for minor tasks.
KWrite ships per default with KDEBASE package.
<<lessKWrite ships per default with KDEBASE package.
Download (23MB)
Added: 2007-05-02 License: GPL (GNU General Public License) Price:
676 downloads
bwstats 0.01
bwstats will report on how much data has been received and transmitted over each live interface since the system was booted up. more>>
bwstats will report on how much data has been received and transmitted over each live interface since the system was booted up. bwstats project will also attempt to predict bandwidth usage over the next 30 days based on current usage. I wrote this out of curiosity to see how much data I was shifting about each month; the results were interesting.
At present bwstats will only run on Linux and other systems with the /proc filesystem as the interface statistics are obtained from /proc/net/dev and /proc/uptime files. Sorry.
Improvements to come include the ability to carry over data from the previous reboot so that the results are meaningful for those who power down their computers each night, and the ability to change the period for which predictions are made (currently this is trivial but means editing the source).
Note: since I wrote this tool I have noticed that the figures in this /proc/net/dev file wrap around after they reach a certain figure, therefore skewing the figures when data reaches beyond around 4.2GB (damn Linux kernel!). This will be obvious when looking at the figures. This script will still work perfectly up until the point where the wrapping occurs. This will be fixed in a future release, but for now be warned!
<<lessAt present bwstats will only run on Linux and other systems with the /proc filesystem as the interface statistics are obtained from /proc/net/dev and /proc/uptime files. Sorry.
Improvements to come include the ability to carry over data from the previous reboot so that the results are meaningful for those who power down their computers each night, and the ability to change the period for which predictions are made (currently this is trivial but means editing the source).
Note: since I wrote this tool I have noticed that the figures in this /proc/net/dev file wrap around after they reach a certain figure, therefore skewing the figures when data reaches beyond around 4.2GB (damn Linux kernel!). This will be obvious when looking at the figures. This script will still work perfectly up until the point where the wrapping occurs. This will be fixed in a future release, but for now be warned!
Download (0.002MB)
Added: 2006-04-18 License: MIT/X Consortium License Price:
1285 downloads
No Gravity 2.0
No Gravity is a 3D arcade space shooter. more>>
No Gravity game is a futuristic and fantastic universe made of five intergalactic worlds. An arcade type game with great playability, where it is easy to plunge into space battles against spacefighters, space stations and more !
No Gravity is a space shooter in 3D a la Wing Commander. The player is controlling a space ship view from the first person. In each mission, the player need to accomplish some objectives, like shoot and destroys enemy ships or base, escorting some ships, clearing mine field, etc....
A brief description of the objectives is given at the beginning of a mission. In some situations, the player has some wingmen, and it can controls them by giving order like attack enemy, retreat, protect the base etc... A mission is composed of different sectors which has differents objectives.
When the objectives of the current sector is complete, the player needs to go the nearest NAV point, when he can wrap to the next sector. In the last sector, a warp gate is apparearing and the player need to go through it and complete the level. At the end of each episodes (one episode is 10 missions), there is a large base station to destroy.
When the player complete all the episodes (5 episodes), the game ends. The mission fails if : - The player got destroyed or - if an objective is not complete (like an important ship being destroyed by enemy).
Installation:
For Linux users, Download the No Gravity (Combo Bin+Data - Win32/Mac/Linux only)
for Linux i386 package and run the autopackage.
<<lessNo Gravity is a space shooter in 3D a la Wing Commander. The player is controlling a space ship view from the first person. In each mission, the player need to accomplish some objectives, like shoot and destroys enemy ships or base, escorting some ships, clearing mine field, etc....
A brief description of the objectives is given at the beginning of a mission. In some situations, the player has some wingmen, and it can controls them by giving order like attack enemy, retreat, protect the base etc... A mission is composed of different sectors which has differents objectives.
When the objectives of the current sector is complete, the player needs to go the nearest NAV point, when he can wrap to the next sector. In the last sector, a warp gate is apparearing and the player need to go through it and complete the level. At the end of each episodes (one episode is 10 missions), there is a large base station to destroy.
When the player complete all the episodes (5 episodes), the game ends. The mission fails if : - The player got destroyed or - if an objective is not complete (like an important ship being destroyed by enemy).
Installation:
For Linux users, Download the No Gravity (Combo Bin+Data - Win32/Mac/Linux only)
for Linux i386 package and run the autopackage.
Download (31.6MB)
Added: 2006-02-16 License: GPL (GNU General Public License) Price:
1351 downloads
Term::Prompt 1.03
Term::Prompt is a Perl extension for prompting a user for information. more>>
Term::Prompt is a Perl extension for prompting a user for information.
SYNOPSIS
use Term::Prompt;
$value = &prompt(...);
use Term::Prompt qw(termwrap);
print &termwrap(...);
$Term::Prompt::MULTILINE_INDENT = ;
PREREQUISITES
You must have Text::Wrap and Term::ReadKey available on your system.
This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional "types" that could be added would be a phone type, a social security type, a generic numeric pattern type...
<<lessSYNOPSIS
use Term::Prompt;
$value = &prompt(...);
use Term::Prompt qw(termwrap);
print &termwrap(...);
$Term::Prompt::MULTILINE_INDENT = ;
PREREQUISITES
You must have Text::Wrap and Term::ReadKey available on your system.
This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional "types" that could be added would be a phone type, a social security type, a generic numeric pattern type...
Download (0.011MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1086 downloads
Ruby/Amazon 0.9.2
Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web. more>>
Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web site via the REST (XML over HTTP) based Amazon Web Services. In addition to the original amazon.com site, the amazon.co.uk, amazon.de, amazon.fr, amazon.ca, and amazon.co.jp properties are also supported.
Ruby/Amazon library aims to wrap the grunt work of interacting with the Amazon API behind a high-level layer of Ruby, thereby making it easier to use.
Although the library is still in development, it already provides support for the vast majority of the AWS v3.1 API. For example, all forms of product search are implemented, along with the transaction details API and the remote shopping-cart API. Furthermore, advanced features such as threaded retrieval of multiple pages, object caching and determining a clients most appropriate AWS locale are all implemented. See the RDoc library documentation for more information, in particular the page about the top level Amazon module.
More features are planned for future versions, such as Amazon Web Services for Sellers.
<<lessRuby/Amazon library aims to wrap the grunt work of interacting with the Amazon API behind a high-level layer of Ruby, thereby making it easier to use.
Although the library is still in development, it already provides support for the vast majority of the AWS v3.1 API. For example, all forms of product search are implemented, along with the transaction details API and the remote shopping-cart API. Furthermore, advanced features such as threaded retrieval of multiple pages, object caching and determining a clients most appropriate AWS locale are all implemented. See the RDoc library documentation for more information, in particular the page about the top level Amazon module.
More features are planned for future versions, such as Amazon Web Services for Sellers.
Download (0.095MB)
Added: 2006-08-11 License: GPL (GNU General Public License) Price:
1169 downloads
OcamlSpread 0.0.1
OcamlSpread is a wrapper around the Spread group communication toolkit. more>>
OcamlSpread is a wrapper around the Spread group communication toolkit (http://www.spread.org) for the Objective Caml programming language.
OcamlSpread not only wraps Spread functions, but adds an object-oriented interface and other valuable features.
<<lessOcamlSpread not only wraps Spread functions, but adds an object-oriented interface and other valuable features.
Download (0.018MB)
Added: 2006-11-24 License: GPL (GNU General Public License) Price:
1064 downloads
Text::Replace 0.07
Text::Replace is a Perl module to replace variables from a hash. more>>
Text::Replace is a Perl module to replace variables from a hash.
SYNOPSIS
#######
# Subroutine Interface
#
use Text::Replace qw(&replace_variables);
$success = replace_variables($template, %variable_hash, @variable);
########
# Class Interface
#
use Text::Replace;
$success = Text::Replace->replace_variables($template, %variable_hash, @variable);
The Text::Replace program module is simple and plain by design. The Text::Replace program module mimics the built-in Perl double quote, ", literal scalar that replaces Perl scalar variables named with a leading $. The Text::Replace program module stays in the background, just like John Williams movie scores.
There is no large manual thicker than the Bible with tricks and tips and gyrations to learn and to distract. The module is plain, simple with no expressiveness. The Text::Replace program module does only one thing: substitute a value for a variable. It is amazing how many times, just a simple double quote literal replacement in a small string or even a large text string gets the job done.
Does Text::Replace solve all variable replacement, template problems? Definitely not. There is no capabilities for inserting graphs, text wrap plug-ins, GD interface. If an application needs something this sophisticated, there are many fine template program modules in CPAN such as the highly rated Template program module.
<<lessSYNOPSIS
#######
# Subroutine Interface
#
use Text::Replace qw(&replace_variables);
$success = replace_variables($template, %variable_hash, @variable);
########
# Class Interface
#
use Text::Replace;
$success = Text::Replace->replace_variables($template, %variable_hash, @variable);
The Text::Replace program module is simple and plain by design. The Text::Replace program module mimics the built-in Perl double quote, ", literal scalar that replaces Perl scalar variables named with a leading $. The Text::Replace program module stays in the background, just like John Williams movie scores.
There is no large manual thicker than the Bible with tricks and tips and gyrations to learn and to distract. The module is plain, simple with no expressiveness. The Text::Replace program module does only one thing: substitute a value for a variable. It is amazing how many times, just a simple double quote literal replacement in a small string or even a large text string gets the job done.
Does Text::Replace solve all variable replacement, template problems? Definitely not. There is no capabilities for inserting graphs, text wrap plug-ins, GD interface. If an application needs something this sophisticated, there are many fine template program modules in CPAN such as the highly rated Template program module.
Download (0.072MB)
Added: 2007-01-24 License: Perl Artistic License Price:
1003 downloads
HTML::Truncate 0.11
HTML::Truncate is a Perl module that can truncate HTML by percentage or character count while preserving well-formedness. more>>
HTML::Truncate is a Perl module (beta software) that can truncate HTML by percentage or character count while preserving well-formedness.
ABSTRACT
When working with text it is convenient and common to want to truncate strings to make them fit a desired context. E.g., you might have a menu that is only 100px wide and prefer text doesnt wrap so youd truncate it around 15-30 characters, depending on preference and typeface size. This is trivial with plain text using substr but with HTML it is somewhat difficult because whitespace has fluid significance and open tags that are not properly closed destroy well-formedness and can wreck an entire layout.
HTML::Truncate attempts to account for those two problems by padding truncation for spacing and entities and closing any tags that remain open at the point of truncation.
SYNOPSIS
use strict;
use HTML::Truncate;
my $html =
my $html_truncate = HTML::Truncate->new();
$html_truncate->chars(20);
$html_truncate->ellipsis($readmore);
print $html_truncate->truncate($html), $/;
# or
my $ht = HTML::Truncate->new(utf => 1,
chars => 1_000,
);
print $ht->truncate($html), $/;
<<lessABSTRACT
When working with text it is convenient and common to want to truncate strings to make them fit a desired context. E.g., you might have a menu that is only 100px wide and prefer text doesnt wrap so youd truncate it around 15-30 characters, depending on preference and typeface size. This is trivial with plain text using substr but with HTML it is somewhat difficult because whitespace has fluid significance and open tags that are not properly closed destroy well-formedness and can wreck an entire layout.
HTML::Truncate attempts to account for those two problems by padding truncation for spacing and entities and closing any tags that remain open at the point of truncation.
SYNOPSIS
use strict;
use HTML::Truncate;
my $html =
We have to test something.
;my $html_truncate = HTML::Truncate->new();
$html_truncate->chars(20);
$html_truncate->ellipsis($readmore);
print $html_truncate->truncate($html), $/;
# or
my $ht = HTML::Truncate->new(utf => 1,
chars => 1_000,
);
print $ht->truncate($html), $/;
Download (0.010MB)
Added: 2007-01-10 License: Perl Artistic License Price:
1017 downloads
Launch4j 3.0.0-pre2
Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in Windows native executables. more>>
Launch4j project is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables.
The executable can be configured to search for a certain JRE version or use a bundled one, and its possible to set runtime options, like the initial/max heap size.
The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found.
Main features:
- Launch4j wraps jars in Windows native executables and allows to run them like a regular Windows program. Its possible to wrap applications on Linux!
- Doesnt extract the jar from the executable.
- Custom application icon with multiple resolutions and color depths.
- Native pre-JRE splash screen in BMP format shown until the Java application starts.
- Process name as the executable filename to easily identify your application.
- Works with a bundled JRE or searches for newest JRE / SDK in given range.
- Opens Java download page if an appropriate Java version cannot be found.
- Supports GUI and console apps.
- Passes command line arguments, also supports constant arguments.
- Allows to set the initial/max heap size.
- JVM options: set system properties, tweak the garbage collection...
- Option to change current directory to the executable location.
- Custom version information shown by Windows Explorer.
- GUI and command line interface.
- Build integration through an Ant task.
- Lightweight: 21 KB!
- Its free and may be used for commercial purposes.
- Includes a sample application and Ant script that automates the build process from Java sources to native executable.
- The wrapped program works on all Windows platforms (98/Me/NT/2K/Xp), launch4j works on NT/2K/Xp, Linux (developed and tested on FC2)
Whats New in 2.1.5 Stable Release:
- Changed the Java download site to http://java.com/download.
- Now its possible to use absolute and relative paths to specify the embedded JRE.
Enhancements:
- Enhanced GUI.
- Redesigned error reporting.
- Added custom error messages.
- Added support website feature.
- Added PWD and OLDPWD special variables and access to the registry.
- Runtime ini file extension changed to .l4j.ini, added comments (#).
- FR #1427811 Initial process priority.
- FR #1547339 Added VarFileInfo structure to Version Info (Stephan Laertz).
- FR #1584295 Updated documentation for --l4j-debug.
- Fixed and config conversion bug (found by Dafe Simonek).
- Fixed the Ant task exception reporting bug, added tmpdir and bindir attributes.
- Fixed bug #1563415 Problem with launching application when ini file exists (found by mojomax).
- Fixed bug #1527619 Console header wildcard expansion (found by erikjv).
- Fixed bug #1544167 NPE when dontwrap and only classpath given (found by Hendrik Schreiber).
- Fixed bug #1584264 Dropdown boxes get mixed up (found by Larsen).
<<lessThe executable can be configured to search for a certain JRE version or use a bundled one, and its possible to set runtime options, like the initial/max heap size.
The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found.
Main features:
- Launch4j wraps jars in Windows native executables and allows to run them like a regular Windows program. Its possible to wrap applications on Linux!
- Doesnt extract the jar from the executable.
- Custom application icon with multiple resolutions and color depths.
- Native pre-JRE splash screen in BMP format shown until the Java application starts.
- Process name as the executable filename to easily identify your application.
- Works with a bundled JRE or searches for newest JRE / SDK in given range.
- Opens Java download page if an appropriate Java version cannot be found.
- Supports GUI and console apps.
- Passes command line arguments, also supports constant arguments.
- Allows to set the initial/max heap size.
- JVM options: set system properties, tweak the garbage collection...
- Option to change current directory to the executable location.
- Custom version information shown by Windows Explorer.
- GUI and command line interface.
- Build integration through an Ant task.
- Lightweight: 21 KB!
- Its free and may be used for commercial purposes.
- Includes a sample application and Ant script that automates the build process from Java sources to native executable.
- The wrapped program works on all Windows platforms (98/Me/NT/2K/Xp), launch4j works on NT/2K/Xp, Linux (developed and tested on FC2)
Whats New in 2.1.5 Stable Release:
- Changed the Java download site to http://java.com/download.
- Now its possible to use absolute and relative paths to specify the embedded JRE.
Enhancements:
- Enhanced GUI.
- Redesigned error reporting.
- Added custom error messages.
- Added support website feature.
- Added PWD and OLDPWD special variables and access to the registry.
- Runtime ini file extension changed to .l4j.ini, added comments (#).
- FR #1427811 Initial process priority.
- FR #1547339 Added VarFileInfo structure to Version Info (Stephan Laertz).
- FR #1584295 Updated documentation for --l4j-debug.
- Fixed and config conversion bug (found by Dafe Simonek).
- Fixed the Ant task exception reporting bug, added tmpdir and bindir attributes.
- Fixed bug #1563415 Problem with launching application when ini file exists (found by mojomax).
- Fixed bug #1527619 Console header wildcard expansion (found by erikjv).
- Fixed bug #1544167 NPE when dontwrap and only classpath given (found by Hendrik Schreiber).
- Fixed bug #1584264 Dropdown boxes get mixed up (found by Larsen).
Download (1.8MB)
Added: 2006-10-29 License: GPL (GNU General Public License) Price:
1098 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 wrap 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