Welcome! This page is using CodeRay 1.1.2.
We currently have
3049 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Ruby example |
25 lines
of
Ruby
by
Alexey
|
534 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
module CodeRay
module Encoders
load :token_kind_filter
|
|
test |
4 lines
of
Python
|
93 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
print "Welcome to Python!"
|
|
testing |
22 lines
of
JSON
by
z
|
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",
"... |
|
cucumber |
40 lines
of
Plain text
by
asdf
|
2.08 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<markdown>
@http://www.pivotaltracker.com/story/show/18733537 @candidates
Feature: User views candidates
In order to hire amazing people
As a signed in user
I want to see a list of cand... |
|
cucumber |
49 lines
of
Plain text
by
asdf
|
3.05 KB |
Show |
Edit |
Expand |
1
2
3 |
<markdown>
Here at Hashrocket, we follow a well defined process for all our client projects. The process starts with discovery of business value, goes through wireframing, storycarding, look an... |
|
Sample HTML |
10 lines
of
HTML
|
136 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
<html>
<head>
<title>Title</title>
</head>
<body>
<p class='hyhyh'>
Hisfsfsdfsdf
</p>
</body>
</html> |
|
Test |
6 lines
of
Ruby
by
None
|
81 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
module Test
def self.test
puts "hi"
@test = Test.find(params[:test])
end
end |
|
Test |
37 lines
of
Clojure
by
http://clojuredocs.org
|
1.22 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
user=> (defmacro loop-forever [& body] `(loop [] ~@body (... |
|
comment test |
1 line
of
Ruby
by
Denis Defreyne
|
19 Bytes |
Show |
Edit |
Expand |
|
sql |
7 lines
of
SQL
|
253 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
UPDATE `channels_groups`
SET `group_sort_order` = `group_sort_order` + 1
WHERE group_sort_order > 15
AND group_sort_order < 99
AND group_type = 'SPP';
INSERT INTO `channels_groups`
VALUE... |
|