Better HN
topnewbestaskshowjobs
Log inSign up

jonli1

19 karma · joined Mar 29, 2013 (13y ago) · 4 submissions

Hey, I'm Jon!
Submissions

comment 10y ago · link · parent

Unlike most of the corporations in America, at least Google is transparent about its decisions.

comment 12y ago · link · parent

up but flaky...

comment 13y ago · link · parent

Their js is not uglified. Here's the easteregg. function initEasterEgg() { var pattern = "72658669656682696575"; //haveabreak var userPattern = "";

        var code = "38384040373937396665";
        var userCode = "";

        $(document).keydown(function(event) {
            var p = pattern.substr(userPattern.length,2);
            var c = code.substr(userCode.length,2);
            var r = Math.floor((Math.random()*3)+1);

            if(event.which == p) {
                userPattern += event.which;
                if(userPattern === pattern) {
                    $( "body" ).append( "<div id='eeDroid'><img src='assets/desktop/images/misc/droid" + r + ".png' /></div>" );
                    $('#eeDroid').animate({bottom:'0px'},500).animate({left:'-600px'},2000, function() {
                        $(this).remove();
                    });
                    userPattern = "";
                }
            } else { userPattern = ""; }

            if(event.which == c) {
                userCode += event.which;
                if(userCode === code) {
                    $( "body" ).append( "<div id='eeDroid'><img src='assets/desktop/images/misc/droid" + r + ".png' /></div>" );
                    $('#eeDroid').animate({bottom:'0px'},500).animate({left:'-600px'},2000, function() {
                        $(this).remove();
                    });
                    userCode = "";
                }
            } else { userCode = ""; }
        });
    }

4.

Sergey Brin’s Younger Brother Co-Founds A Startup Of His Own(techcrunch.com ↗)

10 points · by jonli1 · 13y ago · 2 comments