Monthly Archives: September 2006

LighboxEx without swfobject and Flash

Hate Flash? You’re not alone. I just finished ripping out Flash support from LightboxEx, so it is no longer required. You will not need to load swfobject.js or Sound.js. The script is smaller with the applied patch, but still includes all the other nice features, like proper resizing for large images [...]

What do you wanna do this afternoon?

[JasonBox] leeta: What do you wanna do this afternoon?
[leeta] JasonBox: I wanna take you home with me.
[Tak] guess that ruins my afternoon

Perl to rewrite label to label_for

After quickly scaffolding, you may find you want to actually use portions of the generated form _form.rhtml. If you’re using technoweenie’s labeled_form_helper plugin, the following Perl will quickly convert each label element into something more suitable.

$ perl -i -pe “s#([^#g" \
app/views/test/_test_form.rhtml

Before and after.

Email
'Email') %>

And, if you don’t care about adding your [...]

Citi Diamond Preferred Rewards, Obscene All Around

I just spoke with Citi. I called them up to active my new Citi Diamond Preferred Rewards which I obtained to take advantage of their 2% 1% for rewards for a year. (It’s actually 5% for the usual stuff and 1% elsewhere. Not sure where I read 2%. I’m drawering this [...]