wrong yaml testing |
3 lines
of
YAML
|
35 Bytes |
Show |
Edit |
Expand |
1
2
3 |
go:
for:
nesting: "whoa!" |
|
~20 lines of Ruby |
1 line
of
Java
by
LetÃcia
|
33 Bytes |
Show |
Edit |
Expand |
1 |
if (comp instanceof JdbTextField) |
|
sad |
4 lines
of
SQL
|
137 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
<OBJECT CREATE="1">
<CREATION TYPE="GaGameObject" NAME="MyObject" ARCHIVE="OBJECT" />
<ATTRIBUTE ATTRNAME="ATTRVALUE" />
</OBJECT> |
|
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... |
|