Main > Free Download Search >

Free 7.2 centimeters equals software for linux

7.2 centimeters equals

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 274
pTest 1.0 Beta

pTest 1.0 Beta


pTest framework is an Object Oriented PHP 5 testing framework. more>>
pTest framework is an Object Oriented PHP 5 testing framework. The project differs from other testing frameworks in that it doesnt suffer from a dogmatic following of JUnit.

A good feature of this framework is that it can be as easily used from the commandline as embedded and extended by your application. Tests are easy to write and dont require naming conventions or other weirdness.

A simple test

< ?php

class SimpleTest extends BaseTest {
public function setup() {

}

public function aIsB() {
$this->false( ( 1 == 2 ), "one is not equal to two" );
$this->false( ( a == b ), "a is not equal to b" );
}

public function knownFacts() {
$this->true( ( 1 + 1 == 2 ), one and one is two );
}

public function fatal() {
$this->true( new thisfatalerror(), division by zero );
}

public function tearDown() {

}
}

? >

The console output

SimpleTest:
aIsB
false( one is not equal to two ) = passed
false( a is not equal to b ) = passed
knownFacts
true( one and one is two ) = passed
fatal
errored
Output
====================================================

Fatal error: Class thisfatalerror not found in /usr/local/pTest/examples/SimpleTest.php on line 18

====================================================


4 total tests
3 passed
0 failed
0 skipped
1 errored
75.00% success
<<less
Download (0.042MB)
Added: 2007-06-19 License: MPL (Mozilla Public License) Price:
857 downloads
MIME::Type 1.19

MIME::Type 1.19


MIME::Type is a definition of one MIME type. more>>
MIME::Type is a definition of one MIME type.

SYNOPSIS

use MIME::Types;
my $mimetypes = MIME::Types->new;
my MIME::Type $plaintext = $mimetypes->type(text/plain);
print $plaintext->mediaType; # text
print $plaintext->subType; # plain

my @ext = $plaintext->extensions;
print "@ext" # txt asc c cc h hh cpp

