Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Invalid JSON (5 errors) |
7 lines
of
JSON
by
murphy
|
99 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
{
key: 'value',
// comment
/* comment */
"key": undefined,
@{{embedded<WALRUS>}}@
} |
|
Some Objective-C 2.0 |
49 lines
of
C
by
Daniel Thorpe
|
2.37 KB |
Show |
Edit |
Expand |
|
From carrot |
9 lines
of
Python
|
444 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
from carrot.connection import BrokerConnection
conn = BrokerConnection(hostname="localhost", port=5672,
userid="django", password="django",
virtua... |
|
Random DTD and XML Test |
26 lines
of
XML
by
Not a sodding bot!
|
699 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<!DOCTYPE TVSCHEDULE [
<!ELEMENT TVSCHEDULE (CHANNEL+)>
<!ELEMENT CHANNEL (BANNER, DAY+)>
<!ELEMENT BANNER (#PCDATA)>
<!ELEMENT DAY ((DATE, HOLIDAY) | (DATE, PROGRAMSLOT+))+>
<!ELEMENT HOLI... |
|
JavaScript in HTML |
8 lines
of
JavaScript
by
troex
|
182 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<script type="text/javascript" charset="utf-8">
$().ready({
$('#my-div').elfinder({
url : 'connectors/php/connector.php',
lang : 'ru'
})
})
</script>
|
|
Test |
5 lines
of
C++
by
a
|
44 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
class Test
def he
@he = "hehehe"
end
end |
|
c# test |
10 lines
of
C++
by
CrazyMenConnected
|
266 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
protected override void Page_Load(object sender, EventArgs e)
{
this.dataTableCaption = "Editor de serviços";
this.tableName = "CFG_SERVICES";
this.moduleID = ... |
|
json |
59 lines
of
JSON
|
1.07 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
{"resource" : {
"name" : "nazwa",
"description" : "opis",
"availabilities" : [
{
"date_from" : "d/m/Y",
"date_to" : "d/m/Y",
"Day1From" : "H:i",
"Day1To" : "H:i",
"Day2... |
|
Dummy SQL |
1 line
of
SQL
|
44 Bytes |
Show |
Edit |
Expand |
|
Python test |
5 lines
of
Python
|
125 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
class MyClass() :
@Decorator
def myFunction(self, *args, **kwargs) :
print "wewt"
return args[0] |
|