Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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;
... |
|
css |
16 lines
of
CSS
|
230 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
body {
margin: 10px 0;}
#main {
border: 1px solid red;
color: green;}
#main p {
color: purple;}
#main p a {
text-decoration: none;}
#something-else {
fon... |
|
test |
37 lines
of
PHP
by
huylo
|
1.08 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
function init () {
global $REMOTE_ADDR, $site_own, $eng, $DEBUG, $HTTP_X_FORWARDED_FOR, $HTTP_COOKIE_VARS ;
$this->id = null ;
$this->data = null ;
$this->stamp = null ;
$this->erro... |
|
SQL test |
0 lines
of
SQL
|
0 Bytes |
Show |
Edit |
Expand |
|