Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
A diff |
32 lines
of
diff
by
Mischa The Evil
|
1.43 KB |
Show |
Edit |
Expand |
1
2
3
4 |
Index: app/views/issues/index.rhtml
===================================================================
--- app/views/issues/index.rhtml (revision 2170)
+++ app/views/issues/index.rhtml (working... |
|
A RHTML Roadmap View |
50 lines
of
C
by
Mischa The Evil
|
2 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<h2><%=l(:label_roadmap)%></h2>
<% if @versions.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
<div id="roadmap">
<% @versions.each do |version| %>
<%= tag 'a', ... |
|
test |
1 line
of
JavaScript
by
murphy
|
71 Bytes |
Show |
Edit |
Expand |
1 |
function nospam() { document.getElementById('ray_bot').value = 'R'; }
|
|
Test |
1 line
of
C
by
murphy
|
4 Bytes |
Show |
Edit |
Expand |
|
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();
?> |
|