Archive for the ‘programming’ Category

Twilio Emulator

Saturday, January 24th, 2009

So I’ve been putting this off for the last month. I’ve written loggers, done the manual way, etc. Instead of starting my second private project with twilio, I decided while in the shower I needed to do this before I start. After about an hour, I’ve uploaded the start of it to my github profile, first repo to try it out too! Anyways, feel free to try it out and not burn any trial minutes or pay minutes (like myself) while developing your phone app. There are a number of bugs that I have not taken care of, but I’m not done working on it this weekend. And yes, not all nodes are implemented, but hopefully by the end of the day we have a nice pretty command line with proper tag validation and exception handling.
Below are the links to the repo.
GitHub Master
Public Clone URL

XMMS2 and Python

Sunday, November 30th, 2008

I rarely get to sit down at my home machine and make something for my own use these days. I’ve always been interested in working with xmms and now these days xmms2. I built a plugin years ago that would dump audio information via http. These days I’d do the same, but with a script instead of a compiled c module for xmms. So this brings me to experimenting with xmms2 and python. This could be the first in a series of me blogging about python integration and what is possible with linux libraries and apps that have native python libraries. Python lends itself to being a lightweight language with great performance and fast turnover. According to debian there is a package that contains xmms2 bindings for python.

python-xmmsclient – XMMS2 – Python bindings
apt-get install python-xmmsclient

I decided to port a display_track shell script found on a debian administration article

Instead of using osd-cat I went with aosd-cat since I like the options better and it uses the libaosd library. Whatever I build next is news to me =) See the code below if you are interested in forking it for yourself.

By the way, excuse the formatting, its a bug in my code highlighter!

[The requested file display_track.py could not be found]