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.
trollop |
625 lines
of
Ruby
by
murphy < William Morgan
|
19.7 KB |
Show |
Edit |
Expand |
|
ads |
1 line
of
C++
|
5 Bytes |
Show |
Edit |
Expand |
|
DRF to TXT |
43 lines
of
Python
|
1.23 KB |
Show |
Edit |
Expand |
|
rails code |
3 lines
of
Ruby
by
paddy
|
41 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def index
@title = "Hello world!"
end |
|
Post#show |
20 lines
of
ERb
|
439 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
<div class="post">
<div class="header">
<div class="title">
<%= @post.title %>
</div>
<div class="date">
<%= format_date @post.created_at %>
</div>
<%= cle... |
|
groovy test |
1 line
of
Groovy (beta)
by
e
|
32 Bytes |
Show |
Edit |
Expand |
1 |
[1,2,3,4,5].collect { it + 8 }
|
|
dfgsdfg |
1 line
of
diff
by
ei
|
12 Bytes |
Show |
Edit |
Expand |
|
as3 |
61 lines
of
JavaScript
|
1.75 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
package com.kcc.tempos.parsers {
import mx.resources.ResourceManager;
|
|
as3 |
61 lines
of
Java
|
1.75 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
package com.kcc.tempos.parsers {
import mx.resources.ResourceManager;
|
|
python fibonacci generator |
8 lines
of
Python
|
178 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
def fibonacci():
"""a generator for Fibonacci numbers, goes to next number in series on each call"""
a, b = 0, 1
while True:
yield a
a, b = b, a + b |
|