by Thomas Beutel
...CONTEMPLATING CODE AND LIFE
...CONTEMPLATING CODE AND LIFE

Archive for August, 2009

Using jQuery and Prototype together while avoiding the dreaded element.dispatchEvent error

Friday, August 28th, 2009 Posted in Google, Programming, jQuery | Comments

Here is what I do to avoid the dreaded "element.dispatchEvent is not a function" error. I load jQuery first, Prototype second, and then I use jQuery( ) instead of $( ) for all my jQuery calls. <!-- Set up ...

Using Skype to control a model train

Friday, August 21st, 2009 Posted in Model Railroading, Programming, Skype | Comments

Small wireless spy cameras are widely available, and there are even a few available specifically for HO-scale trains. This got me to thinking about letting my cousin in Germany run a train on my train layout, using Skype. Why not? ...

A short blurb on using sfGuardPlugin credentials

Thursday, August 20th, 2009 Posted in Symfony | Comments

(Here are a few notes I made to myself about the credential system.) Credentials are part of the sfGuardPlugin security system for Symfony. For some reason, Symfony also refers to credentials as permissions. As far as I can tell, the two ...

Meta refresh in Symfony – use view.yml

Wednesday, August 19th, 2009 Posted in Symfony | Comments

The easiest way I've found to add meta refresh to a specific action in Symfony is to use the view.yml file. Note that I use http_metas, not regular metas. indexSuccess: http_metas: refresh: 300 which results in adding the ...