Welcome! This page is using CodeRay 1.1.2.

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

Page 196, 10 entries

php class test 13 lines of Java 130 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

class MyNewClass{
    public function __construct()
    {
         time();
         return $this;
    }
}



?>
test 2 lines of Plain text 39 Bytes Show Edit Expand
1
2
dev0:/srv/# find coderay
dev0:/srv/#
Hop 10 lines of Ruby 151 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!" 
  end
end
PDF 6 lines of Ruby by Rails 220 Bytes Show Edit Expand
1
2
3
4
5
Mime::Type.register "application/pdf", :pdf

ActionController.add_renderer :pdf do |template, options|
  string = render_to_string template, options
  send_data PdfUtils.string_to_pdf(string), ...
Controller 8 lines of Ruby by Ruby 176 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class InvoicesController < ApplicationController
  respond_to :html, :xml, :json

  def show
    @invoice = Invoice.find(params[:id)
    respond_with(@invoice)
  end
end
controller 4 lines of Ruby by Rails 80 Bytes Show Edit Expand
1
2
3
4
def show
  @invoice = Invoice.find(params[:id)
  respond_with(@invoice)
end
SQL Test 1 line of SQL by greenbean 26 Bytes Show Edit Expand
1
select * from dual limit 1
dsds 8 lines of YAML 191 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
quoteCount: 190034043
quoteCount_ :199472
quoteSetCount: 260731430
quoteSetCount_ : 232007
quoteInQuoteSet: 1455654345
quoteInQuoteSet_ : 1333705
bboCount: 154919752
bboCount_ : 185341
diff of a graphitestorage schema 18 lines of diff 481 Bytes Show Edit Expand
1
2
3
4
5
--- storage-schemas.conf.example  2011-09-29 16:05:01.000000000 +0000
+++ storage-schemas.conf  2011-09-29 19:32:17.488089233 +0000
@@ -5,6 +5,13 @@
 #  pattern = regex
 #  retentions = timePerPo...
maven test 25 lines of XML by m 824 Bytes Show Edit Expand
1
2
3
4
<configSections>
   <sectionGroup name="applicationSettings">
      ...
      <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intellig...

Page 196, 10 entries