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.
javascript |
10 lines
of
JavaScript
|
223 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<script type="text/javascript">
</script>
<script type="text/javascript">
try{
logevent('{php echo getGPC("gKey","string","R");}','{php echo $sig_user}','user.visit',document.referrer,0);
}... |
|
Delphi |
9 lines
of
Delphi
by
Jeff
|
138 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
type
TDigit = set of '0'..'9';
var
digits : TDigit;
begin
digits := ['0'..'9'];
if key in digits then someting;
end;
|
|
Console |
1 line
of
Ruby
|
30 Bytes |
Show |
Edit |
Expand |
1 |
ruby script/console production |
|
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 |
|