Ahojte,
prosim Vas, mohol by mi niekto poradit <<< Uz sa mi celkom podarilo dat dokopy conky ale stale mam problem s tou predpovedou pocasia.
Ako je vidiet na obrazku, conky sa mi pekne zobrazuju ale bez ziadnych udajov. Zaregistroval som sa na tu spominanej stranke weather.com, stahuju sa mi subory ako je tiez vidiet na obrazku ale aj tak stale nic.
Prikladam skript .conkyrc
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
draw_borders no
border_margin 1
draw_shades no
alignment top_left
gap_y 0
gap_x 1700
update_interval 10
use_xft yes
xftfont bauhaus:pixelsize=11
use_spacer no
maximum_width 240
# disc bars
color1 444444
# memory bars
color2 444444
# CPU bar
color3 darkslategrey
text_buffer_size 1800
TEXT
Kurzy $hr
${execi 3600 perl ~/.conky/rates.pl info}
Počasí $hr${Font bauhaus:pixelsize=9}${execi 900 perl ~/.conky/weather.pl update_info LOXX0027 m 6}
${texeci 360 perl ~/.conky/weather.pl LOXX0027 en m ~/.conky/weather.template ~/.conky/weather.conky}
${execpi 247 cat ~/.conky/weather.conky}
${goto 5}${execi 900 perl ~/.conky/weather.pl temperature 1 0}${goto 55}${execi 900 perl ~/.conky/weather.pl temperature 2 0}${goto 105}${execi 900 perl ~/.conky/weather.pl temperature 3 0}${goto 155}${execi 900 perl ~/.conky/weather.pl temperature 4 0}${goto 205}${execi 900 perl ~/.conky/weather.pl temperature 5 0}
${voffset -102}${goto 20}${Font bauhaus:pixelsize=25}${execi 900 perl ~/.conky/weather.pl cc_temperature}
${voffset -92}${goto 15}${Font weather:size=65}${execi 900 perl ~/.conky/weather.pl cc_symbol}
${voffset -63}${goto 215}${Font weather:size=25}${execi 900 perl ~/.conky/weather.pl cc_moon}
${voffset 15}${goto 5}${execi 900 perl ~/.conky/weather.pl symbol 1 0}${goto 55}${execi 900 perl ~/.conky/weather.pl symbol 2 0}${goto 105}${execi 900 perl ~/.conky/weather.pl symbol 3 0}${goto 155}${execi 900 perl ~/.conky/weather.pl symbol 4 0}${goto 205}${execi 900 perl ~/.conky/weather.pl symbol 5 0}$font
${voffset -63}Předpověď $stippled_hr
${voffset 50}${downspeedgraph wlan0 60,115 555555 aaaaaa}$alignr${upspeedgraph wlan0 60,115 555555 aaaaaa}
${voffset -65}${goto 5}${totaldown wlan0}${goto 131}${totalup wlan0}
${goto 5}${downspeed wlan0} kB/s${goto 131}${upspeed wlan0} kB/s
${voffset -5}${goto 45}${Font bauhaus:pixelsize=25}↓${goto 175}↑$font
${color darkcyan}WI-FI ${hr 5}$color
ESSID: ${wireless_essid wlan0}
${color ffffff}IP addres: ${addr wlan0}${alignr}Sila signalu: ${wireless_link_qual_perc wlan0}
${color darkcyan}CPU ${hr 5}
${color #b03060}1-CPU: ${cpu cpu0}% ${freq cpu1}MHz Temprature: $color ${exec sensors|grep ‘Core0′|awk ‘{print $3}’}
${color #b03060}2-CPU: ${cpu cpu1}% ${freq cpu2}MHz Temprature: $color ${exec sensors|grep ‘Core1′|awk ‘{print $3}’}
${cpugraph 92,240 0000ff 0000ff}
${color d4d4ff}${voffset -5}${hr 2}${color}
${voffset -110}${goto 5}Využití procesoru: ${cpu}%${goto 138}$color3${cpubar 5,100}$color
Běžících procesů: $running_processes ${alignr 2}Procesů celkem: $processes
${Font bauhaus:pixelsize=10} Jméno${goto 85}CPU%${goto 128}Jméno${goto 213}CPU%
${top name 1}${goto 85}${top cpu 1}${goto 128}${top name 5}${goto 213}${top cpu 5}
${top name 2}${goto 85}${top cpu 2}${goto 128}${top name 6}${goto 213}${top cpu 6}
${top name 3}${goto 85}${top cpu 3}${goto 128}${top name 7}${goto 213}${top cpu 7}
${top name 4}${goto 85}${top cpu 4}${goto 128}${top name 8}${goto 213}${top cpu 8}$font
${color darkcyan}MEMORY / DISK ${hr 5}$color
${color #000}HDD Temp: ${exec hddtemp /dev/sda | sed 's/\/dev\/sda: //' }
$color2${goto 4}${membar 14, 233}${color}
${voffset -9}${goto 6}RAM${goto 38}($memmax)${goto 120}$memperc%${goto 185}$mem
$color2${goto 4}${swapbar 14, 233}${color}
${voffset -9}${goto 6}SWAP${goto 38}($swapmax)${goto 120}$swapperc%${goto 185}$swap
${Font bauhaus:pixelsize=9} Jméno${goto 85}Mem%${goto 128}Jméno${goto 213}Mem%
${top_mem name 1}${goto 85}${top_mem mem 1}${goto 128}${top_mem name 5}${goto 213}${top_mem mem 5}
${top_mem name 2}${goto 85}${top_mem mem 2}${goto 128}${top_mem name 6}${goto 213}${top_mem mem 6}
${top_mem name 3}${goto 85}${top_mem mem 3}${goto 128}${top_mem name 7}${goto 213}${top_mem mem 7}
${top_mem name 4}${goto 85}${top_mem mem 4}${goto 128}${top_mem name 8}${goto 213}${top_mem mem 8}$font
${goto 4}$color1}${fs_bar 14,233 /}${color}
${goto 6}${voffset -9}root ${goto 50}(${fs_size /})${goto 140}${fs_free_perc /}%${goto 185}${fs_free /}
${goto 4}$color1}${fs_bar 14,233 /media/winlin}${color}
${goto 6}${voffset -9}winlin ${goto 50}(${fs_size /media/winlin/})${goto 140}${fs_free_perc /media/winlin/}%${goto 185}${fs_free /media/winlin/}
${goto 4}$color1}${fs_bar 14,233 /media/data}${color}
${goto 6}${voffset -9}data ${goto 50}(${fs_size /media/data/})${goto 140}${fs_free_perc /media/data/}%${goto 185}${fs_free /media/data/}
${if_mounted /media/cdrom0}${goto 4}$color1${fs_bar 14,233 /media/cdrom0}${color}
${goto 6}${voffset -9}cdrom ${goto 50}(${fs_size /media/cdrom0})${goto 140}${fs_free_perc /media/cdrom0}%${goto 185}${fs_free /media/cdrom0}$endif
${if_mounted /media/KINGSTON}${goto 4}$color1${fs_bar 14,233 /media/KINGSTON}${color}
${goto 6}${voffset -9}USB ${goto 50}(${fs_size /media/KINGSTON})${goto 140}${fs_free_perc /media/KINGSTON}%${goto 185}${fs_free /media/KINGSTON}$endif
${color darkcyan}TV prave bezi ${hr 5}$color
${texeci 300 ~/.conky/tv.pl 4 49 yes}
${execi 300 perl ~/.conky/tv.pl update}${Font bauhaus:pixelsize=12}
${execi 300 perl ~/.conky/tv.pl head 0}
$color6${execi 300 perl ~/.conky/tv.pl description 0}$color
${execi 300 perl ~/.conky/tv.pl head 1}
$color9${execi 300 perl ~/.conky/tv.pl description 1}$color
${execi 300 perl ~/.conky/tv.pl head 2}
$color8${execi 300 perl ~/.conky/tv.pl description 2}$color
${execi 300 perl ~/.conky/tv.pl head 3}
$color7${execi 300 perl ~/.conky/tv.pl description 3}$color$font
${execi 300 perl ~/.conky/tv.pl head 4}
$color8${execi 300 perl ~/.conky/tv.pl description 4}$color
You have ${color3}${texeci 60 perl ~/scripts/gmail.pl n} ${color}new gmail(s).
${execi 60 perl ~/scripts/gmail.pl s}
-------------skuska
Core 1: ${execi 1 sensors | grep "Core 0" | cut -c15-18}C ${alignr}Core 2: ${execi 1 sensors | grep "Core 1" | cut -c15-18}C
a conky weather :
#!/usr/bin/perl
=help
CONKY WEATHER SCRIPT v2.1
USAGE:
perl weather.pl code language units template output
PARAMETERS:
code
The weather.com city code.
See http://xoap.weather.com/search/search?where=%s where %s stands for your location.
The codes for most of the Czech and Slovak locations are available at the end of this file.
For these locations, you can use even the name as written in the first column.
language
"EN" for English, "CZ" for Czech, "SK" for Slovak. (The parameter is case-insensitive.)
units
System of units: "s" for standard aka imperial, "m" for metric. (The parameter is case-insensitive.)
template
A textfile with the template. The format is identical with the Conky format, but these new variables
are available:
__________________________________________________________________________________________________
Variables without arguments
wBarTendency, wBarTendencySymbol, wCode, wConditions, wConditionsSymbol, wCountry,
wDewPoint,wWindSpeed, wFlik, wHumidity, wLatitude, wLocation, wLongitude, wMoon,
wMoonSymbol, wObservation, wObservationCountry, wPressure, wSunrise, wSunset, wSuplDate,
wSuplTime, wTemperature, wUnitDistance, wUnitLatitude, wUnitLongitude, wUnitPressure,
wUnitSpeed, wUnitTemperature, wUpdateTime, wUVIndex, wUVLevel, wVisibility, wWindAzimuth,
wWindDirection, wZone
EXAMPLE: $wCode or ${wCode }
__________________________________________________________________________________________________
Variables with one numeric argument standing for the number of the day starting with "0" for today
wDayDate, wDayHighestTemperature, wDayLowestTemperature, wDayMonth, wDayName_Short,
wDayName, wDaySunrise, wDaySunset
EXAMPLE: ${wDayHighestTemperature 8}
__________________________________________________________________________________________________
Variables with two numeric arguments, the first standing for the number of the day starting with "0"
for today and the latter for the day part, "0" for day and "1" for night.
wDayPartConditions, wDayPartConditions_Long, wDayPartConditions_Short, wDayPartHumidity,
wDayPartPrecipitation, wDayPartConditionsSymbol, wDayPartWindAzimuth, wDayPartWindDirection,
wDayPartWindSpeed
EXAMPLE: ${wDayPartWindSpeed 3 0}
__________________________________________________________________________________________________
Variable "wString" with one string argument. It returns the translation of this string as given
in the string table starting at the line 444 of this file. You can add your own strings, but the
string in the table should be lower-case. Use "_" instead of spaces.
This variable is usable for multilingual templates.
EXAMPLE: ${ wString Humidity }
All the variables and arguments are case-insensitive.
The variable wDayConditions_Long is always in English, the variable wDayPartConditions_Short is partly
translated.
The variables wConditionsSymbol, wMoonSymbol and wDayPartConditionsSymbol return the character corresponding
to the symbol in the weather font.
output
A file where the output of the script is stored. To make the script lightweight, the file is updated
if and only if new data are successfully downloaded, thus don't use /tmp/ to store this file - it could
be deleted by the system.
The script tries to download new data if and only if the current data are not for the current hour.
USAGE IN CONKY:
To not to disturb Conky, it is preferable to run this script in a separate thread using the command
$texeci. You can display the output file in Conky using the $execi or $execpi command and "cat".
You have to use the $execpi variant whenever there are some Conky variables in the template.
EXAMPLE:
${texeci 300 perl ~/.conky/weather.pl LOXX0027 CZ M ~/.conky/weather.template ~/.conky/weather.conky}
${execpi 240 cat ~/.conky/weather.conky}
=cut
use XML::Simple;
$code = $ARGV[0];
$language = $ARGV[1];
$unit = $ARGV[2];
$templatefile = $ARGV[3];
$outputfile = $ARGV[4];
$language =~ tr/ENCZSK/enczsk/;
$unit =~ tr/MS/ms/;
$xmlfile = "$ENV{HOME}/.conky/weather_".$code.".xml";
$tempfile = "$ENV{HOME}/.conky/weather_".$code.".tmp";
########################################################################################################
if(-e $xmlfile){
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
($xmon, $xday, $xyear, $xhour) = lsup($xmlfile);
$update = !($xmon == $mon + 1 && $xday == $mday && $xyear == $year - 100 && $xhour == $hour);
}
else {$update = TRUE};
if ($update) {
open (THISFILE, $0);
while (<THISFILE>) {
if (m/^#\s/) {
my @line = split /\s*#\s*|\s*\n/;
shift @line;
my $key = shift @line;
$dictionary->{$key} = [@line];
}
}
close (THISFILE);
$code = &translate($code, 0);
`wget -O $tempfile "http://xoap.weather.com/weather/local/$code?unit=$unit&dayf=10&dayd=10&cc=*&link=xoap&prod=xoap&par=[moje heslo]&key=[moj kod]"`;
if (-s "$tempfile" > 0) {
my ($tmon, $tday, $tyear, $thour) = lsup($tempfile);
unless ($tmon == $xmon && $tday == $xday && $tyear == $xyear && $thour == $xhour) {
`mv -f $tempfile $xmlfile`;
&parse_template
}
}
}
########################################################################################################
sub lsup {
open (XMLFILE, $_[0]);
while (<XMLFILE>) {
if (my ($xmon, $xday, $xyear, $xhour, $xdaypart) = m/^\s*\<lsup\>(\d*)\/(\d*)\/(\d*)\s(\d*):\d*\s([A|P])/) {
if ($xhour == 12 ) {$xhour = 0 };
if ($xdaypart eq "P") {$xhour += 12};
return ($xmon, $xday, $xyear, $xhour);
last
}
};
close (XMLFILE);
}
sub parse_template{
my $temp = $/;
undef $/;
open (TEMPLATEFILE, $templatefile) || die "Can't open template.";
$template = <TEMPLATEFILE>;
close (TEMPLATEFILE);
$/ = $temp;
if ($language eq "en") {$language_index = 0; $time = sub {$_[0]}; $date = sub {$_[0]."/" .$_[1]. "/20".$_[2]}}
elsif ($language eq "cz") {$language_index = 1; $time = \&time_en_24; $date = sub {$_[1].". ".$_[0].". 20".$_[2]}}
elsif ($language eq "sk") {$language_index = 2; $time = \&time_en_24; $date = sub {$_[1].". ".$_[0].". 20".$_[2]}}
$symbol_index = 3;
$xml = new XML::Simple;
$weather = $xml->XMLin($xmlfile);
$template =~ s/\$\{\s*wString\s*(\w*)\s*\}/&translate($1, $language_index)/ieg;
foreach $conky_key (wCode, wLatitude, wLongitude, wZone, wTemperature, wFlik, wPressure, wVisibility, wHumidity, wDewPoint,wWindSpeed,
wWindAzimuth, wSunset, wSunrise, wConditionsSymbol, wConditions, wMoonSymbol, wMoon, wWindDirection, wBarTendencySymbol, wBarTendency,
wUnitSpeed, wUnitDistance, wUnitTemperature, wUnitPressure, wUnitLatitude, wUnitLongitude, wObservationCountry, wObservation,
wLocation, wCountry, wSuplTime, wSuplDate, wUpdateTime, wUVIndex, wUVLevel){
if ($template =~ m/\$\{\s*$conky_key\s*\}|\$$conky_key/i) {
$template =~ s/\$\{\s*$conky_key\s*\}|\$$conky_key/&conky_value($conky_key)/ieg;
}
}
for ($day = 0; $day < 10; $day++) {
foreach $conky_key (wDayHighestTemperature, wDayLowestTemperature, wDayName_Short,wDayName, wDaySunset, wDaySunrise, wDayMonth, wDayDate) {
if ($template =~ m/\$\{\s*$conky_key\s*$day\s*\}/i) {
$template =~ s/\$\{\s*$conky_key\s*$day\s*\}/&conky_day($conky_key, $day)/ieg;
};
};
for ($day_part = 0; $day_part < 2; $day_part++) {
foreach $conky_key (wDayPartWindSpeed, wDayPartWindAzimuth, wDayPartWindDirection, wDayPartPrecipitation, wDayPartHumidity,
wDayPartConditionsSymbol, wDayPartConditions_Short, wDayPartConditions_Long, wDayPartConditions) {
if ($template =~ m/\$\{\s*$conky_key\s*$day\s*$day_part\s*\}/i) {
$template =~ s/\$\{\s*$conky_key\s*$day\s*$day_part\s*\}/&conky_day_part($conky_key, $day, $day_part)/eig;
}
}
}
};
open (OUT, ">$outputfile") || die "Can't open output file";
print OUT $template;
close (OUT);
}
sub conky_day { # $_[0] key, $_[] day
my $r = \$conky->{Day}[$_[1]]->{$_[0]};
unless ($$r) {
my $w = \$weather->{dayf}->{day}[$_[1]];
if ($_[0] eq "wDayHighestTemperature") {$$r = $$w->{hi}}
elsif ($_[0] eq "wDayLowestTemperature") {$$r = $$w->{low}}
elsif ($_[0] eq "wDayName_Short") {$$r = &translate(substr($$w->{t},0,3), $language_index)}
elsif ($_[0] eq "wDayName") {$$r = &translate($$w->{t}, $language_index)}
elsif ($_[0] eq "wDaySunset") {$$r = &$time($$w->{suns})}
elsif ($_[0] eq "wDaySunrise") {$$r = &$time($$w->{sunr})}
elsif ($_[0] eq "wDayMonth" || $_[0] eq "wDayDate") {
my @temp = split " ", $weather->{dayf}->{day}[$_[1]]->{dt};
$conky->{Day}[$_[1]]->{wDayMonth} = &translate($temp[0], $language_index);
$conky->{Day}[$_[1]]->{wDayDate} = $temp[1];
}
}
return $$r
}
sub conky_day_part { # $_[0] key, $_[1] day, $_[2] day part
my $r = \$conky->{Day}[$_[1]]->{Part}[$_[2]]->{$_[0]};
unless ($$r) {
my $w = \$weather->{dayf}->{day}[$_[1]]->{part}[$_[2]];
if ($_[0] eq "wDayPartWindSpeed") {$$r = $$w->{wind}->{s}}
elsif ($_[0] eq "wDayPartWindAzimuth") {$$r = $$w->{wind}->{d}}
elsif ($_[0] eq "wDayPartPrecipitation") {$$r = $$w->{ppcp}}
elsif ($_[0] eq "wDayPartHumidity") {$$r = $$w->{hmid}}
elsif ($_[0] eq "wDayPartWindDirection") {$$r = &translate($$w->{wind}->{t}, $language_index)}
elsif ($_[0] eq "wDayPartConditionsSymbol") {$$r = &translate($$w->{icon}, 1)}
elsif ($_[0] eq "wDayPartConditions") {$$w->{t} =~ tr/A-Z/a-z/;
$$r = &translate($$w->{t}, $language_index)}
elsif ($_[0] eq "wDayPartConditions_Short") {$$w->{bt} =~ tr/A-Z/a-z/;
$$r = &translate($$w->{bt}, $language_index)}
elsif ($_[0] eq "wDayPartConditions_Long") {
$w = \$weather->{dayd}->{day}[$_[1]]->{part};
if (ref($$w) eq "ARRAY") {
$$r = $weather->{dayd}->{day}[$_[1]]->{part}[$_[2]]->{t};
}
elsif (($weather->{dayd}->{day}[$_[1]]->{part}->{p} eq "d" && $_[2] == 0)
|| ($weather->{dayd}->{day}[$_[1]]->{part}->{p} eq "n" && $_[2] == 1)) {
$$r = $weather->{dayd}->{day}[$_[1]]->{part}->{t}
}
else { $$r = ""};
}
}
return $$r
}
sub conky_value { # $_[0] key
my $r = \$conky->{$_[0]};
unless ($$r) {
if ($_[0] eq "wCode") {$$r = $code}
elsif ($_[0] eq "wLatitude") {$$r = $weather->{loc}->{lat}}
elsif ($_[0] eq "wLongitude") {$$r = $weather->{loc}->{lon}}
elsif ($_[0] eq "wZone") {$$r = $weather->{loc}->{zone}}
elsif ($_[0] eq "wTemperature") {$$r = $weather->{cc}->{tmp}}
elsif ($_[0] eq "wFlik") {$$r = $weather->{cc}->{flik}}
elsif ($_[0] eq "wPressure") {$$r = $weather->{cc}->{bar}->{r}}
elsif ($_[0] eq "wVisibility") {$$r = $weather->{cc}->{vis}}
elsif ($_[0] eq "wHumidity") {$$r = $weather->{cc}->{hmid}}
elsif ($_[0] eq "wDewPoint") {$$r = $weather->{cc}->{dewp}}
elsif ($_[0] eq "wWindSpeed") {$$r = $weather->{cc}->{wind}->{s}}
elsif ($_[0] eq "wWindAzimuth") {$$r = $weather->{cc}->{wind}->{d}}
elsif ($_[0] eq "wUVIndex") {$$r = $weather->{cc}->{uv}->{i}}
elsif ($_[0] eq "wWindAzimuth") {$$r = $weather->{cc}->{wind}->{d}}
elsif ($_[0] eq "wUpdateTime") {$$r = &$time($weather->{loc}->{tm})}
elsif ($_[0] eq "wSunset") {$$r = &$time($weather->{loc}->{suns})}
elsif ($_[0] eq "wSunrise") {$$r = &$time($weather->{loc}->{sunr})}
elsif ($_[0] eq "wConditionsSymbol") {$$r = &translate($weather->{cc}->{icon}, 1)}
elsif ($_[0] eq "wUVLevel") {$$r = &translate($weather->{cc}->{uv}->{t}, $language_index)}
elsif ($_[0] eq "wMoon") {$$r = &translate($weather->{cc}->{moon}->{t}, $language_index)}
elsif ($_[0] eq "wMoonSymbol") {$$r = &translate($weather->{cc}->{moon}->{t}, $symbol_index)}
elsif ($_[0] eq "wWindDirection") {$$r = &translate($weather->{cc}->{wind}->{t}, $language_index)}
elsif ($_[0] eq "wBarTendency") {$$r = &translate($weather->{cc}->{bar}->{d}, $language_index)}
elsif ($_[0] eq "wBarTendencySymbol") {$$r = &translate($weather->{cc}->{bar}->{d}, $symbol_index)}
elsif ($_[0] eq "wUnitSpeed") {$$r = &translate($weather->{head}->{us}, $language_index)}
elsif ($_[0] eq "wUnitDistance") {$$r = &translate($weather->{head}->{ud}, $language_index)}
elsif ($_[0] eq "wUnitTemperature") {$$r = &translate($weather->{head}->{ut}, $language_index)}
elsif ($_[0] eq "wUnitPressure") {$$r = &translate($weather->{head}->{up}, $language_index)}
elsif ($_[0] eq "wUnitLatitude") {$$r = &translate("unit_latitude", $language_index)}
elsif ($_[0] eq "wUnitLongitude") {$$r = &translate("unit_longitude", $language_index)}
elsif ($_[0] eq "wConditions") {$weather->{cc}->{t} =~ tr/A-Z/a-z/;
$$r = &translate($weather->{cc}->{t}, $language_index)}
elsif ($_[0] eq "wObservation" || $_[0] eq "wObservationCountry") {
my @temp = split ", ", $weather->{cc}->{obst};
$conky->{wObservation} = &translate($temp[0], 1);
$conky->{wObservationCountry} = &translate($temp[1], $language_index);
}
elsif ($_[0] eq "wLocation" || $_[0] eq "wCountry") {
my @temp = split ", ", $weather->{loc}->{dnam};
$conky->{wLocation} = &translate($temp[0], 1);
$conky->{wCountry} = &translate($temp[1], $language_index);
}
elsif ($_[0] eq "wSuplTime" || $_[0] eq "wSuplDate") {
my @temp = split /\s|\//, $weather->{cc}->{lsup};
$conky->{wSuplTime} = &$time($temp[3]." ".$temp[4]);
$conky->{wSuplDate} = &$date($temp[0],$temp[1],$temp[2]);
}
}
return $$r
}
sub translate {
if ($dictionary->{$_[0]}) {return $dictionary->{$_[0]}[$_[1]]}
else {return $_[0]}
}
sub time_en_24 {
my @temp = split /\:|\s/, $_[0];
if ($temp[0] == 12) {$temp[0] = 0};
if ($temp[2] eq "PM") {$temp[0] += 12};
return "$temp[0]".":"."$temp[1]";
}
[attachment deleted by admin]