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 124, 10 entries

testss 9 lines of Java 290 Bytes Show Edit Expand
1
2
3
4
5
HttpURLConnection conn = post(GCM_SEND_ENDPOINT, requestBody);
    int status = conn.getResponseCode();
    if (status == 503) {
      logger.fine("GCM service is unavailable");
      return nu...
test 115 lines of JSON 5.31 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "version": "1.5.2.5",
    "refreshPeriod": 5,
    "buildNumber": "201304102300",
    "webresources": [
        {
            "1.5.2": [
                {
                    "globalte...
test 1 line of Ruby 5 Bytes Show Edit Expand
1
#test
asdasd 27 lines of Ruby by asdasd 375 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class PostsController < ApplicationController

  def index
    @posts = Post.all
  end

  def new
  end

  def create
    @post = Post.new(post_params)
    
    @post.save
    redirect...
A part of vb.net code 62 lines of Delphi by gapsdv 1.64 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<Serializable()> _
Public Class Test
    Implements ITest


    Public Property kommaZahl() As Double Implements ITest.kommaZahl
        Get
            Return 1.2
        End Get
        ...
ansible yaml 36 lines of YAML by M 1.22 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
---
- hosts: all
  tasks:
  - name: ensure nginx is installed
    action: apt pkg=nginx state=present
  - name: ensure nginx is running
    action: service name=nginx state=started

- hosts...
Ember.js snippet 11 lines of JavaScript by rydog 228 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
require('ember-metal/enumerable');

var guideFor = Ember.guidFor;

var copy = function(obj) {
    var output = {};

    for (var prop in obj) {
        if(obj.hasOwnProperty(prop)) { output...
test 40 lines of Ruby 797 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
class Sathia 
 
  def full_name
    "Sathianarayanan Sundaram" # String
  end
  
  def working_in type=:current
    experience = { current: 'Hoppr', past: 'Cloudmint'} # Hash
    experience...
test 2 lines of PHP 20 Bytes Show Edit Expand
1
2
select *
from games
testing bash 2 lines of Plain text 35 Bytes Show Edit Expand
1
2
# test comment
yum install coderay

Page 124, 10 entries