Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    10.10.10.10:8000 -> 10.10.10.5:1001
    10.10.10.10:8000 -> 10.10.10.6:1001
    
  2. or download this
    10.10.10.5:1000 -> 10.10.10.10:8000
    10.10.10.5:1000 -> 10.10.10.10:8000
    ...
    10.10.10.10:8000 -> 10.10.10.5:1001
    10.10.10.10:8000 -> 10.10.10.6:1001
    
  3. or download this
    # space added for emphasis, don't need it in the output
    
    ...
    10.10.10.6:1001 -> 10.10.10.10:8000
    10.10.10.10:8000 -> 10.10.10.6:1001
    
  4. or download this
    $,=42;for(34,0,-3,9,-11,11,-17,7,-5){$*.=pack'c'=>$,+=$_}for(reverse s
    +plit//=>$*
    ){$%++?$ %%2?push@C,$_,$":push@c,$_,$":(push@C,$_,$")&&push@c,$"}$C[$#
    +C]=$/;($#C
    >$#c)?($ c=\@C)&&($ C=\@c):($ c=\@c)&&($C=\@C);$%=$|;for(@$c){print$_^
    +$$C[$%++]}