Welcome! This page is using CodeRay 1.1.2.
We currently have
3043 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
v |
1 line
of
Ruby
|
1 Byte |
Show |
Edit |
Expand |
|
xml |
4 lines
of
XML
by
Marcos CĂ´rtes
|
119 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
<jboss-web>
<security-domain flushOnSessionInvalidation="false"/>
<context-root>/abc</context-root>
</jboss-web> |
|
Groovy |
145 lines
of
Groovy (beta)
|
3.49 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
package br.inpe.ocoe.test.scenario
|
|
asdd |
13 lines
of
SQL
by
asd
|
236 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
SELECT patient_id,
AND rownum < 1000
GROUP BY patient_id,
patient_id_issuer,
patient_name,
other_patient_id,
other_patient_name,
english_patient_name,
patient_sex,
patient_... |
|
xpto |
42 lines
of
Ruby
by
xpto
|
1.45 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
my_survey = Survey::Survey.new(:name => "Star Wars Quiz", :attempts_number => 4, :active => true)
question_1 = Survey::Que... |
|
c++ |
3 lines
of
C++
|
109 Bytes |
Show |
Edit |
Expand |
1
2
3 |
QString messageText = tr("Do you really want ");
messageText += mymother.first;
messageText += "?"; |
|
Java Rule |
6 lines
of
Java
|
128 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
rule "My Rule"
when <LHS>
Person(name == "John") <CEs>
then <RHS>
System.out.println("Hi John!"); <Actions>
end |
|
Gosu boilerplate |
17 lines
of
Ruby
|
233 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 |
require 'gosu'
class GameWindow < Gosu::Window
def initialize
super 640, 480, false
self.caption = "Gosu Tutorial Game"
end
def update
end
def draw
end
end
wi... |
|
Diff test |
10 lines
of
diff
by
Jaja
|
198 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
--- a/Gemfile
+++ b/Gemfile
@@ -7,6 +7,7 @@ gem 'rails', '3.2.12'
gem 'pg'
-gem 'coderay'
+gem 'coderay_bash'
gem 'devise'
|
|
Baz |
4 lines
of
Python
by
Boo
|
114 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
Foo:
bud_value = if bud_calc>0 then MIN(bud_calc, max_buyup)*bup_mult else bud_calc*bdn_mult
|
|