On vacation now
August 25th, 2006I am now on vacation till next Friday to go to Paris. No comments will make it through, but I promise to answer what accumulates.
I am now on vacation till next Friday to go to Paris. No comments will make it through, but I promise to answer what accumulates.
I have this function I’ve used for quite a long time to shorten a string to a fixed amount of characters without breaking in between words: function constrain(str,n){ var words = str.split(’ ‘); var resultstr = ‘’; for(var i = 0; i < words.length; i++ ){ if((resultstr + words[i] + ’ ‘).length>=n){ resultstr += ‘…’; […]
I guess you have to take the good with the bad… This morning I found out that there is a new issue of NET Magazine with an adequately loud mouthed orange man on the cover that features my opinion piece where I am Captain Obvious to the rescue and talk about the biggest trick in […]
Drew McLellan asked for a tool script for an upcoming project that would allow him to do all kind of tasks related to CSS classes. He wanted to dynamically add, remove and check for classes and get all elements that have a certain class applied to them. It is nothing fancy or new, but come […]
Dan Webb and Luke Redpath have released an Unobtrusive JavaScript for Rails Plugin. Well done! Now let’s do the same for Visual Studio and .NET!
Check out the Dev Digest Newsletter I write every week for WeAreDevelopers.