Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
hello world |
46 lines
of
Ruby
|
948 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require 'csv'
class A < B; def self.create(object = User) object end end
class Zebra; def inspect; "X#{2 + self.object_id}" end end
module ABC::DEF
include Comparable
... |
|
testing |
166 lines
of
XML
|
6.34 KB |
Show |
Edit |
Expand |
1
2
3
4 |
<?xml version="1.0"?>
<Worksheet test_code="Q142A-12/2010" test_name="Dry Density-Moisture Relationship (Standard Compaction)" version="0.1">
<Test status="calculated" calculation_count="1">
... |
|
testing |
166 lines
of
XML
|
6.34 KB |
Show |
Edit |
Expand |
1
2
3
4 |
<?xml version="1.0"?>
<Worksheet test_code="Q142A-12/2010" test_name="Dry Density-Moisture Relationship (Standard Compaction)" version="0.1">
<Test status="calculated" calculation_count="1">
... |
|
XML |
8 lines
of
XML
by
Fede
|
196 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<pre><code class="xml"><?xml version="1.0" encoding="utf-8"?>
<radflash_command>
<error>
<code>404</code>
<message>Page not found.</message>
</error>
</radflash_command></code>
</pre> |
|
teste |
1184 lines
of
Ruby
|
50 KB |
Show |
Edit |
Expand |
1
2 |
maps_to abstract: "main_page", concrete_widget: "HTMLPage" , params: { id: 'index', title: "Little Monk - Search Fights", include_css: '/stylesheets/airline_mob.css'}do
has "user_agent", "mobile... |
|
ga |
9 lines
of
JavaScript
|
378 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
var _id = YOUR_APP_ID;
(function(){
var hs = document.createElement('script');
hs.type = 'text/javascript';
hs.async = true;
hs.src = ('https:'===docume... |
|
test cpp |
12 lines
of
Ruby
by
icaro
|
139 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
using namespace std;
struct Mio{
int a,b;
};
int main(){
cout<<"Hello world"<<endl;
return 0;
} |
|
test |
13 lines
of
HTML
by
a
|
293 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<html>
<head>
<<<<<<< HEAD
<link type="text/css" rel="stylesheet" media="all" href="style.css" />
=======
>... |
|
YAML object in list |
4 lines
of
YAML
by
Prof. MAAD
|
30 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
- a: 1
b: 2
- a: 1
b: 2 |
|
JSON Sample |
22 lines
of
JSON
by
Anonymous
|
603 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"... |
|