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.
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... |
|
test |
41 lines
of
Python
|
1.17 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
PRJ_PATH = /home/avers/work/tst
TB_RTL = $(PRJ_PATH)/verif/verilog/tor_tb
TOP_RTL = $(RTL)/Router_top_v3.2/Router_top_2D.v
RTL = $(PRJ_PATH)/rtl
SC_DIRS = .
RTL_PPC = $(RTL)/ppc
GLBL = /cad/X... |
|
test |
12 lines
of
Plain text
by
11
|
98 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
[ruby]
name=ruby
baseurl=http://repo.premiumhelp.eu/ruby/
gpgcheck=0
enabled=0
|
|
Json test |
22 lines
of
JSON
by
ae
|
603 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"... |
|