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.
yaml test |
9 lines
of
YAML
|
111 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
---
test: this is a test
some: |
testing some other stuff
oogah!
honk:
- babar
- likes
- pants
|
|
testing |
5 lines
of
JavaScript
|
137 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
(function(where) {
if (typeof(console) !== 'undefined') {
console.log('Hello ' + where);
}
})('World');
|
|
testing |
23 lines
of
Ruby
|
404 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
def print_array(file, arr)
arr.each do |i|
file.write i
file.write "\t"
end
end
code = ['0','1']
n = 7
file = File.open('text.txt', 'w')
print_array(file, code)
file.write "\n"
(... |
|
temp |
4 lines
of
Ruby
|
78 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
library(ggplot2);
data(tips);
p0 = qplot(total_bill, tip, data = tips);
end |
|
temp |
3 lines
of
Ruby
|
73 Bytes |
Show |
Edit |
Expand |
1
2
3 |
library(ggplot2);
data(tips);
p0 = qplot(total_bill, tip, data = tips); |
|
temp |
3 lines
of
Python
|
73 Bytes |
Show |
Edit |
Expand |
1
2
3 |
library(ggplot2);
data(tips);
p0 = qplot(total_bill, tip, data = tips); |
|
test |
6 lines
of
PHP
|
34 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<?php
echo "hey there";
?> |
|
test |
11 lines
of
Ruby
by
viy
|
634 Bytes |
Show |
Edit |
Expand |
1
2
3 |
domConfig()
supported = @dsh.SetConfig(conf['ch'], conf['fx'], conf['geq'], conf['pan'], conf['aux'],
conf['stage2'], conf['dx2'], conf['input1'], conf['input2'], conf['... |
|
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();
}
|
|