Welcome! This page is using CodeRay 1.1.2.
We currently have
3040 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
465 |
11 lines
of
Java
|
157 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
component {
public void function foo() {
WriteOutput("Method foo() called<br>");
}
} |
|
465 |
21 lines
of
Java
|
417 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace UpdateManager.Test.NCUS.UpdateManager
{
[TestFixt... |
|
lololol |
39 lines
of
C++
|
979 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
#include <iostream>
#include <ctime>
using namespace std;
|
|
SQL test |
4 lines
of
SQL
by
Bart
|
419 Bytes |
Show |
Edit |
Expand |
1
2 |
(SELECT effect, koers, datum FROM koers WHERE datum <= '2011-01-19' AND effect = 1 AND deleted = 0 ORDER BY datum DESC LIMIT 1)
UNION (SELECT effect, koers, datum FROM koers WHERE datum <= ... |
|
ã…ã…ã…ã… |
6 lines
of
XML
|
231 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<xs:complexType name="TypeMultiLangStr">
<xs:sequence>
<xs:element name="Default" type="TypeLang"/>
<xs:element name="Value" type="MultiLangStr" maxOccurs="unbounded" />
... |
|
diff |
5 lines
of
diff
|
137 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
--- test1 2011-01-24 12:46:09.000000000 +0000
+++ test2 2011-01-24 12:46:16.000000000 +0000
@@ -1 +1 @@
-ab c de
+abcde
|
|
test |
9 lines
of
XML
by
test
|
205 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<?xml version="1.0"?>
<methodCall>
<methodName>examples.getStateName</methodName>
<params>
<param>
<value><i4>41</i4></value>
</param>
</params>
</met... |
|
test |
5 lines
of
diff
|
44 Bytes |
Show |
Edit |
Expand |
|
test |
14 lines
of
Ruby
|
246 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
class Trinket < ActiveRecord::Base
searchable do
text :name
integer :code
end
end
class Trinket
s... |
|
Hello world |
13 lines
of
PHP
|
214 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
use strict;
use warnings;
print "Hello World!\n";
class Application {
public function hello($msg) {
echo 'Hello, '.$msg;
}
}
$app = new Application();
$app... |
|