Welcome! This page is using CodeRay 1.1.2.

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

Page 120, 10 entries

test 12 lines of Ruby 408 Bytes Show Edit Expand
1
2
3
4
5
class AdvisorCompany < Company
  include AdvisorCompany::AdvisorAffiliations
  include AdvisorCompany::AdvisorDowngrade
  include AdvisorCompany::AdvisorBranding
  include AdvisorCompany::Advis...
rails 4 live streaming redis pubsub 24 lines of Ruby 591 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
require 'reloader/sse'

class BrowserController < ApplicationController
  include ActionController::Live

  def index
    # SSE expects the `text/event-stream` content type
    response.head...
testing 34 lines of Plain text 1.48 KB Show Edit Expand
1
2
3
cloning the repo at /var/www/hpusher/releases/20121105163337/projects/tweli/327_read_more_policy/86. git_url is git@github.com:bigbinary/tweli.git. project_name is tweli

git clone git@github.com...
objective-c test 13 lines of C by stackoverflow 262 Bytes Show Edit Expand
1
2
3
4
5
6
7
#import "MyObject.h"

@implementation MyObject

- (NSString *) testMethod: (NSNumber *) theNumber withInt: (NSInteger) theInteger {
  if( [theNumber integerValue] == theInteger) {
    return ...
feskol 9 lines of C by ciuvv 123 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
#include <stdio.h>

enum rakamlar {f0,f1,f2=-1} rakam;

int main()
{
  printf("%d %d %d\n",f0,f1,f2);
  return 0;
}
c# 5 lines of C++ 114 Bytes Show Edit Expand
1
2
3
4
5
class Test {
    public static Main(string[] args) {
        System.Console.WriteLine("hello world!");
    }
}
haml 11 lines of HAML 172 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
!!!
%html
  %head
    %title Hello, Haml!
  %body
    #header
      %h1 Hello, Haml!
    #content
      %p
        I use Haml
        %span.version= Haml::VERSION
slim 32 lines of HAML by slimer 709 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
doctype html
html
  head
    title Slim Examples
    meta name="keywords" content="template language"
    meta name="author" content=author
    javascript:
      alert('Slim supports embedde...
wnr 6 lines of Ruby 105 Bytes Show Edit Expand
1
2
3
4
5
6
class SpecSheet < Test
  def initialize(source, css)
    @source = source
    @css = css
  end
end
test 1 line of SQL by ht 51 Bytes Show Edit Expand
1
sudo apt-get install linux-headers-$(uname -r) dkms

Page 120, 10 entries