Archive for the ‘open source’ Category

CallerID lookup script for Asterisk / Trixbox

Thursday, May 15th, 2008

I created a script, AsteriskJA, a while back which can fetch data from a website and use in a CallerID lookup source within Asterisk. This script utilizes the Icelandic online phone book, http://ja.is/. It is written in perl and I’ve been using it now for several months. The effect is that if someone calls you from Iceland and they are registered in the Phonebook, you get the name of the caller. Pretty neat ehh? :)

  • Share/Bookmark

Screenshot script for xorg (linux)

Friday, May 9th, 2008

I wrote this script to take screenshots of my desktop because I have on occasion forgot to fill in my time sheet on a daily basis. Basicly it’s a script that takes a screenshot of my desktop every 15 minutes and saves to a directory structure.

screenshot.sh

My crontab entry:

*/5 8-19 * * * /home/tommi/screenshot.sh

  • Share/Bookmark