Main > Free Download Search >

Free acme test weather 0.2 software for linux

acme test weather 0.2

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4430
Acme::Test::Weather 0.2

Acme::Test::Weather 0.2


Acme::Test::Weather is a Perl module to test the weather conditions for a user. more>>
Acme::Test::Weather is a Perl module to test the weather conditions for a user.

SYNOPSIS

use Test::Weather;
plan tests => 2;

# You may only install something
# when its nice outside.

&isnt_snowing();
&isnt_cloudy();

# output:

1..2
ok 1 - its partly cloudy in Montreal, Canada
not ok 2 - its partly cloudy in Montreal, Canada
# Failed test (./t/mtl.t at line 5)
# Partly Cloudy
# matches (?i-xsm:bcloudy)
# Looks like you failed 1 tests of 2.

The package determines a users location by looking up their hostname / IP address using the CAIDA::NetGeo::Client package.

Based on the data returned, weather conditions are polled using the Weather::Underground package.

Because, you know, it may be important to your Perl module that its raining outside...

PACKAGE FUNCTIONS

&is_cloudy()

Make sure it is cloudy, but remember the silver lining.

&isnt_cloudy()

No clouds. Not even little fluffy ones.

&is_raining()

Make sure it is raining.

&isnt_raining()

Make sure sure it is not raining.

&is_snowing()

Make sure it is snowing.

&isnt_snowing()

Make sure it is not snowing.

&is_sunny()

Make sure it is sunny.

&isnt_sunny()

Make sure it is not sunny. Why are you so angry?

&eq_celsius($int)

Temperature in degrees Celsius.

>_celsius($int)

Cooler than, in degrees Celcius.

_fahrenheit($int)

Warmer than, in degrees Fahrenheit.

_humidity($int)

Humidity is greater than.

<<less
Download (0.005MB)
Added: 2007-03-19 License: Perl Artistic License Price:
949 downloads
One-Wire Weather 0.82.0

One-Wire Weather 0.82.0


One-Wire Weather is a client program for Dallas Semiconductor / AAG 1-wire weather station kits. more>>
One-Wire Weather is a client program for Dallas Semiconductor / AAG 1-wire weather station kits, providing a graphical (animated) display to monitor outside temperature, wind speed and direction, rainfall, and humidity.
Extra temperature sensors may be added. A 1-wire "hub" may be used for improved reliability and range. Weather data may be logged to CSV files, parsed to command line programs, sent to the Henriksen Windows client, or uploaded to Web servers at Dallas, The Weather Underground, and HAMweather.
Enhancements:
- Changes to libusb calls, to operate correctly with recent Linux kernels.
- Added facility for waveform slew/timing adjustment for DS2490.
- Locale now set to POSIX when creating output for wunderground, &c - so you can log e.g. with comma as decimal separator, but wunderground gets a full stop.
- Rain from a remote source is integrated for upload (but please could people check if this works for you).
- Initial support for DS2760 - e.g. AAG TAI8560 thermocouple adapter (but the thermocouple Voltage isnt interpreted yet).
- Added facility for placing control characters in parser strings, as C-style escape sequences.
- Added dailyrain statistic for wunderground uploads, &c.
- Implemented rapid update for wunderground.
<<less
Download (0.43MB)
Added: 2007-07-12 License: Artistic License Price:
844 downloads
Better Weather

Better Weather


Better Weather contains a couple of scripts using normal KDE and Linux tools to provide better display of weather info. more>>
Better Weather contains a couple of scripts using normal KDE and Linux tools to provide better display of weather info than KDEs weather applet. It downloads the information from the US national weather service and maps from weather.com. Two launchers on the main menubar bring up the window separately. Full details and instructions are in the readme.

This is a solution that worked for me, not being a coder. You have to make it work for you. Its an idea and a set of tools. Its also US-centric, but someone may take the idea and make it work just as well anywhere. I hope someone finds it as useful as I do.

WHAT IT DOES

