Skip to content

Instantly share code, notes, and snippets.

@makenowjust
Last active August 29, 2015 13:57
Show Gist options
  • Save makenowjust/9661558 to your computer and use it in GitHub Desktop.
Save makenowjust/9661558 to your computer and use it in GitHub Desktop.
はてなの自己紹介です。
profile=(function () {/*
巫女編みツインポニーテール狐妹が好きです。
Quine書いたり、GC書いたり、プログラミング言語作ったりしてコンピューターと戯れています。
JavaScriptとかRubyとかHaskellとかGo言語とかD言語とかをよく書きます。
実はこの自己紹介もQuineだったりして……。
> node hatena_profile.js
==========
profile = 'profile=(function () {/*'
+ profile
+ '*\x2f}).toString().match(/\\/\\*([^]+)\\*\\//)[1];\n'
+ 'eval(profile.match(/\\n={10}([^]+)$/)[1]);';
console.log(profile);
*/}).toString().match(/\/\*([^]+)\*\//)[1];
eval(profile.match(/\n={10}([^]+)$/)[1]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment