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.
HTML test |
16 lines
of
HTML
by
czaber
|
271 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
<table>
<tbody>
<tr>
</tr>
<tr class="even">
</tr>
<tr>
</tr>
<tr cl... |
|
plsql |
12 lines
of
SQL
|
197 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
declare
cursor cur is
(select contractid from contract where rownum=1);
r_serviceid contract.contractid%type;
begin
open cur;
loop
fetch cur into r_serviceid;
end loop;
close cur;
end; |
|
asdasd |
3 lines
of
Java
by
asdasd
|
176 Bytes |
Show |
Edit |
Expand |
1
2
3 |
string url = "http://localhost:8731/Design_Time_Addresses/Bobsled/OH";
ServicePoint mySP = ServicePointManager.FindServicePoint(new Uri(url));
mySP.UseNagleAlgorithm = false; |
|
test diff |
24 lines
of
diff
|
717 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -7,6 +7,20 @@
<meta name="keywords" content="issue,bug,tracker" />
<%= stylesheet_link_... |
|
Hueta |
14 lines
of
PHP
|
271 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<?php
class MyDestructableClass {
function __construct() {
print "In constructor\n";
$this->name = "MyDestructableClass";
}
function __destruct() {
print "Destroyin... |
|
asdasd |
170 lines
of
Groovy (beta)
by
asdasd
|
5.31 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require 'rack/utils'
require 'nokogiri'
module Rack
class Codehighlighter
include Rack::Utils
# for logging use
FORMAT = %{%s - [%s] [%s] "%s %s%s %s" (%s) %d %d %0.4f\n}
... |
|
testing |
9 lines
of
C++
by
hrnt
|
166 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
template <typename T> struct X {
template <typename S> bool operator<(S const &) { return true; }
};
int main() {
X<void> x;
x.operator< <int>(3);
}
|
|
qwe |
13 lines
of
PHP
|
201 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
class Foo_Manager extends App_Model_Manager {
protected $_tableName = 'Foo';
... |
|
projects |
49 lines
of
YAML
|
1.26 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
---
en:
projects:
defaults: &defaults
insert_new: "New project"
show_link: "Show project"
edit_link: "Edit project"
back_link: "Projects list" |
|
asdasd |
134 lines
of
Java
|
3.84 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
class Complex
{
public double re, im;
... |
|