qq |
20 lines
of
HTML
by
qq
|
656 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="t... |
|
qq |
18 lines
of
Ruby
|
463 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
05 import time
06 def timing ( f , n ):
07 print f . __name__ , n , "times" ,
08 r = range ( n )
09 t1 = time . clock ()
10 for i in r :
11 f ()
12 t2 = ti... |
|
perl? |
16 lines
of
Ruby
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
Java
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
Groovy (beta)
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
Delphi
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
|
perl? |
16 lines
of
Ruby
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
PHP
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
CSS
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|
perl? |
16 lines
of
C++
by
laksd
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
#!perl
my $variables = {
scalar => {
description => "single item",
sigil => '$',
},
array => {
description => "ordered list of items",
sigil => '@',
},
hash => {
descript... |
|