Welcome! This page is using CodeRay 1.1.2.
We currently have
3041 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Some ruby methods and comments |
34 lines
of
Ruby
by
SG
|
1.11 KB |
Show |
Edit |
Expand |
|
SQL |
74 lines
of
SQL
by
ff
|
2.79 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
CREATE OR REPLACE FUNCTION COMPARE_DATE(p_idSociete in VARCHAR2, dateTrait in DATE, dateComp in DATE)
RETURN number
IS
|
|
test script |
6 lines
of
PHP
|
179 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
if [ "$?" != "0" ]; then
echo === Starting VM: ${vm_fqdn} \(MAY TAKE 10-15 MINUTES\)
xe vm-start uuid=${vm_uuid}
else
echo === VM exists: ${vm_fqdn} ${vm_ip}
fi
|
|
Stack Error |
9 lines
of
Ruby
|
41 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
def a
b
end
def b
a
end
p a |
|
blabla |
27 lines
of
SQL
by
test
|
1.03 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
CREATE TABLE IF NOT EXISTS `cdas`.`saved_search` (
`search_id` BIGINT NOT NULL AUTO_INCREMENT ,
`channel_id` BIGINT NOT NULL ,
`product_id` BIGINT NOT NULL ,
`search_term` VARCHAR(255)... |
|
yi |
1 line
of
Plain text
|
27 Bytes |
Show |
Edit |
Expand |
1 |
This is a test. <html width |
|
asd |
1 line
of
C
|
21 Bytes |
Show |
Edit |
Expand |
|
zxczxc |
7 lines
of
Ruby
|
144 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
!
module Hola
puts %{mundo}
end
!
<h1><%=link_to life, @earth%></h1> |
|
zxczxc |
7 lines
of
Ruby
|
144 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
!
module Hola
puts %{mundo}
end
!
<h1><%=link_to life, @earth%></h1> |
|
difftest |
9 lines
of
Java
|
167 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
@@ -1,4 +1,5 @@
-This is line one.
+This is line 1.
This is line two.
This is line three.
+This is line 4.
for (int i =0 ; i< 10 ;i++){
System.out.print("");
} |
|