Welcome! This page is using CodeRay 1.1.2.

We currently have 3043 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 220, 10 entries

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();
}
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> <!-- integer node -->
  <node-3 type="float">3.14</node-3> <!-- float node -->
  <node-4 ty...

Page 220, 10 entries