Archive for May, 2008

Gnucash scripts for kaupþing and landsbanki

Monday, May 19th, 2008

Just re-added my gnucash scripts for importing data from Kaupþing XML transaction data and Landsbanki kredit card statements. Find them at /gnucash

  • Share/Bookmark

tv_grab_is updates, XML feeds available

Friday, May 16th, 2008

I’m expecting to start work on changing tv_grab_is program guide grabber to utilize the new XML feeds from 365 (Stöð 2) and also using the XML from RUV in the next few days. Sadly Skjár 1 have not yet created a XML feed so I’ll have to keep on doing HTML parsing for their program data.

Also going to revisit having the xmltv folks accept my new version.

My current version of tv_grab_is

  • Share/Bookmark

Multihost load balanced SMS messages with gnokii

Thursday, May 15th, 2008

I am finishing writing a program called pysmsqueue that can manage to send SMS text messages through phones on multiple hosts or multiple phones on multiple hosts. There for handles load balancing, e.g. sending multiple messages at the same time. The code works pretty much for me but should be considered beta quality. You can have a look at the source in my trac.

The reason for writing it is that I needed something more than the gnokii-smsd that can handle failures of phones. I’m using this as a messaging system for Nagios so it needs to be highly available.

I’m expecting to release a setup file with RPM’s pretty soon.

You can do a subversion checkout with

svn co http://tommi.org/repos/tommi/trunk/pysmsqueue
  • Share/Bookmark

Recordmydesktop, desktop audio and video capturing on Linux

Thursday, May 15th, 2008

I just tried out recordmydesktop. It’s a pretty cool program that basicly does what it says, that is record my desktop. It also captures audio from mic and any music/sounds you are playing at the time of recording. Good for creating video demos, tutorials, whatever. Grit!

  • Share/Bookmark

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