Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test 1991 |
3 lines
of
Ruby
by
globi
|
49 Bytes |
Show |
Edit |
Expand |
1
2
3 |
(1..10).map do |n|
puts("!!! #{n} hallo")
end |
|
123 |
0 lines
of
PHP
by
123
|
0 Bytes |
Show |
Edit |
Expand |
|
test |
12 lines
of
Ruby
by
-
|
460 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
class ApplicationController < ActionCont... |
|
pa |
6 lines
of
JavaScript
|
197 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
_showError : function(sErrorMessage){
if(typeof(sErrorMessage) != "string"){
sErrorMessage = sErrorMessage.error;
}
alert(OpenLayers.Lang.translate("error:")+"\n"+sErrorMessage);
}, |
|
SQL |
5 lines
of
SQL
by
MSH
|
312 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
SELECT
COALESCE((SELECT SUM(bedragiv) FROM gbk_2007 WHERE (rekening LIKE '6%' AND rekening NOT LIKE '69%') AND codedc = 'D'), 0)
-
COALESCE((SELECT SUM(bed... |
|
coderay |
1 line
of
C++
|
14 Bytes |
Show |
Edit |
Expand |
|
test |
8 lines
of
Ruby
by
Kevin
|
159 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
def index
@posts = Post.all
respond_to do |format|
format.html
format.xml { render :xml => @posts }
end
end |
|
tteee |
20 lines
of
Ruby
by
rrr
|
571 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
def stopProgram()
ap "stopping"
if !@file.nil? and !File.stat(@file).directory? and @debuggerpid > 0 then
@lastdebuggerresults.clear
Process.kill("INT", @debuggerpid)
@input_pipe... |
|
c++ |
41 lines
of
C++
by
ss
|
1.31 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
CSupportAmmunition *v_pAmmo = NULL;
CPacket::TStringVector* v_ammoVector = NULL;
std::map<int, CSupportAmmunition*>::iterator iter;
int v_nAuthQua = 0;
char *v_nAmmoName;
char v_cTmp... |
|
æ’入排åºç®— |
17 lines
of
PHP
|
350 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
def insert_sort(data)
j = 1
while j < data.size
key = data[j]
i = j-1
while i >= 0 and data[i] > key
data[i+1] = data[i] ... |
|