Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
xml |
14 lines
of
Ruby
by
me
|
376 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#!/usr/bin/env ruby
APP_ROOT = File.join(File.dirname(__FILE__), '..')
begin
require 'rubigen'
rescue LoadError
require 'rubygems'
require 'rubigen'
end
require 'rubigen/scripts/gen... |
|
Auditable |
7 lines
of
Java
by
Ketan Khairnar
|
158 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
@Documented
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value ={ ElementType.METHOD })
public @interface Auditable
{
String operation();
}
|
|
Test |
8 lines
of
XML
by
Test
|
375 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<PropertyList>
<node-1 type="string">this is a string node</node-1>
<node-2 type="int">9</node-2>
<node-3 type="float">3.14</node-3>
<node-4 ty... |
|
qwweq |
3 lines
of
ERb
|
32 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<div>
<%= qwe.length %>
</div> |
|
test |
10 lines
of
Ruby
|
200 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require 'httparty'
class Facebook
include HTTParty
base_uri 'https://graph.facebook.com/'
format :json
def self.object(id)
get "/#{id}"
... |
|
Test |
8 lines
of
CSS
by
Lunks
|
90 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
class Hello
def self.world ok
puts "ok"
end
end
Hello.world "Hello World!" |
|
Zend_Version |
81 lines
of
PHP
by
ptester
|
2.58 KB |
Show |
Edit |
Expand |
|
Teste Bash |
60 lines
of
diff
by
By Nunes
|
602 Bytes |
Show |
Edit |
Expand |
|
scheme transpose matrix |
4 lines
of
Plain text
by
ãƒãƒ«ãƒŽ
|
74 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
(define (trans x)
(apply map list x))
*no scheme support for meh* :( |
|
Create a Queue |
71 lines
of
SQL
by
AETech
|
2.49 KB |
Show |
Edit |
Expand |
|