Archive for 'Uncategorized'

Simply beautiful way to detect IE version

I just stum­bled upon a neat javascript snip­pet that will detect the cur­rent ver­sion of Inter­net Explorer in the most sim­ple and yet very cool way. // — —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  — - // If you’re not in IE (or IE ver­sion is less than 5) then: // ie === unde­fined // If you’re in IE (>5) then you can determine […]

HTML5 Web Workers to do my dirty work

For the longest time now I want to cre­ate an appli­ca­tion that will cat­a­log all the media I have on my com­puter, movies, TV shows, music, etc’. I’ve started this project many times, with var­i­ous tech­nolo­gies, from PHP stand-alone scripts, through PHP frame­works, Python, and some Ruby tests. But this time I think I’m going to […]

Javascript — Illusive Location Object

Last week I was work­ing with URLs in a javascript project at work, I remem­bered that JS has a nice window.location object that has eas­ily accis­ble prop­er­ties, like window.location.protocol that will out­put http: for the URL of this blog, and window.location.search will give every­thing after the ques­tion mark (from this: http://www.google.com/search?num=50&hl=en&q=example&aq=f&aqi=g10&aql=&oq=&gs_rfai= get only num=50&hl=en&q=example&aq=f&aqi=g10&aql=&oq=&gs_rfai=). So I […]

Nature by Numbers

Nature by Num­bers from Cristóbal Vila on Vimeo.