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.
Objective-C test |
6 lines
of
C
by
test
|
142 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
NSNumber *max = nil;
for (NSNumber *number in numbers) {
if (!max || [number compare:max] == NSOrderedDescending) {
max = number;
}
} |
|
Hello |
1 line
of
Delphi
by
murphy
|
6 Bytes |
Show |
Edit |
Expand |
|
test my py |
12 lines
of
Python
|
300 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
import hashlib
class HashRing(object):
def __init__(self, nodes=None, weights=None):
self.ring = dict()
self._sorted_keys = []
self.nodes = nodes
if no... |
|
SQL Test - Coffee |
4 lines
of
SQL
by
CoffeeKid
|
90 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
copy tmp_1303845643
from '/var/www/upload.csv'
using delimiters ';'
with csv HEADER; |
|
Testing JavaScript |
3 lines
of
JavaScript
by
Ryan Bates
|
36 Bytes |
Show |
Edit |
Expand |
1
2
3 |
function() {
var test = "foo";
} |
|
hello world |
8 lines
of
Ruby
|
108 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
puts "hello world"
array.each do |elem|
if elem > 1
puts "foo"
else
puts "bar"
end
end |
|
test |
1 line
of
JSON
by
me
|
475 Bytes |
Show |
Edit |
Expand |
1 |
{ "carousels":[], "mainProduct":{ "originalCount":0, "percentViewed":null, "partNumber":"00946935000P", "vertical":"Wedding Shop", "category":"Auto & Mechanics Tools", "subCategory":"Wrenches",... |
|
ruby space test |
6 lines
of
Ruby
|
83 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
def foo(users)
puts "bar"
[users].each do |user|
user.foo!
end
end
|
|
Bash TEST |
4 lines
of
SQL
by
zetbee@firewall.pl
|
95 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
SELECT *
FROM `wip_docs_versions`
ORDER BY `wip_docs_versions`.`valid_from` ASC
LIMIT 0 , 30 |
|
link |
1 line
of
HTML
by
fff
|
47 Bytes |
Show |
Edit |
Expand |
1 |
<a href=”” lang=”fr” hreflang=”fr”>Francais</a> |
|