Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
13 lines
of
ERb
by
jc
|
387 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<% @pages.each do |page| %>
<tr>
<td><%= page.name %></td>
<td><%= page.content %></td>
<td><%= page.stock %></td>
<td><%= page.quantity %></td>
<td><%= link_to 'Show', ... |
|
sameera |
3 lines
of
Ruby
|
43 Bytes |
Show |
Edit |
Expand |
1
2
3 |
class TestClass
attr_accessor :name
end |
|
my gemgile |
11 lines
of
Ruby
by
Naveed
|
230 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
source 'https://rubygems.org'
gem 'rails', '3.2.5'
gem 'devise'
gem "twitter-bootstrap-rails"
gem "s... |
|
Delphi Test |
37 lines
of
Delphi
|
661 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14 |
unit NoInspectorDescriptionPane;
interface
procedure Register;
implementation
uses
Forms, Classes, Controls, Dialogs;
function FindObjectInspector: TComponent;
var
I: Integer;... |
|
dewdew |
2 lines
of
Ruby
by
dasdas
|
113 Bytes |
Show |
Edit |
Expand |
1
2 |
save failed for 1 or more records
> com.servoy.j2db.dataprocessing.DataException: Column 'IdDoc' cannot be null |
|
xml test |
7 lines
of
XML
|
99 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<some>
<tag>
<here attr="true"/>
<text>Some text</text>
<xxx/>
</tag>
</some> |
|
Perl as PHP |
15 lines
of
JSON
by
Marco De Lellis
|
433 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
{
"created_at": "2009-06-09T17:49:20+10:00",
"email": "steveATsct.com.au@blocks.dev",
"enabled": true,
"first_name": "Steve",
"id": 2,
"last_lo... |
|
C# Test |
20 lines
of
C++
by
Ryan Sullivan
|
641 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodenamePotential;
namespace Kayotic_Labs
{
public class Options : Plugin
{
/... |
|
aaa |
2 lines
of
SQL
|
140 Bytes |
Show |
Edit |
Expand |
1
2 |
insert into GLOBALTYPE (IDTYPEARTTABLE, GLOBALTYPENAME, GLOBALTYPEDESCR, IDTYPE, COLUMNNAME)
2 values (1429, 'aaa', 'aaaaaa', 3, 'IDTYPE'); |
|
c++ test |
64 lines
of
C++
|
1.27 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
#include <iostream>
#include <algorithm>
using namespace std;
class xlong {
public:
int p[100], h;
xlong() {
h = 1;
p[0] = 0;
}
|
|