print $plaintext->encoding # 8bit
if($plaintext->isBinary) # false
if($plaintext->isAscii) # true
if($plaintext->equals(text/plain) {...}
if($plaintext eq text/plain) # same

print MIME::Type->simplified(x-appl/x-zip) # appl/zip

MIME types are used in MIME entities, for instance as part of e-mail and HTTP traffic. Sometimes real knowledge about a mime-type is need. Objects of MIME::Type store the information on one such type.

This module is built to conform to the MIME types of RFCs 2045 and 2231. It follows the official IANA registry at http://www.iana.org/assignments/media-types/ and the collection kept at http://www.ltsw.se/knbase/internet/mime.htp

<<less
Download (0.017MB)
Added: 2007-06-01 License: Perl Artistic License Price:
877 downloads
List::Intersperse 1.00

List::Intersperse 1.00


List::Intersperse Perl module can intersperse / unsort / disperse a list. more>>
List::Intersperse Perl module can intersperse / unsort / disperse a list.

SYNOPSIS

use List::Intersperse qw/intersperseq/;

@ispersed = intersperseq {substr($_[0],0,1)} qw/A1 A2 B1 B2 C1 C2/;

@ispersed = List::Intersperse::intersperse qw/A A B B B B B B C/;

intersperse and intersperseq evenly distribute elements of a list. Elements that are considered equal are spaced as far apart from each other as possible.

FUNCTIONS

intersperse LIST

This function returns a list of elements interspersed so that equivalent items are evenly distributed throughout the list.

intersperseq BLOCK LIST

intersperseq works like intersperse but it applies BLOCK to the elements of LIST to determine the equivalance key.

<<less
Download (0.002MB)
Added: 2007-07-19 License: Perl Artistic License Price:
827 downloads
Config::Properties 0.65

Config::Properties 0.65


Config::Properties is a Perl module to read and write property files. more>>
Config::Properties is a Perl module to read and write property files.

SYNOPSIS

use Config::Properties;

# reading...

open PROPS, "< my_config.props"
or die "unable to open configuration file";

my $properties = new Config::Properties();
$properties->load(*PROPS);

$value = $properties->getProperty( $key );


# saving...

open PROPS, "> my_config.props"
or die "unable to open configuration file for writing";

$properties->setProperty( $key, $value );

$properties->format( %s => %s );
$properties->store(*PROPS, $header );

Config::Properties is a near implementation of the java.util.Properties API. It is designed to allow easy reading, writing and manipulation of Java-style property files.

The format of a Java-style property file is that of a key-value pair seperated by either whitespace, the colon (:) character, or the equals (=) character. Whitespace before the key and on either side of the seperator is ignored.
Lines that begin with either a hash (#) or a bang (!) are considered comment lines and ignored.

A backslash () at the end of a line signifies a continuation and the next line is counted as part of the current line (minus the backslash, any whitespace after the backslash, the line break, and any whitespace at the beginning of the next line).

The official references used to determine this format can be found in the Java API docs for java.util.Properties at http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html.
When a property file is saved it is in the format "key=value" for each line. This can be changed by setting the format attribute using either $object->format( $format_string ) or $object->setFormat( $format_string ) (they do the same thing). The format string is fed to printf and must contain exactly two %s format characters. The first will be replaced with the key of the property and the second with the value. The string can contain no other printf control characters, but can be anything else. A newline will be automatically added to the end of the string. You an get the current format string either by using $object->format() (with no arguments) or $object->getFormat().

If a recent version of module Text::Wrap is available, long lines are conveniently wrapped when saving.

<<less
Download (0.011MB)
Added: 2007-04-12 License: Perl Artistic License Price:
928 downloads
FaceRSS 0.1

FaceRSS 0.1


FaceRSS is a simple JavaServer Faces component. more>>
FaceRSS is a simple JavaServer Faces (JSF) component that allows you to display news from specified RSS url source in one configurable tag.

So, you can place your favorite news on your website in a very simple way. FaceRSS library uses rsslib4j and therefore supports RSS version 0.9x, 1.0, and 2.0 with Syndication and Dublin Core namespaces.

Usage:

copy the facerss.jar to your WEB-INF/lib folder and add to your build path.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

FaceRSS

public FaceRSS(java.lang.String url)

Method Detail

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getItem

public java.util.ArrayList getItem()

getMultipleItems

public java.util.ArrayList getMultipleItems(int count)

getRssName

public java.lang.String getRssName()
<<less
Download (1.1MB)
Added: 2006-01-05 License: Other/Proprietary License with Source Price:
1390 downloads
Martian Memory 1.2

Martian Memory 1.2


Martian Memory project consists of a simple memory game. more>>
Martian Memory project consists of a simple memory game.
Martian Memory is a simple memory game oriented to kids, featuring the Pachi el marcianos world characters.
The goal of the game is to pick up two identical chips from a board that contains 32. The game contains very nice visual effects, sounds, and very nice music composed by Jonne Valtonen.
Installing
Just do:
./configure
make
make install (as root).
Enhancements:
- Added the -f or --fullscreen switch.
- Changed some chips (removed bloody ones) the game is now "child safe".
- program exits if close window or press [F10].
- if two scores are equal they are ordered by minor time.
- time stops during a combo FX.
- the hiscores screen displays a "press right mouse button to return" sign.
<<less
Download (MB)
Added: 2006-12-26 License: GPL (GNU General Public License) Price:
1034 downloads
Class::Generate 1.09

Class::Generate 1.09


Class::Generate is a Perl module that can generate Perl class hierarchies. more>>
Class::Generate is a Perl module that can generate Perl class hierarchies.

SYNOPSIS

use Class::Generate qw(class subclass delete_class);

# Declare class Class_Name, with the following types of members:
class
Class_Name => [
s => $, # scalar
a => @, # array
h => %, # hash
c => Class, # Class
c_a => @Class, # array of Class
c_h => %Class, # hash of Class
&m => body, # method
];

# Allocate an instance of class_name, with members initialized to the
# given values (pass arrays and hashes using references).
$obj = Class_Name->new ( s => scalar,
a => [ values ],
h => { key1 => v1, ... },
c => Class->new,
c_a => [ Class->new, ... ],
c_h => [ key1 => Class->new, ... ] );

# Scalar type accessor:
$obj->s($value); # Assign $value to member s.
$member_value = $obj->s; # Access members value.

# (Class) Array type accessor:
$obj->a([value1, value2, ...]); # Assign whole array to member.
$obj->a(2, $value); # Assign $value to array member 2.
$obj->add_a($value); # Append $value to end of array.
@a = $obj->a; # Access whole array.
$ary_member_value = $obj->a(2); # Access array member 2.
$s = $obj->a_size; # Return size of array.
$value = $obj->last_a; # Return last element of array.

# (Class) Hash type accessor:
$obj->h({ k_1=>v1, ..., k_n=>v_n }) # Assign whole hash to member.
$obj->h($key, $value); # Assign $value to hash member $key.
%hash = $obj->h; # Access whole hash.
$hash_member_value = $obj->h($key); # Access hash member value $key.
$obj->delete_h($key); # Delete slot occupied by $key.
@keys = $obj->h_keys; # Access keys of member h.
@values = $obj->h_values; # Access values of member h.

$another = $obj->copy; # Copy an object.
if ( $obj->equals($another) ) { ... } # Test equality.

subclass s => [ ], -parent => class_name;

The Class::Generate package exports functions that take as arguments a class specification and create from these specifications a Perl 5 class. The specification language allows many object-oriented constructs: typed members, inheritance, private members, required members, default values, object methods, class methods, class variables, and more.

CPAN contains similar packages. Why another? Because object-oriented programming, especially in a dynamic language like Perl, is a complicated endeavor. I wanted a package that would work very hard to catch the errors you (well, I anyway) commonly make. I wanted a package that could help me enforce the contract of object-oriented programming. I also wanted it to get out of my way when I asked.

<<less
Download (0.052MB)
Added: 2007-07-31 License: Perl Artistic License Price:
815 downloads
Config::IniFiles 2.38

Config::IniFiles 2.38


Config::IniFiles is a module for reading .ini-style configuration files. more>>
Config::IniFiles is a module for reading .ini-style configuration files.

SYNOPSIS

use Config::IniFiles;
my $cfg = new Config::IniFiles( -file => "/path/configfile.ini" );
print "The value is " . $cfg->val( Section, Parameter ) . "."
if $cfg->val( Section, Parameter );

Config::IniFiles provides a way to have readable configuration files outside your Perl script. Configurations can be imported (inherited, stacked,...), sections can be grouped, and settings can be accessed from a tied hash.

FILE FORMAT

INI files consist of a number of sections, each preceded with the section name in square brackets. The first non-blank character of the line indicating a section must be a left bracket and the last non-blank character of a line indicating a section must be a right bracket. The characters making up the section name can be any symbols at all. However section names must be unique.

Parameters are specified in each section as Name=Value. Any spaces around the equals sign will be ignored, and the value extends to the end of the line. Parameter names are localized to the namespace of the section, but must be unique within a section.

[section]
Parameter=Value

Both the hash mark (#) and the semicolon (;) are comment characters. by default (this can be changed by configuration) Lines that begin with either of these characters will be ignored. Any amount of whitespace may precede the comment character.

Multi-line or multi-valued parameters may also be defined ala UNIX "here document" syntax:

Parameter=<<less
Download (0.036MB)
Added: 2006-06-15 License: Perl Artistic License Price:
1226 downloads
DansTuner 0.83

DansTuner 0.83


DansTuner project is a program that tells you if you are playing a pitch in tune. more>>
DansTuner project is a program that tells you if you are playing a pitch in tune.
Major features include automatic discovery of which note you are trying to play (good for trumpet, singer, etc.), the ability to play a guide tone at a configurable volume, a graphical moving "needle" with a red/green display and detail about how flat or sharp you are, and an easily configurable background noise threshold.
Main features:
- takes audio from the default device
- if it is above a background noise level, detects the pitch
- takes the difference between that pitch and an "ideal" (equal-tempered) pitch, and shows you that difference
- plays a guide tone along with you to help you tune
<<less
Download (0.22MB)
Added: 2006-11-02 License: GPL (GNU General Public License) Price:
1089 downloads
Math::MagicSquare 2.04

Math::MagicSquare 2.04


Math::MagicSquare is a Magic Square Checker and Designer. more>>
Math::MagicSquare is a Magic Square Checker and Designer.

SYNOPSIS

use Math::MagicSquare;

$a= Math::MagicSquare -> new ([num,...,num],
...,
[num,...,num]);
$a->print("string");
$a->printhtml();
$a->printimage();
$a->check();
$a->rotation();
$a->reflection();

The following methods are available:

new

Constructor arguments are a list of references to arrays of the same length.

$a = Math::MagicSquare -> new ([num,...,num],
...,
[num,...,num]);

check

This function can return 4 value

0: the Square is not Magic
1: the Square is a Semimagic Square (the sum of the rows and the columns is equal)
2: the Square is a Magic Square (the sum of the rows, the columns and the diagonals is equal)
3: the Square ia Panmagic Square (the sum of the rows, the columns, the diagonals and the broken diagonals is equal)

print

Prints the Square on STDOUT. If the method has additional parameters, these are printed before the Magic Square is printed.

printhtml

Prints the Square on STDOUT in an HTML format (exactly a inside a TABLE)

printimage

Prints the Square on STDOUT in png format.

rotation

Rotates the Magic Square of 90 degree clockwise

reflection

Reflect the Magic Square

<<less
Download (0.007MB)
Added: 2007-07-02 License: Perl Artistic License Price:
845 downloads
Unicode::Overload 0.01

Unicode::Overload 0.01


Unicode::Overload is a Perl source filter to implement Unicode operations. more>>
Unicode::Overload is a Perl source filter to implement Unicode operations.

SYNOPSIS

use charnames :full;
use Unicode::Overload (
"N{UNION}" => infix =>
sub { my %a = map{$_=>1}@{$_[0]};
my %b = map{$_=>1}@{$_[1]};
return keys(%a,$b); },
"N{SUPERSCRIPT TWO}" => postfix => sub { $_[0] ** 2 },
"N{NOT SIGN}" => prefix => sub { !$_[0] },
[ "N{LEFT FLOOR}", "N{RIGHT FLOOR}" ] => outfix =>
sub { POSIX::floor($_[0]) },
);

@union = (@a N{UNION @b); # Parentheses REQUIRED
die "Pythagoras was WRONG!" # Same here
unless sqrt((3)N{SUPERSCRIPT TWO} + (4)N{SUPERSCRIPT TWO}) == 5;
$b = N{NOT SIGN}($b); # Required here too
die "Fell through floor" # Balanced characters form their own parentheses
unless N{LEFT FLOOR}-3.2N{RIGHT FLOOR} == 4;

Allows you to declare your own Unicode operators and have them behave as prefix (like sigma or integral), postfix (like superscripted 2), infix (like union), or outfix (like the floor operator, with the L-like and J-like brackets).

To keep this document friendly to people without UTF-8 terminals, the N{} syntax for Unicode characters will be used throughout, but please note that the N{} characters can be replaced with the actual UTF-8 characters anywhere.
Also, please note that since Perl 5 doesnt support the notion of arbitrary operators, this module cheats and uses source filters to do its job. As such, all "operators" must have their arguments enclosed in parentheses. This limitation will be lifted when a better way to do this is found.

Also, note that since these arent "real" operators there is no way (at the moment) to specify precedence. All Unicode "operators" have the precedence (such as it is) of function calls, as they all get transformed into function calls inline before interpreting.

In addition, due to a weird unicode-related bug, only one character per operator is currently permitted. Despite behaving correctly elsewhere, substr() thinks that one character equals one byte inside Unicode::Overload .

Anyway, this module defines four basic types of operators. Prefix and infix should be familiar to most users of perl, as prefix operators are basically function calls without the parens. Infix operators are of course the familiar + etcetera.

The best analogy for postfix operators is probably the algebraic notation for squares. $a**2 is perls notation, ($a)N{SUPERSCRIPT TWO} is the Unicode::Overload equivalent, looking much closer to a mathematical expression, with the 2 in its proper position.

Outfix is the last operator, and a little odd. Outfix can best be thought of as user-definable brackets. One of the more common uses for this notation again comes from mathematics in the guise of the floor operator. Looking like brackets with the top bar missing, they return effectively POSIX::floor() of their contents.

Since outfix operators define their own brackets, extra parentheses are not needed on this type of operator.

A quick summary follows:

prefix

Operator goes directly before the parentheses containing its operands. Whitespace is allowed between the operator and opening parenthesis. This acts like a function call.

Sample: N{NOT SIGN}($b)

postfix

Operator goes directly after the parentheses containing its operands. Whitespace is allowed between the closing parenthesis and operator. This doesnt have a good Perl equivalent, but there are many equivalents in algebra, probably the most common being:

Sample: ($a+$b)N{SUPERSCRIPT TWO}

infix

Operator goes somewhere inside the parentheses. Whitespace is allowed between either parenthesis and the operator.

Sample: ($a N{ELEMENT OF} @list)

outfix

Operators surround their arguments and are translated into parentheses. As such, whitespace is allowed anywhere inside the operator pairs. There is no requirement that the operators be visually symmetrical, although it helps.

Sampe: $c=N{LEFT FLOOR}$a_+$bN{RIGHT FLOOR}

The requirements for parentheses will be removed as soon as I can figure out how to make these operators behave closer to perl builtins. Nesting is perfectly legal, but multiple infix operators cant coexists within one set of parentheses.

<<less
Download (0.005MB)
Added: 2007-07-12 License: Perl Artistic License Price:
834 downloads
Gnome Screen Ruler 0.8

Gnome Screen Ruler 0.8


Gnome Screen Ruler is a customizable screen ruler for Gnome. more>>
Gnome Screen Ruler project is a customizable screen ruler for Gnome.
Gnome Screen Ruler is an on-screen ruler for measuring horizontal and vertical distances in any application. Rulers can be moved and resized using the keyboard.
Main features:
- Horizontal and vertical display
- Multiple units: pixels, inches, centimeters, picas, points, percentage
- Configurable colors and font
- Can be set always-on-top of your application windows
- Can be moved and resized with mouse or keyboard
- Measurement lines track mouse cursor to help measure anything on screen
- Its Free Software released under the GPL
Enhancements:
- Rewrite in Ruby (from C).
- Middle-click now rotates around the mouse position, not the upper-left corner.
- Ruler now shows a left-click target for the popup menu while mouse is over the ruler.
- Unit selection (inches, picas, etc.) moved to popup menu (from preferences dialog).
- Keyboard keys 1-6 now change unit.
- Now uses Cairo for rendering (from GDK).
<<less
Download (0.016MB)
Added: 2006-12-26 License: GPL (GNU General Public License) Price:
1042 downloads
Minesweeper 1.1

Minesweeper 1.1


Minesweeper is a Java game clone from the Windows version of Minesweeper. more>>
Minesweeper is a Java game clone from the Windows version of Minesweeper.

Minesweeper is a game written by Chris Dailey in Java using Swing.

Version 1.1 features the basic game play.

The following table shows what the mouse clicks on squares do while the game is started.

COVERED

Set the square to UNCOVERED.
If there is a mine, the game ends (lose).
If all empty squares are uncovered, the game ends (win).
Otherwise the game continues. Set the square to FLAGGED.

UNCOVERED

Nothing if the number of flags in adjacent squares equals the number in the uncovered square
UNCOVER adjacent covered squares
else
temporarily highlight adjacent covered squares

FLAGGED

Nothing Set the square to QUESTIONED.

QUESTIONED

Nothing Set the square to COVERED.

<<less
Download (MB)
Added: 2006-01-18 License: GPL (GNU General Public License) Price:
1385 downloads
CodeSugar Eclipse Plugin 1.3.0

CodeSugar Eclipse Plugin 1.3.0


CodeSugar Eclipse Plugin is an Eclipse plugin that generates methods such as equals(), clone(). more>>
CodeSugar Eclipse Plugin is an Eclipse plugin that can generate methods such as equals(), clone(), toString(), and hashCode() for Java classes.
Enhancements:
- This release includes many feature enhancements in generated code, as well as UI refinements like enabling actions in the menu only when a type of .java file is selected.
<<less
Download (0.070MB)
Added: 2005-12-20 License: Freely Distributable Price:
1410 downloads
Unit Circle 1.0.1

Unit Circle 1.0.1


Unit Circle project shows the relationship between trigonometric and angles functions like sine and cosine. more>>
Unit Circle project shows the relationship between trigonometric and angles functions like sine and cosine. To do this, the program implements an interactive "unit circle" (radius = 1) diagram, where the user can click or drag to set angles and see how the values of trigonometric functions change accordingly.

The unit circle (where the radius equals 1) provides a very clear demonstration of how various trigonometric functions relate to angles and one another. Draw an angle line from the origin to a point on the circumphrence of the circle; the (x,y) coordinates of that point will will be the cosine and sine of the angle.

In Unit Circle, use the mouse to set the angle line by either clicking or dragging the pointer inside the diagram. Or, change the trigonmetric values in the fields, and the angle will automatically adjust.

The inspiration for this program was provided by my home-schooled daughters, who had difficulty understanding the nature of trigonometry. As an educational tool, Unit Circle has been a success, and it may evolve into a larger application for exploring other aspects of trigonometry and geometry.
<<less
Download (0.10MB)
Added: 2006-01-09 License: GPL (GNU General Public License) Price:
1386 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5