Welcome! This page is using CodeRay 1.1.2.

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

Page 101, 10 entries

ruby 21 lines of Ruby by Me 283 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
class SnippetsController < ApplicationController

  before_action :authenticate_user!, except: :index

  def index
    @snippets = Snippet.all.limit(10)
  end

  def show
    @snippet = Sn...
test.c 9 lines of C 342 Bytes Show Edit Expand
1
#include <stdio.h>                                                                                                                                                                                   ...
test .c file 9 lines of C 342 Bytes Show Edit Expand
1
#include <stdio.h>                                                                                                                                                                                   ...
Incomplete 1 line of Ruby 12 Bytes Show Edit Expand
1
function abc
json test 38 lines of JSON by fmosdo 630 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
[{"id": "530670ca74756c10e6160000",
    "nome": "Séries",
    "tipo": "CardPrograma",
    "linhas": 1,
    "posicao": 1,
    "tipo_item": "programa",
    "itens": [
      {
        "id": 78...
agent fixtures 9 lines of YAML 158 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
bond:
  first_name: James
  last_name: Bond
  email: jamesbond007@mi6.gov.uk

bourne:
  first_name: Jason
  last_name: Bourne
  email: jbourne@cia.gov
fabricator 116 lines of Delphi 3.22 KB Show Edit Expand
1
2
3
4
5
6
7
{
@author(Richard B. Winston <rbwinst@usgs.gov>)

The main purpose of @name is to define GetHelpControl which is used to find
a control that has help for a control.

Contributions to this uni...
fabricator 5 lines of Ruby 142 Bytes Show Edit Expand
1
2
3
4
5
Fabricator :agent do
  first_name  { Faker::Name.first_name }
  last_name  { Faker::Name.last_name }
  email { Faker::Internet.email }
end
rspec by think200.com 7 lines of Ruby by Robb Shecter 114 Bytes Show Edit Expand
1
2
3
4
5
6
7
class Greeter
  def initialize(name = "World")
    @name = name
  end
  def say_hi
    puts "Hello, #{@name}!"
  end
test45 3 lines of Plain text 20 Bytes Show Edit Expand
1
2
3
> 34
> sdf
> > 231

Page 101, 10 entries