Skip to content

Instantly share code, notes, and snippets.

View dylanbr's full-sized avatar

Dylan Bridgman dylanbr

View GitHub Profile
@dylanbr
dylanbr / gist:04bf0aa18709bad4cf21
Created January 24, 2015 16:08
"hello world!" from prime numbers using JavaScript
function greet() {
return m=-2,r=5,x=1311298913,y=6610866907,z=Math.pow(r+m,r+m),l=[]+[],g=l+greet,(x*z*r*-m+l+y*(z*r+-m*r)).match(/\d{2}/g).map(function(e){m=-m;return this[e/r+m];},g.replace(/[^^-{ !]/g,l).split(l).sort().filter(function(e,i,a){return a.indexOf(e,++i)===-1;}).join(l)).join(l);
}