working POC:
#!/usr/bin/perl -w
use strict;
use warnings;
use Data::Dumper;
use XMLRPC::Lite +trace => qw(debug);
my $username = "username";
my $password = "psw";
my $blogid = "blog";
my $proxyurl = 'http://hostname/xmlrpc.php';
my ($buf,$contents);
print "Enter title ->";
my $title = ;
chomp $title;
print "Enter description: (to finish enter crtl-d on a new line)";
my $descr=undef;
while(){
$descr .= $_;
}
print "Enter the full path to a png or jpeg file, just press enter to go with out a file";
my $image = ;
I recently found http://code.google.com/p/gcalcli/ a command line version of the google calendar, neat :-)
My only problem is that adding events with it is only supported to write to default calendar and that's not what I need to do. First go to the settings tab in google calendar -> calendars -> "the calendar you want to write to" -> check the Id at the Calendar Address (Calendar ID: xxsdsdfcxxcvsefsxccvxcvxcv@group.calendar.google.com).
No to the very ugly hack to change from the default calendar in quick add, edit the gcalcli python script and change at row 832
Note to self, don't buy Gift certificates from stores that hands them out only valid for a year. I think that it is on purpose they make them invalid after a certain time. That way they get the money for nothing, a great business idea.
Places that has gladly taken the money but I was to slow to get anything back from:
* Tule bilskola
* Naturkompaniet
* SF Bio
* Several other
But Is it me or them? :-)
I'm back running. but only for like 30min x 3 times a week due to the foot problem, it is almost fine now so I'm slowly increasing the amount of training but I don't want to undo the rehab training I did for the last six months so I'm taking is slow.
I'm hopefully soon gonna post (more or less automatically) my running/biking/canoeing/skiing/touring skates(långfärdsskridskor) stats here with maps and hr/altitude data :-) but don't hold you breath :-)
I got lots ...
contact me
This is a bugfix release mostly but also includes a trivial new db-rep script.
Spent about 4hrs debugging a init.d script wondering why in **** /etc/init.d/jboss start exit:s with return code 1 and does nothing but "sh /etc/init.d/jboss start" works like a charm ...
wait for it ...
.
.
.
.
.
the script starts with "#!/bin/sh -e" the "-e" tells sh not to accept any commands to fail. witch is a good thing but it is really tricky if you forgot that you turned on "must not fail" .-)
Site will be back later, servercrash...