Skip to content

Instantly share code, notes, and snippets.

@nooga
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nooga/18fb346deafc77ad6082 to your computer and use it in GitHub Desktop.
Save nooga/18fb346deafc77ad6082 to your computer and use it in GitHub Desktop.
Kraina Grzybów.
/* NxtData needs you! Zainteresowany/na pracą z nami?
Dokończ lub zhackuj kod i uzyskaj sekretny numer.
Jeśli Ci się uda - dzwoń śmiało! Hasło: Skarabeusz
PS. To nie jest test z JS :) */
function ja(nr) {
// ???
}
ja.umiem = /* [???] */;
ja.supermoc = /* "???" */;
ja.lubie = /* "???" */;
ja.lokalizacja = "Poznań"; // ??? :)
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
(wynik = (function(kandydat) {
var
umie = kandydat.umiem.reduce(function(a, u) {
return a * {
"C" : 1, "Unix" : 12,
"JS" : 3, "HTML5" : 4,
"Java" : 5, "Android" : 6,
"Objective-C" : 7, "iOS" : 8
}[u];
}, 1) % (1 << 2 >> 1);
var
kojarzy = ['MS Exchange',
'Node.js', 'OpenCV', 'NoSQL', 'Kernel',
'CSS', 'Streaming', 'Kodeki', 'Sieci'
].indexOf(kandydat.supermoc);
var
lubi = [
/Nietrywialne problemy/,
/Eleganckie rozwiązania/,
/Luźne godziny pracy/,
/Szybkie komputery/
].map(function(l) { return l.exec(kandydat.lubie) })
.indexOf(null) ^ 1;
return !umie && lubi < 0 && umie * 654 + lubi
* (18481714.285714287 * -((+new Date()) + "").slice(0,2)|0)
+ (kojarzy/kojarzy) * 400 || false;
})(ja)) && ja.call(null, "+48 " + wynik);
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment