Welcome! This page is using CodeRay 1.1.2.

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

Page 265, 10 entries

Test 1 line of C by murphy 4 Bytes Show Edit Expand
1
test
Related Posts 7 lines of Ruby 243 Bytes Show Edit Expand
1
2
3
4
def find_Related_Posts(post)
     results = Set.new
     post.tag_list.each do |tag|
       results << Post.find_tagged_with(tag).select {|p| !(p.eql?(post)) }.collect {|p| link_to(p.title, p)}....
Delphi Test 3 lines of Delphi by test 64 Bytes Show Edit Expand
1
2
3
{$IFDEF DISP_VERSION_AND_DATABASE}
ReadSVNRevision;
{$ENDIF}
mega 5 lines of Ruby by mega 36 Bytes Show Edit Expand
1
2
3
4
5
<div>
<?php
echo "xy";
?>
</div>
Same as home page 7 lines of Ruby by Me 227 Bytes Show Edit Expand
1
2
3
4
5
6
7
require 'rubygems'
require 'coderay'
tokens = CodeRay.scan <<-'CODE', :ruby
  puts %[Hello, world!]
  puts "Here\'s some #@@weird #{ { :code => "for you" } }"
CODE
print tokens.div(:line_numb...
gunnar 4 lines of Ruby by andreas 263 Bytes Show Edit Expand
1
2
3
4
<%= link_to(image_tag("se_video.jpg", :border => 1), @post.video_url) %><br /><br />
14:   <% end %>
15:   
16: <div id=post_content><li><%=  syntax_highlight_and_markdown(@post.content) %><%= cod...
phpinfo 3 lines of C 21 Bytes Show Edit Expand
1
2
3
<?php
phpinfo();
?>
Test 4 lines of C by Rich 42 Bytes Show Edit Expand
1
2
3
4
function help() {
  $('#me').show();

}
asdfsdf 29 lines of JavaScript 1.01 KB Show Edit Expand
1
2
3
4
5
6
7
describe Textilizer do
  def textilize(text)
    Textilizer.new(text).to_html
  end
  
  it "should do basic textile" do
    textilize("hello *world*").should == "<p>hello <strong>world</stro...
Sample Snippet 8 lines of ERb by Nick 580 Bytes Show Edit Expand
1
2
3
4
<div id="review-item-%item_id%" class="review-item">
  <h3><a href="%item_link%">%item_title</a></h3>
  <div id="review-item-content-%item_id%" class="review-item-content">%item_review%</div>
  <di...

Page 265, 10 entries