Archive for September, 2006

Another lego animation movie..

Tuesday, September 19th, 2006

Here is the other lego animation that I made with a friend. You can view it on google video (flash player required) http://video.google.com/videoplay?docid=-8641490673526364411

So.. i’ve officially started university (Brunel), not much to say really I’ve been to lots of intruductions and things like that. My room in halls is pretty big (13′ x 9′) which is good. I need to get me some TFT screens so i can use/bring my desktop to halls.
Nothing particually interesting is happening at the moment. The internet access is quite restricted and for some reason i’m only on a 10mbit ethernet connection. Though i’ve no idea how they have their network setup.

Lego animation I made with a friend a while ago.

Tuesday, September 12th, 2006

Click here to view Video (hosted on google)

Gnome Clock applet - using ICS calendar

Monday, September 4th, 2006

You know how with evolution if you have a calendar setup it will display in the Gnome Clock applet. Like this:

Clock applet screenshot

..Well I don’t use evolution, but i do want to be able to view my calendar in the clock applet.

The calendar is generated by mozilla sunbird (which now works [version 0.3a2]
natively on 64bit YAY), mozilla sunbird using webdav publishes it to a server, this means I can access it from anywhere I want to and use phpicalendar to view my calendar.
Using a cron job I download the ics calendar file and rename it to calendar.ics (which is what the program is expecting)
The command run is: cd ~/.evolution/calendar/local/system/ && wget http://urlto/icsfile.ics && mv ./icsfile.ics ./calendar.ics

If the wget fails (say you’re not connected to the internet at the time), it won’t overwrite the calendar file because i’ve used && which means it won’t execute the next command in the sequence if the previous one failed.  Once you’ve edited this to your settings add it to your crontab via the command “crontab -e”. This is my crontab, it’s set to go off every 12 hours.

michael@fornax:~$ crontab -l
# m h  dom mon dow   command
0 12 * * * cd ~/.evolution/calendar/local/system/ && wget http://urlto/icsfile.ics && mv ./icsfile.ics ./calendar.ics
The crontab syntax is like this:

# (Use to post in the top of your crontab)
# ------------- min (0 - 59)
# | ----------- hour (0 - 23)
# | | --------- day of month (1 - 31)
# | | | ------- month (1 - 12)
# | | | | ----- day of week (0 - 6) (Sunday=0)
# | | | | |
# * * * * * command to be executed
0 12 * * * comand

Now reward your self with my favorite XKCD

http://xkcd.com/c149.html http://xkcd.com/c146.html

http://xkcd.com/c148.html