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.
bash test |
35 lines
of
XML
|
1.38 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<?xml version="1.0" encoding="UTF-8"?>
<endpoint>
<endpointName>11030_NNS_PLZ_Netzbetreiber</endpointName>
<typeName>DatabaseQuery</typeName>
<endpointParameters>
<endpoint... |
|
cocos2d-js Sprite test |
103 lines
of
JavaScript
|
2.81 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
'use strict'
var util = require('util')
, path = require('path')
, cocos = require('cocos2d')
, geo = require('geometry')
, nodes = cocos.nodes... |
|
Blah |
8 lines
of
Ruby
|
166 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
def new
@post = Post.new
respond_to do |format|
format.html
format.json { render json: @post }
end
end |
|
Everything is an object |
15 lines
of
HAML
by
der_flo
|
131 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
"hello".capitalize
#=> "Hello"
-123.abs
#=> 123
def cool
puts "Yo"
end
x = 2
x.even?
#=> true
3.even?
#=> false |
|
test |
2 lines
of
C++
|
36 Bytes |
Show |
Edit |
Expand |
1
2 |
var o = new object();
o.DoWork();
|
|
ыфва |
3 lines
of
Plain text
by
ваып
|
33 Bytes |
Show |
Edit |
Expand |
1
2
3 |
апывапыыва
фыафыва
фывафыва ыва |
|
asdf |
1 line
of
HTML
by
asdfasd
|
91 Bytes |
Show |
Edit |
Expand |
1 |
CodeRay.scan("5.times do\n puts 'Hello, world!'\nend", :ruby).div(:line_numbers => :table) |
|
test |
1 line
of
Plain text
|
17 Bytes |
Show |
Edit |
Expand |
|
Example of EXTjs |
439 lines
of
JavaScript
by
Markus
|
13 KB |
Show |
Edit |
Expand |
|
Terminal |
4 lines
of
Ruby
by
wallyqs
|
64 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
puts "Hello!"
html = <<HTML-
<h1>This is some HTML.</h1>
HTML |
|