The tools I wrote are two *very* simple bash scripts. The script, localwx.sh, invokes the python weather utility, and downloads the current weather conditions and forecast in text format from the weather service. It stores the information temporarily in a text file (I chose the desktop as the directory in which to save it.) It then "reads" the text file into a kdialog box. When the "ok" button is clicked, the temporary file is deleted.

The other script, wxmap.sh, downloads a current local weather map image using wget, saves it temporarily to the desktop, and calls Kview to display it. When Kview closes, the temporary image file is deleted.

HOW I DID IT

The man pages for "weather," "kdialog," and "wget" were useful for determining which options to use. The script for weather forecasts has to be edited to receive the data for the users current location. My nearest airport is PDK, so my ID was "KPDK." The rest is straightforward enough. To make the weather map script work, you can go to weather.com or your local tv station website and copy the image location for the weather map they use. It can be pasted into the script.

Once the scripts were edited to suit, I made them executable (chmod +x filename), copied them to /usr/local/bin, and created a launcher for each in my main menubar. Describing the process is a lot more difficult than actually doing the work!
<<less
Download (0.67MB)
Added: 2007-07-19 License: GPL (GNU General Public License) Price:
838 downloads
Acme::Tests 0.03

Acme::Tests 0.03


Acme::Tests is a Perl module to see how much do you know. more>>
Acme::Tests is a Perl module to see how much do you know.

SYNOPSIS

perl Makefile.PL
make test

This module is a "test software", it has tests in the software rather then software tests. Upon installation, you are reqruied to answered several question, and the installation would be only successful if all you pass them all.

<<less
Download (0.011MB)
Added: 2007-03-07 License: GPL (GNU General Public License) Price:
961 downloads
WeatherBug 1.0.0.2

WeatherBug 1.0.0.2


WeatherBug is a Firefox extension that can get live, local weather conditions in Firefox web browser. more>>
WeatherBug is a Firefox extension that can get live, local weather conditions in Firefox web browser. Featuring forecasts, radar, and severe weather alerts from WeatherBugs community of neighborhood weather stations.

<<less
Download (0.037MB)
Added: 2007-05-30 License: MPL (Mozilla Public License) Price:
559 downloads
Test-Parser 1.2

Test-Parser 1.2


Test::Parser is a collection of parsers for different test output file formats. more>>
Test::Parser is a collection of parsers for different test output file formats. These parse the data into a general purpose data structure that can then be used to create reports, do post-processing analysis, etc.

Test-Parser can also export tests in SpikeSources TRPI test description XML language.

<<less
Download (0.053MB)
Added: 2006-05-04 License: GPL (GNU General Public License) Price:
1268 downloads
Xfce 4 Weather Plugin 0.5.99.1

Xfce 4 Weather Plugin 0.5.99.1


Xfce 4 Weather Plugin shows the current temperature and weather condition, using weather data provided by xoap.weather.com. more>> <<less
Download (0.56MB)
Added: 2007-03-07 License: GPL (GNU General Public License) Price:
572 downloads
CPAN::Test::Others 0.01

CPAN::Test::Others 0.01


CPAN::Test::Others is a Perl module to include tests for other modules on CPAN. more>>
CPAN::Test::Others is a Perl module to include tests for other modules on CPAN.

SYNOPSIS

You dont have any use for this module, just run its tests and report them to CPAN Testers

Sometimes I have an urge to write tests for other modules. Getting these tests included in the real distributin is not always easy, other module authors are busy too. They might have a real life.

So this module does not have its own code, it only has prerequisites and tests for those other modules.

<<less
Download (0.003MB)
Added: 2007-05-05 License: Perl Artistic License Price:
903 downloads
Acme::Laugh 0.0.2

Acme::Laugh 0.0.2


Acme::Laugh is a Perl module that can add joy to your scripts. more>>
Acme::Laugh is a Perl module that can add joy to your scripts.

SYNOPSIS

use Acme::Laugh qw( laugh );

print laugh(5); # print a short laugh
print laugh(50); # print a long laugh

Laughing is something that lets humans distinguish themselves from other forms of life. Now computers are nearer to us.

Have you ever needed to generate a laugh? I had: in IRC, to laugh at other people (for fun!). So, here we are!

