Archive for the ‘tutorials’ Category

So awhile back (when I switched to Vista which had built in windows media center) I started getting into streaming videos from my pc to my xbox over the network so I could watch them on my tv. I did some searching and found that you have to convert...

I was working on perva.de and I needed to add a cookie to the response. Now thats not really a tough thing to do but it has one unfortunate side effect. Basically it makes you have to use the long handed method for rendering the template instead of being...

edit: This example is no longer appropriate for current versions of Django. Most of the features the wrapper provides are now part of the core pagination classes. Please see my newer post about the topic (with example). For my current project...

Here is a handy little logger I wrote for Django. Feel free to use it if you want and to give me your thoughts on improvements. It was my first stab so be gentle. ;) Big thx to... http://www.linuxjournal.com/article/5821 for exception formatting...

Here is a modifier plug-in that I wrote for smarty that does a simple ternary operation. I would have thought that they would have this built in but from my searches it doesn't seem to be the case. function...

autoCreated ajax ext dialog

August 12, 2007 | In: ruby, tutorials

Here is a tidbit that will autoCreate an ExtJs BasicDialog populated by a partial returned from an AJAX call to a rails controller action. In your js function loadDialog(){ var cb = { success: showDialog, failure: displayError }; ...

Flickr Pics

13th and washington NYC13th and 9th NYC1st st Jersey CityIMG_2813IMG_2814_2IMG_2816IMG_2815Photo_011908_001Photo_122807_001Photo_121107_001