Welcome! This page is using CodeRay 1.1.2.
We currently have
3049 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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",
"... |
|
pdfkit sample |
2 lines
of
SQL
by
pdfkit sample
|
112 Bytes |
Show |
Edit |
Expand |
1
2 |
SELECT * FROM db_eva_amadeus.communication_history where com_type like "ticketing"
ORDER BY id desc LIMIT 100; |
|
dup |
7 lines
of
Ruby
|
151 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
a = Object.new
def a.foo; :foo end
p a.foo
b = a.dup
p b.foo
|
|
For loop |
2 lines
of
Python
|
40 Bytes |
Show |
Edit |
Expand |
1
2 |
for centre in centres:
run_report()
|
|
matlab |
23 lines
of
diff
|
1.01 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
dirX = Orientation((OrientEdge*2)-1+sensX , 2);
dirY = Orientation((OrientEdge*2)-1+sensY , 1);
|
|
nginx |
66 lines
of
Plain text
|
1.6 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
For cur in cols
Begin
Case cur.rstype
When 0 then
If (cduration%5=0)then
Select * into nxt from pgm_chann_plasy where id=cur.nextid;
Case nxt.rstype
When 0 then
<见伪代码二... |
|
foo |
22 lines
of
HTML
|
658 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<html>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7696481-1']);
_gaq.push(['_trackPageview']);
(func... |
|