INTERFACE

This module lets you export the laugh function:

my $l = laugh( $length );
my $l = laugh(); # Random length

This function accepts an optional $length parameter, which lets you trim the length of the generated laugh. This length has little to do with the actual string length (which you can trim later, if you want), but higher values generate longer laughs in average. Ok, peruse the code to see it!

<<less
Download (0.005MB)
Added: 2007-01-11 License: Perl Artistic License Price:
1016 downloads
Weather::Bug 0.01

Weather::Bug 0.01


Weather::Bug is a Perl module that can get realtime weather where available. more>>
Weather::Bug is a Perl module that can get realtime weather where available.

SYNOPSIS

use Weather::Bug;

my $w = get_live_weather( KCMI );
print "It is $w->{temp} degrees in $w->{location}n";

Weather::Bug uses data from aws.coms live Java weather applet. Not all available stations report live data, however. If the station closest to you does not report live weather data to aws.com, you are probably better off using one of the other Weather:: modules from CPAN.

Disclaimer

This Perl module is not endorsed or supported in any way by AWS Convergence Technologies. "WeatherBug" is their trademark.

USAGE

get_live_weather($station_id [, $units])

Weather::Bug exports only one funcion, get_live_weather. The first argument is the station ID. You can find the ID of a station near you at this page:

http://www.aws.com/aws_2001/asp/getLiveWeather.asp

If you get a list of sites, click one to view current conditions. Look at the URL of the link that says "Live Broadcast JAVA." The part of the URL that reads "?id=XXXX" is your station ID. For example, my old high school in Fredericksburg, Iowa, is FRDRC.

The units argument defaults to American, and supports these values:

0 American
1 Metric
2 American, but pressure in millibars

This function returns a reference to a hash in scalar context, or a hash in list context. The keys of the hash are as follows:

last_updated
date
temp
wind_direction
wind_speed
max_wind_direction
max_wind_speed
precip
precip_rate
pressure
humidity
max_temp
min_temp
site_name
dew_point
heat_index
monthly_rain
temp_change
humidity_change
pressure_change
location
max_humidity
min_humidity
max_pressure
min_pressure
max_precip_rate

Be aware that not all stations report all of these items. Units are stripped from all measurements and rates.

<<less
Download (0.003MB)
Added: 2007-06-15 License: Perl Artistic License Price:
861 downloads
Acme::Hyperindex 0.12

Acme::Hyperindex 0.12


Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. more>>
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes.

SYNOPSIS

use strict;
use Acme::Hyperindex;

my @struct = (
{ j_psi => [qw( eta_prime phi kaon )] },
{ j_psi => [qw( selectron down tau_sneutrino )] },
{ j_psi => [qw( upsilon gluino photino )] }
);

print @struct[[ 2, j_psi, 1 ]], "n"; ### Prints gluino
my $row = @struct[[ 1, j_psi ]]; ### Row contains [qw( selectron down tau_sneutrino )]

When you use dynamic datastructures, the perl index syntax may not be felxible enough. A little examle:

my @struct = (
{
pion => [
[qw(strange j_psi positron)],
[qw(down_squark electron gluino)],
],
w_plus_wino => [
[qw(neutralino tau kaon)],
[qw(charm_squark photino strange_squark)]
],
},
);

Now to get to the kaon particle, normally we use:

my $particle = $struct[0]->{w_plus_wino}->[2];
-- or better --
my $particle = $struct[0]{w_plus_wino}[2];

But what if you dont know how deep your datastructure is at compile time? Course this is doable:

my $particle = @struct;
$particle = $particle->[$_] for qw(0 pion 2);

Two problems here: Perl will tell you Not an ARRAY reference once we try to index in the hash on pion with this array indexing syntax. Its damn ugly and looks complicated.

So Acme::Hyperindex lets you index arbitrary deep into data structures:

my $particle = @struct[[ 0, pion, 2 ]];
-- or even --
my $particle = @struct[[ @indexes ]];
-- or --
my $particle = @struct[[ get_index() ]];
-- or --
my $particle = @struct[[ $particleindexes[[ 3, 42 ]] ]];

