Skip to content

Instantly share code, notes, and snippets.

@tompng
Last active April 3, 2017 15:51
Show Gist options
  • Save tompng/2024a0243e205dc32053e6821df09a9c to your computer and use it in GitHub Desktop.
Save tompng/2024a0243e205dc32053e6821df09a9c to your computer and use it in GitHub Desktop.
code="console.log('code='+JSON.stringify(code)+';eval(code)')";eval(code)
code="puts 'code='+code.inspect+';eval code'";eval code
$code=q(print qq(\$code=q($code);eval \$code\n));eval $code;
$code=q(
1+2+3+4+5+6+7;
print qq(\$code=q($code);eval \$code\n));eval $code;
$code=q(
; 8888__8888__8888__8___ ;
; 8__8__8_____8__8__8___ ;
; 8888__8888__888___8___ ;
; 8_____8_____8__8__8___ ;
; 8_____8888__8__8__8888 ;
print qq(\$code=q($code);eval \$code\n));eval $code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment