Thursday, October 21, 2010

Google Calendar is great

For some time I have been trying to share the family calendars and get them all on my iphone. I got my work calendar on using Google sync. To do this I created a separate gmail account and synced it with the outlook on my PC.

Stage 2 was my calendar. This I used my current Google account. I then shared my work gmail with this account.

I also discovered that I could create several calendars on one account so I was able to setup the soccer account.

Stage3: Once this is all setup I then used Thunderbird as my main email tool going forward and added an add-on called lightning and another add-on called "provider for google calendar" With these 2 in place I could then add my calendars to my email browser. The website explains how to do this.

Stage 4: Adding it to the iphone. I have an iphone 3 and my exchange is already in use to I had to use calDav instead. This works really well and google details how to do this at http://www.google.com/support/mobile/bin/answer.py?answer=151674

Stage 5: tell google calender to show supplimental calendars. Go to https://www.google.com/calendar/iphoneselect while logged in and you can see all the Calendars.

Now I can see my personal calendar and work calendars easily on the iPhone!

I have now convinced my wife to try it and she can now add to my Calendar any reminders and we can see where the kids etc have to be. Even the dog has a Calendar!

Tuesday, August 17, 2010

Setting up mysql using yum

Well I had to setup a mysql server so I could use phpScheduleit. A tool for scheduling equipment and sharing resources. Here is what I had to do to set it up
  • yum install mysql-devl
  • yum install php-mysql
  • yum install mysql
  • yum install mysql-server
  • yum install php
  • yum install php-pear
Once its all setup
  • service mysqld start
    • chkconfig --add mysqld
    • chkconfig --level 2345 mysqld on
  • mysqladmin -u password
Verify its setup...
  • mysqlshow -p

Thursday, April 22, 2010

Richfaces trees and Selenium click

We hit this problem a while back and I couldn't find a good solution on the web. So when we use a tree display in richfaces and record is in selenium. It all works. However on playback the selected item cant be clicked on! Here is the solution. Take click and create your own method of click so it look like...
public void click(String location) throws Exception {
mouseDown(location);
mouseUp(location);
super.click(location);
}
or add the following before the click.
 mouseDown(location);
mouseUp(location);
I'm sure this is fixed in the latest selenium and richfaces but not all apps use that.

Thursday, April 8, 2010

Eclipse: Subclipse cant display the SVN perspective

So this was a good one for me. Everytime I upgrade from Ganymede to Galileo and then reinstall the subclipse plugin the SVN perspective is missing. I searched around a lot on this and got a lot of pages that said this couldnt happen and the initiator of the discussion gave up and clean installed the whole of eclipse.

I came across this post:
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1046&dsMessageId=2391942

So how I have eclipse setup is its installed as root and I use it as my user name. The theory is more than one login can use it. So as the link stated it was creating a $HOME/.eclipse dir. I couldnt get past that though.

In the end I uninstalled subclipse and removed the $HOME/.eclipse dir and then started eclipse as root and installed the plugin while running as root.

Once the subclipse plugin was installed I restarted eclipse with my login and everything was fine.

Wednesday, March 24, 2010

Introduction

Lately I have spent a lot of time on Google trying to track down weird and odd errors I get using different tools. The ones at the moment tend to be eclipse or selenium related. I also noticed that other people have these same issues but the answers are somewhat few and far between. My goal for this Blog is notes for myself and also hopefully to share information with other people having similar issues.