Acme::Hyperindex now also lets you index on scalars, arrays and hashes:

$struct[[ ... ]];
@struct[[ ... ]];
%struct[[ ... ]];

And lists ary auto-derefed in list context:

my $struct = [ [qw(a b c)], [qw(d e f)] ];

my $foo = $struct[[ 0 ]]; # $foo contains a ref to qw(a b c)
my @foo = $struct[[ 0 ]]; # @foo contains qw(a b c)

<<less
Download (0.004MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Test::TempDatabase 0.1

Test::TempDatabase 0.1


Test::TempDatabase is a Perl module for temporary database creation and destruction. more>>
Test::TempDatabase is a Perl module for temporary database creation and destruction.

SYNOPSIS

use Test::TempDatabase;

my $td = Test::TempDatabase->create(dbname => temp_db);
my $dbh = $td->handle;

... some tests ...
# Test::TempDatabase drops database

This module automates creation and dropping of test databases.

USAGE

Create test database using Test::TempDatabase->create. Use handle to get a handle to the database. Database will be automagically dropped when Test::TempDatabase instance goes out of scope.

$class->become_postgres_user

When running as root, this function becomes different user. It decides on the user name by probing TEST_TEMP_DB_USER, SUDO_USER environment variables. If these variables are empty, default "postgres" user is used.
create

Creates temporary database. It will be dropped when the resulting instance will go out of scope.

Arguments are passed in as a keyword-value pairs. Available keywords are:
dbname: the name of the temporary database.

rest: the rest of the database connection string. It can be used to connect to a different host, etc.

username, password: self-explanatory.

<<less
Download (0.011MB)
Added: 2007-05-08 License: Perl Artistic License Price:
899 downloads
Acme::Playmate 0.03

Acme::Playmate 0.03


Acme::Playmate is a Perl module to consult the playboy playmate directory for playmate information. more>>
Acme::Playmate is a Perl module to consult the playboy playmate directory for playmate information.

SYNOPSIS

use Acme::Playmate;

my $playmate = new Acme::Playmate("2003", "04");

print "Details for playmate " . $playmate->{ "Name" } . "n";
print "Birthdate" . $playmate->{ "BirthDate" } . "n";
print "Birthplace" . $playmate->{ "BirthPlace" } . "n";
print "Bust" . $playmate->{ "Bust" } . "n";
print "Waist" . $playmate->{ "Waist" } . "n";
print "Hips" . $playmate->{ "Hips" } . "n";
print "Height" . $playmate->{ "Height" } . "n";
print "Weight" . $playmate->{ "Weight" } . "n";

<<less
Download (0.003MB)
Added: 2007-03-19 License: Perl Artistic License Price:
950 downloads
classes::Test 0.942

classes::Test 0.942


classes::Test are functions to help with classes pragma testing. more>>
classes::Test are functions to help with classes pragma testing.

SYNOPSIS

can_new
can_set_get
has_decl
has_class_const
has_mixins
has_mixins_hash

is_classes MyClass;
is_classes main;

is_throwable X::Mine;
is_classes_exc X::Mine;

Generic tests based on Test::Builder designed to help write unit tests for code that uses the classes pragma.

<<less
Download (0.16MB)
Added: 2006-10-31 License: Perl Artistic License Price:
1088 downloads
Test::Data 1.20

Test::Data 1.20


Test::Data is a Perl module to test functions for particular variable types. more>>
Test::Data is a Perl module to test functions for particular variable types.

SYNOPSIS

use Test::Data qw(Scalar Array Hash Function);

Test::Data provides utility functions to check properties and values of data and variables.

Functions

Plug-in modules define functions for each data type. See the appropriate module.

How it works

The Test::Data module simply emports functions from Test::Data::* modules. Each module defines a self-contained function, and puts that function name into @EXPORT. Test::Data defines its own import function, but that does not matter to the plug-in modules.

If you want to write a plug-in module, follow the example of one that already exists. Name the module Test::Data::Foo, where you replace Foo with the right name. Test::Data should automatically find it.

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