Genesis200902 sugyan

1,346 views

Published on

2009年2月25日 Genesis Lightning Talks Vol. 13
発表資料

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,346
On SlideShare
0
From Embeds
0
Number of Embeds
90
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Genesis200902 sugyan

  1. 1. ''=~('('. '?'.'{'.( '`'|'%').('['^'-') .('`'|'!').(('`')| ',').'quot;'.('['^'+').('['^ ')').('`'|')').('`'|'.') .('['^'/').('{'^'[').(''). 'quot;'.('`'^'(').('`'|'%').('`' |',').('`'|',').('`'|'/').(quot;{quot;^ '[').('['^',').('`'|'/').(('[')^ ')').('`'|',').('`'|'$').'!'.''.''.('`'|'.').''.'quot;'.'quot;'.quot;}quot;. ')');$:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$=('`')| '!';$:=')'^'}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^quot;|quot;; $:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|('!');$:= ')'^'}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:=quot;.quot;^ '~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=')'^'}' ;$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:='.'^'~';$~ ='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=')'^'}';$~= '*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:='.'^'~';$~ ='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$='`'|'!';$:=quot;)quot;^ '}';$~='*'|'`';$^='+'^'_';$/='&'|'@';$,='['&'~';$=(',')^ '|';$:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|('.');$,= '('^'}';$='`'|'!';$:=')'^'}';$~='*'|'`';$^='+' ^'_';$/='&'|'@';$,='['&'~';$=','^'|';$:= '.'^'~';$~='@'|'(';$^=')'^('[');$/= '`'|'.';$,='('^'}';$=('`')| '!';$:=')'^'}';$~='*' |'`';$^=quot;+quot;^ '_';$/= '&' ;
  2. 2. ''=~(quot;(quot;. '?'. '{'. ('`' |'%' ).+( '['^ '-') .''. ('`' |'!' ).('`'|',' ).quot;quot;quot;.( '['^ '+').('['^ ')') .( '`'| ')') .( (( (( '`') )))| '.') .''. +( '['^ '/') .''. ('{' ^'[' ).(( (( '' )))) .'quot;' .( '`'^ '(') .( (( (( '`') )))| '%') .('`'| (( ',') )).( '`'| ',') .''. ('`' |+ '/').('{'^('[')).( '['^ ',') .''. ('`' |+ '/').('['^(')')).( '`'| ',') .''. (quot;`quot;| '$') .'!' .+ (( '' )).''. (( '' )) .''. ('`' |'.'). '' .'quot;' .+ 'quot;'. '}'. ')') ;$:= (( '.') )^(( (( '~') )) ); $~ ='@'|'(';$^=')'^quot;[quot;;$/= '`'|'.';$, =( '(')^quot;}quot;;
  3. 3. ''=~('(?{'.( '[))@[]^`[@@@~,@[@?~!._'^ '+[@./}|(>,,/^{/),[_}@}' ).'})')
  4. 4. $a='printquot;Hello World!nquot;'; eval $a;
  5. 5. ''=~('(?{'. 'printquot;Hello World!nquot;' .'})')
  6. 6. 'p'=>0x70 =>01110000
  7. 7. 0^0 = 0 0^1 = 1 1^0 = 1 1^1 = 0
  8. 8. '['=>01011011 '+'=>00101011
  9. 9. '['=>01011011 '+'=>00101011 01110000
  10. 10. 'p'=>01110000
  11. 11. ('['^'+') eq 'p'
  12. 12. (')'^'[') eq 'r'
  13. 13. (')'^'@') eq 'i'
  14. 14. ('@'^'.') eq 'n'
  15. 15. ('['^'/') eq 't'
  16. 16. ('[))@['^ '+[@./') eq 'print'
  17. 17. ''=~('(?{'.( '[))@[]^`[@@@~,@[@?~!._'^ '+[@./}|(>,,/^{/),[_}@}' ).'})')
  18. 18. #!/usr/bin/perl use strict; use warnings; use Acme::EyeDrops qw(sightly); my $shape = `banner -w 36 Love`; my $source = 'print quot;Hello world!nquot;'; print sightly({ ShapeString => $shape, SourceString => $source, Regex => 1, Rotate => 270, });
  19. 19. ''=~(quot;(quot;. '?'. '{'. ('`' |'%' ).+( '['^ '-') .''. ('`' |'!' ).('`'|',' ).quot;quot;quot;.( '['^ '+').('['^ ')') .( '`'| ')') .( (( (( '`') )))| '.') .''. +( '['^ '/') .''. ('{' ^'[' ).(( (( '' )))) .'quot;' .( '`'^ '(') .( (( (( '`') )))| '%') .('`'| (( ',') )).( '`'| ',') .''. ('`' |+ '/').('{'^('[')).( '['^ ',') .''. ('`' |+ '/').('['^(')')).( '`'| ',') .''. (quot;`quot;| '$') .'!' .+ (( '' )).''. (( '' )) .''. ('`' |'.'). '' .'quot;' .+ 'quot;'. '}'. ')') ;$:= (( '.') )^(( (( '~') )) ); $~ ='@'|'(';$^=')'^quot;[quot;;$/= '`'|'.';$, =( '(')^quot;}quot;;
  20. 20. $ perl -e 'quot;quot;!~(quot;(?{quot;.(quot;+,@.)]}(>,,/^_@/ @?|!@^quot;^quot;[^)@]}_`[@@@~(/],[]}.|quot;).quot;})quot;)' Hello world!
  21. 21. #!/usr/bin/perl length q chr uc and print chr ord uc q chop uc and print chr ord q ne sin and print chr ord qw q le q and print chr ord q else and print chr ord q pop and print chr ord qq q q and print chr ord uc q qw eq and print chr ord q local and print chr ord q qr q and print chr ord q else and print chr ord qw q do q and print chr hex length q q bless localtime ref q and print chr length q continue vec

×