Hacker News new | ask | show | jobs
by truebosko 5309 days ago
I do like how your "available gigabytes" counter is simply the current time with some division and sub stringing involved .. \o/

$('span#available_space').text(addCommas(((date.getTime()/2500).toFixed(2)).substring(1,12)))