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.

Page 285, 10 entries

My Test 3 lines of Plain text 39 Bytes Show Edit Expand
1
2
3
#!/bin/bash

sudo gem install coderay
test 21 lines of YAML 2.86 KB Show Edit Expand
1
2
3

hu:                                                                                                                                                   
  date:                                    ...
s 8 lines of Plain text 1.23 KB Show Edit Expand
1
2
#!/bin/bash                                                                                                                                                                  
                      ...
ruby menu 12 lines of Ruby by casen 386 Bytes Show Edit Expand
1
2
3
4
5
6
module ApplicationHelper 
  def nav_links
    items = []
    items << {:name =>'Home', :url => root_url}
    items << {:name =>'Login', :url => login_path}
    items << {:name =>'Register', :u...
Another Java 7 lines of Java 259 Bytes Show Edit Expand
1
2
3
4
5
public static void doSomething(String arg) {
    int idx = 1;
    String[] cases = new String[] {"uppercase","lowercase"};
    StringBuffer sb = new StringBuffer("Here it is: ");
    sb.append(...
Test 4 lines of Ruby 73 Bytes Show Edit Expand
1
2
3
4
  def new
    @user_id = @current_user.id
    @event = Event.new
  end
Testing Ruby Syntax 13 lines of Ruby 314 Bytes Show Edit Expand
1
2
3
4
5
6
7
module CommentsHelper
  def format_comment(content)
    simple_format(keep_spaces_at_beginning(h(content)))
  end
  
  def keep_spaces_at_beginning(content)
    content.split("\n").map do |li...
YAML TEST 3 lines of YAML 41 Bytes Show Edit Expand
1
2
3
test:
  test2:
   test3:          test4
Quick Syntax highlighting test 10 lines of Ruby by Deaner666 96 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
def index

  inc = 0

  for post in @posts do
    inc += 1
    post.id = inc
  end

end
XML TEST 11 lines of ERb by TZA 499 Bytes Show Edit Expand
1
2
3
4
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
  <ns2:verifyRequest xmlns:ns2="http://project4.pl/cc/ws" ncd="false" txid="task-108592" checkLimit="true"
    ...

Page 285, 10 entries