Welcome! This page is using CodeRay 1.1.1.

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

Page 264, 10 entries

test-- erase me 0 lines of Ruby 0 Bytes Show Edit Expand
1
Ruby 3 lines of Ruby by pillar 22 Bytes Show Edit Expand
1
2
3
def pts
puts "a"
end
Function in test 12 lines of Delphi by Daniel A. Bastos 223 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
function Checkhighlighting(str : string) : boolean;
var
  ct : integer;

begin
  for ct := 0 to Length(str) to
    if str[ct] = 'a' then
    begin
      //ShowMessage('Amostrar teste');
  ...
index method 7 lines of Ruby by LOO 165 Bytes Show Edit Expand
1
2
3
4
5
6
7
  def index
    @posts = Post.published
    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @posts }
    end
  end
shell1 16 lines of Ruby by bartocc 464 Bytes Show Edit Expand
1
2
3
4
5
6
7
function scm_info {
  (local GIT=$(__git_ps1) && [[ -n $GIT ]]  && echo "$GIT") || (local SVN=$(svn_rev) && [[ -n $SVN ]] && echo "$SVN")
}

function setPrompt {
  RED=$(tput setaf 1)
  GREEN...
Test 8 lines of Ruby by test 262 Bytes Show Edit Expand
1
2
3
4
5
6
  def population
    @cities = City.find(:all)
    @population_data_link = formatted_population_reports_url(:xml)
    respond_to do |format|
      format.html
      format.xml  { render :actio...
ActionController layout 0 lines of ERb 0 Bytes Show Edit Expand
1
ActionController layout 3 lines of Ruby 82 Bytes Show Edit Expand
1
2
3
// The header part of this layout
<%= yield %>
// The footer part of this layout
test long line 3 lines of Ruby by flyerhzm 46 Bytes Show Edit Expand
1
2
3
def test
  puts "there is no long text."
end
here 26 lines of Ruby 639 Bytes Show Edit Expand
1
2
3
4
5
6
7
class User < ActiveRecord::Base
  has_one :profile 
  has_and_belongs_to_many :channels, 
  :join_table => "channel_subscriptions"
  has_many :clips_owner,
  :class_name => "Clip",
  :foreign...

Page 264, 10 entries