Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 123, 10 entries

Terminal 18 lines of Plain text by http://devcenter.heroku.com/articles/git 454 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
$ rails myapp
      create  
      create  app/controllers
      create  app/helpers
      create  app/models
...

$ cd myapp
$ git init
Initialized empty Git repository in .git/
$ git ad...
test 28 lines of HTML 1.12 KB Show Edit Expand
1
2
3
4
5
  <div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>

  <script type='text/javascript'>
  // this line hides visibility of keyword stuffed text
  document.getElementById('sam...
test 28 lines of JavaScript 1.12 KB Show Edit Expand
1
2
3
4
5
  <div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>

  <script type='text/javascript'>
  // this line hides visibility of keyword stuffed text
  document.getElementById('sam...
test 28 lines of HTML 1.12 KB Show Edit Expand
1
2
3
4
5
  <div id='sam' class="sam" style="color:black;"><div id='sam'></div></div>

  <script type='text/javascript'>
  // this line hides visibility of keyword stuffed text
  document.getElementById('sam...
new_test 4 lines of Ruby 56 Bytes Show Edit Expand
1
2
3
4
def(test)
#  a = Array.new
  puts "Hello, world!"
end
Ruby on Rails 9 lines of HTML 225 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
def show
  @post = Post.find_by_id(params[:id])
end

<%= stylesheet_link_tag 'blog', 'coderay' %>  

<%= title @article.title %>  
<p class="author">from <%= @article.author %></p>  
<%= co...
test 1 line of Ruby 479 Bytes Show Edit Expand
1
{:schedule=>[{:route=>"Новый Уренгой", :status=>"Прилетел", :flight_number=>"813", :plane=>"ТУ-134", :comment=>"", :aircarrier=>"ЮК", :schedule_time=>Thu Jun 30 13:44:38 0600 2011, :actual_time=>Th...
Testimoduuli 18 lines of PHP by Sebastian 339 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
class Module{
  __construct(){
  }
  //näyttää moduulin tarjoamien valintojen kentät varauslomakkeessa
  displayFields(){
  }
  //käsittelee varauslomakkeesta saadun tiedon
  parseFields(){
...
json 3 lines of JSON by json 31 Bytes Show Edit Expand
1
2
3
user: {
id: <Identifier>,
}
Instrospection 4 lines of Ruby by elpic 24 Bytes Show Edit Expand
1
2
3
4
public 

def draw
end

Page 123, 10 entries