Posted: December 28th, 2011

Merry Dom Tree

Category: technical
Tags: , , , , , ,

the power of HTML5 i’d say. this is pretty bad ass. thanks $su bash for sharing this

fork over on git hub http://hakim.se/experiments/css/domtree/

Posted: October 3rd, 2011

Super Pixel Brothers.

Category: technical
Tags: , , , , , , , ,

this is pretty cool. its Super marrio bros in uber large pixel form. normally we would see millions of pixels when we are playing any game. this has been condensed to 64 pixels (8×8). pretty awesome. another thing is you can make your own. visit www.bradsprojects.com

Posted: September 29th, 2011

lock up yo ice cream, lock up yo kids, lock up yo wife

Category: technical
Tags: , , , , , ,

We’re kidding about the kids and ice cream, but we have found a pint lock. made especially from B&J’s (Ben and Jerry’s).

buy yours here

Posted: June 25th, 2011

last day of month function JS.

Category: technical
Tags: ,

ever wanted to find out the last day in a current month, well now you can.


[code type="javascript"]
//last day date function
Date.prototype.lastDay = function() {
var mth = this.getMonth();
adjusted_mth = mth+1; // fix for array values;
var year = this.getFullYear();
var leap = 0;
if(year%400 === 0 || (year%100 != 0 && year%4 === 0)) {
leap = 1;
}
switch(adjusted_mth) {
case 2:
lastday = 28;
if(leap) {
lastday = 29;
}
break;
case 1: case 3: case 5: case 7: case 8: case 10: case 12:
lastday = 31;
break;

default:
lastday = 30;
break;
}

return year+'-'+adjusted_mth+'-'+lastday;
};

#use
Date.lastDay()

[/code]

Your Ad Here
Posted: June 11th, 2011

Take Apart

Category: Gadgets, images, technical
Tags: , , , , , ,

try to guess what these are. these items are taken apart piece by piece and laid out.

Your Ad Here