Welcome! This page is using CodeRay 1.1.2.
We currently have
3067 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| vb.net |
5 lines
of
C++
|
160 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
Public ReadOnly Property info() As BindingList(Of BackupJob)
Get
Return _info
End Get
End Property
|
|
| test |
12 lines
of
Ruby
by
shea
|
205 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
class User < ActiveRecord::Base
has_many :posts
has_many :sessions
validates_presence_of :openid_identifier
def full_name
"#{self.first_name} #{self.last_name}"
end
... |
|
| gdfg |
2 lines
of
Plain text
|
28 Bytes |
Show |
Edit |
Expand |
1
2 |
> cd kalsdhl
> mkdir <vcy<x |
|
| Symbol statt Operator |
1 line
of
Ruby
by
bovi
|
36 Bytes |
Show |
Edit |
Expand |
1 |
n=->k{k==0?'':n[k-1]+'{'+n[k-1]+'}'} |
|
| js test |
6 lines
of
ERb
by
me
|
396 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
var appId = "YOUR_APP_ID";
var final_url = "http://dominio.com.ar/proxy?q=";
var redirect_url = "http://www.facebook.com/pages/nombrepage?sk=app_YOUR_APP_ID";
var scope ... |
|
| sql test |
1 line
of
SQL
by
k
|
43 Bytes |
Show |
Edit |
Expand |
1 |
select t.name from user where activated = 1 |
|
| Scala test |
1 line
of
SQL
by
Nouhoum
|
29 Bytes |
Show |
Edit |
Expand |
1 |
class Person(val name:String) |
|
| java short example |
4 lines
of
Java
|
87 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
public static void main(String []args){
String message="Testing CodeRay is cool";
} |
|
| python test |
363 lines
of
Python
|
13.5 KB |
Show |
Edit |
Expand |
|
|
| ruby sample |
32 lines
of
Ruby
|
993 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
require 'rubygems'
require 'em-http'
def subscribe(opts)
listener = EventMachine::HttpRequest.new('http://cm1.subg.ru/listen?cid='+ opts[:channel]).get :head => opts[:head]
listener.callb... |
|