Welcome! This page is using CodeRay 1.1.2.

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

Page 266, 10 entries

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...
puts "hello world" 1 line of C 18 Bytes Show Edit Expand
1
puts "hello world"
PbdtIWSK 1 line of Ruby by RnqJNXvQSeLAEOUrKB 13 Bytes Show Edit Expand
1
dors2.txt;1;1
Spaaam! 1 line of ERb by Devyn 26 Bytes Show Edit Expand
1
<b>This is spaaaaaaam!</b>

Page 266, 10 entries