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.
HTML |
7 lines
of
Groovy (beta)
|
162 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<section class=”container”>
<h1><%= post.title %></h1>
<h2><%= post.subtitle %></h2>
<div class=”content”>
<%= post.content %>
</div>
</section> |
|
CPP |
20 lines
of
C++
|
494 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
#include <cstdio>
using namespace std;
int main()
{
printf("result: %d\n", 5);
return 0;
}
|
|
ruby test special string |
9 lines
of
Ruby
by
Olli
|
249 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
def protected!
unless authorized?
response['WWW-Authenticate'] = %(Basic realm="Restricted Area => your IP is (#{request.ip})")
throw(:halt, [401, "Not authorized\n"])
end... |
|
sql |
20 lines
of
diff
|
981 Bytes |
Show |
Edit |
Expand |
|
tsewt |
3 lines
of
Ruby
by
<p> TEST </p>
|
32 Bytes |
Show |
Edit |
Expand |
1
2
3 |
1.upto 10 do |k|
print k
end |
|
JSON |
61 lines
of
JSON
|
1.59 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{
"identifier": [
"Thesis (PhD--Electrical and Electronic Engineering)--University of Auckland, 2001."
],
"archive_title": [
"auck-uni-libraries-oai"
],
"category": [
... |
|
HTML |
1 line
of
HTML
by
Asher
|
27 Bytes |
Show |
Edit |
Expand |
1 |
<div><p>One. Two.</p></div> |
|
helloword.cpp |
10 lines
of
C++
by
PhyrexianNFM
|
176 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#include "stdafx.h"
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::endl;
std::cout << "Hello world!" << std::endl;
return 0;
} |
|
sas |
2 lines
of
Java
|
108 Bytes |
Show |
Edit |
Expand |
1
2 |
String parsedTimestampRTC; |
|
asdf |
4 lines
of
Ruby
|
66 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
............
Finished in 1.9 seconds
12 examples, 0 failures
|
|