Welcome! This page is using CodeRay 1.1.2.
We currently have
3063 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
1 line
of
Ruby
by
robot
|
18 Bytes |
Show |
Edit |
Expand |
|
PHP |
7 lines
of
PHP
|
97 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
@include("hello.php");
if($a) {
echo "this";
} else {
@include("goodbye.php");
}
|
|
easy xml |
21 lines
of
XML
by
asm0dey
|
1.04 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<pre><code class="xml"><settings>
<setting>
<id>colors</id>
<value class="list">
<legendColor position="0" name="COL0" hexColor="F0F0F0"/>
<legendColor position="1" name=... |
|
php example |
5 lines
of
PHP
by
alekzonder
|
68 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
echo '123';
$arr[] = 123;
for ($i = 1;$i< 2; $i++) {
print $i;
} |
|
h |
4 lines
of
Python
by
h
|
153 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
from boto.mturk.connection import MTurkConnection
mtc = MTurkConnection(aws_access_key_id=ACCESS_ID,
aws_secret_access_key=SECRET_KEY, host=HOST) |
|
json test |
1 line
of
JSON
|
18 Bytes |
Show |
Edit |
Expand |
|
Test |
1 line
of
SQL
|
68 Bytes |
Show |
Edit |
Expand |
1 |
alter table something add column blah tinyint(1) not null default 0; |
|
test |
1 line
of
Python
|
109 Bytes |
Show |
Edit |
Expand |
1 |
./swaks -s localhost -tls -p 587 -ehlo miki -au miki@sample.sk -ap miki -t lopo@sample.sk -f miki@sample.sk
|
|
CoffeeScript test |
2 lines
of
JavaScript
by
kikan
|
43 Bytes |
Show |
Edit |
Expand |
1
2 |
$.get "url", (data) ->
console.log data |
|
break for test in cycles |
1 line
of
Ruby
by
Zhitko
|
85 Bytes |
Show |
Edit |
Expand |
1 |
break if not ( ((@_y||=0) && (@_y+=1) && (@_y==1)) || @_y<=3 || ((@_y=0)&&(@_y!=0)) ) |
|