20100623 ruby in the pub #4 :after
Julian Burgess (who I had virtually met via Twitter) suggested me I should attend the next ruby in the pub. It sounded decidedly odd: mixing journalists with an interest for code with ruby developers; even more strange considering I’m not a ruby expert as much as I try, so I thought it could be interesting [...]
20100612 Using jQuery’s inline Datepicker within a form
When you use the inline version of jQuery UI’s Datepicker within a form, it doesn’t submit its value back to the server, since there’s no form element in it. And that’s a pity, because I find the inline mode way more comfortable for users: rather than having to click a button in order to open [...]
20090729 JSONP explained
I had heard about JSONP several times before, but as I didn’t need to understand it yet, I had just ignored any of the usual reference materials about it… until today. I was trying to access some feeds via ajax and noticed that even if they “loaded”, with readyState being 4 and all that, the [...]
20090716 Proportionally resize images with CSS (and maybe JS)
With CSS only: img { height: auto; max-width: 99%; } I normally used only max-width: 99%;, but I found it tends to produce images which are too vertically stretched in some cases, and I am of the opinion that images should always preserve their aspect ratio, unless you’re trying to create some strange effect. Tested [...]
20080128 xplsv.tv embedding!
There’s a very interesting new feature here at xplsv.tv: video embedding! If you love a movie and want to demonstrate publicly, just grab the embed code in the movie page and paste it in your homepage :-) For example, here are two demos I love: // // Isn’t it cool? :)