Welcome! This page is using CodeRay 1.1.2.
We currently have
3040 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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",
"... |
|
sss |
12 lines
of
Java
|
162 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
...
SomeClass result = null;
...
try {
...
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
...
return result; |
|
w00t! |
23 lines
of
Ruby
by
Сашка
|
512 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
class Cairo::Context
def block(row, col, blocksize=8)
rectangle blocksize * col + blocksize, blocksize * row + blocksize, blocksize, blocksize
end
end
class QRCairo
def draw
... |
|
no idea |
4 lines
of
CSS
|
180 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
== Welcome to Rails
Rails is a web-application framework that includes everything needed to create
database-backed web applications according to the Model-View-Control pattern. |
|
atest |
48 lines
of
C
|
1.69 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
using System;
using System.Linq;
using BusinessLayer;
public partial class _Default : BasePage {
protected void Page_Load( object sender, EventArgs e ) {
carTabPage.TabPosition = (Dev... |
|