SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#26 2012-04-29 18:11:09

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

Be excellent to each other!

#27 2012-04-29 20:43:01

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 gave me an idea: would there be any demand for an extended (not only precipitation, but temps as well) hourly forecast?


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#28 2012-04-29 20:44:04

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ If you build it, they will come and use it...

Offline

#29 2012-04-29 20:46:15

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#30 2012-04-29 21:12:06

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Last edited by Sector11 (2012-04-30 00:52:24)

Offline

#31 2012-04-29 21:21:35

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#32 2012-04-29 22:14:27

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Alright... so... This is where the script support is now?  Just... lemme know... okay?

*EDIT*  Yeah, sorry.  That was just a test.  A blurb from the dark recesses of my skull.

It is now me officially asking if this is the new, PERMANENT home of supporting TBG's Weather Scripts?

I need to know so I can update links and such.  And yes, I am the same 42dorian from "Elsewhere" just signing up here.  Just hoping to keep in contact for major updates on these scripts, and to make sure TBG is doing okay.

Last edited by 42dorian (2012-04-29 22:24:48)

Offline

#33 2012-04-29 22:17:50

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ To whom are you talking to and how to communicate?  You are brand new here, welcome...

Offline

#34 2012-04-29 22:33:39

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#35 2012-04-29 22:36:06

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Ahhh Got ya.

As far as I know, this is the new place and home but TBG will confirm for sure.

Also, head on over to Introductions if you feel up to it for a warm #! welcome!

Offline

#36 2012-04-29 22:43:48

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#37 2012-04-29 22:48:48

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#38 2012-04-29 23:05:04

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Last edited by 42dorian (2012-04-29 23:06:18)

Offline

#39 2012-04-30 00:53:05

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#40 2012-04-30 23:11:46

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#41 2012-05-01 01:21:07

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ Sector11, always sucking up to the teachers and masters...  lol

Offline

#42 2012-05-01 06:12:21

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#43 2012-05-01 12:12:11

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#44 2012-05-01 12:17:33

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#45 2012-05-01 21:37:11

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#46 2012-05-01 22:23:21

42dorian
Banned
Registered: 2012-04-29
Posts: 42

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Okay Teo... I've seen you type "Thanks Mate" so many times between this thread and the old one that I'm starting to read it in the Jack Sparrow Voice.

Damn You, You Marvellous Greek Bastard You! tongue

Offline

#47 2012-05-01 23:23:02

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#48 2012-05-02 06:45:58

gekken
Member
From: Deep in the heart of M$-land
Registered: 2011-03-13
Posts: 21

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hi all - I am trying to make something better....using the super-secret googleweather API:

#! /usr/bin/perl

use 5.14.2;
use strict;
use warnings;
use diagnostics;
#add some modules
use LWP::Simple;
use XML::Simple;
#use Data::Dumper; #only for debugging

#declare variables
my @forecast_vars = qw/ day_of_week high low condition /;
my @current_vars = qw/ temp_f wind_condition humidity condition/;
our $count = 0;
our @args;

# get the data from super-secret google weather API and pass it variables:

foreach (@ARGV){
    push(@args,$_."+");
}
my $url = 'http://www.google.com/ig/api?weather='."@args";


my $data = XMLin(get $url);


foreach (@current_vars){
    
    print $data->{weather}->{current_conditions}->{$_}->{data}."\n";
    
    }
print "\n";
print "\n";


while ($count < 3){
    
foreach (@forecast_vars){
    
    print $data->{weather}->{forecast_conditions}->[$count]->{$_}->{data}."\n";
    
    }
    $count++;

    print "\n";
    
}

it's ugly and needs work. (test for spelling, "exists", some switches and the like)

but not bad for an hour's clobbering....

so save it somewhere as <your clever program name here>.pl
./foo.pl Los Angeles, CA


Yeah, suggestions WELCOME!

Offline

#49 2012-05-02 07:57:56

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Last edited by TeoBigusGeekus (2012-05-02 07:58:13)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

Be excellent to each other!

#50 2012-05-02 09:59:24

edtheuniquegeek
New Member
Registered: 2012-05-02
Posts: 2

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hey, Teo.
I followed you over from the Ubuntu forums with a side trip to Arch Forums.
I thought I would let you know that I think the weather.com is broken now due to the new format of their site. I'm going to try to fix my own but if you get the chance to fix it for everyone before I do would be great.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo