Skip to content

Instantly share code, notes, and snippets.

@robatron
Last active August 29, 2015 14:00
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 robatron/11277856 to your computer and use it in GitHub Desktop.
Save robatron/11277856 to your computer and use it in GitHub Desktop.
Returns the REI logo in ASCII art, compressed using the LZW compression algorithm (744 bytes)
function d(r){for(var e,n={},t=(r+'').split(''),o=t[0],c=o,d=[o],a=256,h=1;
h<t.length;h++){var M=t[h].charCodeAt(0); e=256>M?t[h]:n[M]?n[M]:c+o,d.push(e),
o=e.charAt(0),n[a]=c+o,a++,c=e}return d.join('')}d('MĀāĂ㥹ĆćĈĉć\nĊčĎďĐăČđĔĕĖ'+
'ēĖęĚĈĘěĞğĝğĢėģĥĤĦĨďġĩĬąīĬ?ĭāįĉ..ZĐĶĶIJĴćĺ.Ď?ĿĶ:ĵŀĔĽąŃŇĈŋĀ ŌăłĶ~ đʼnă~MĿMıĆŐĿDă'+
'ĻĂĺťĐŘţŃľūąŐŏŦă+ŖčũāŋŤťŃ8ņŹŊĸĉŶśŸŹ7ŎIJĄŶ7:ƄĻƄ+ƐƑƐāƒƕƓĀƕĀżĮĎƍ.ŠƞŭƃƍŷŜM,$ƜčơƬƢơ'+
'ƥűċƫƭ+ŋIƣƱƢĄƺƪōƭĀƇƇƸŸưžƽƾƞDžƍŢǀljǍƱĆũƭŇơŴNJŬǐLJŊǓŀƬŪĺOǡǢǗĜĈƌǜŋŚŋ7NJǂƼƉǘǨŃŚǏűƯǵőǚƈ'+
'ƈƂǻĠǾȀǽȀĚȂȃħȆĭȅȈŗȋȉȍĬ')
@megafatsquirrel
Copy link

Very cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment