Welcome! This page is using CodeRay 1.1.2.

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

Page 53, 10 entries

JSON test 7 lines of JSON 96 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
    "id": 1234,
    "text": "something"
    "array": [
        { "sub": "item" }
    ]
}
c++ test 11 lines of C++ by none 282 Bytes Show Edit Expand
1
2
3
4
5
6
7
// some C++ code
void Game::mainLoop() 
{
    timeSinceLastUpdate += delta;
    while (timeSinceLastUpdate > TimePerFrame) { // using fixed delta
        timeSinceLastUpdate -= TimePerFrame;
...
test 3 lines of YAML 16 Bytes Show Edit Expand
1
2
3
a:
 b: 1
 c: 2
Euler 004 51 lines of JavaScript 1.5 KB Show Edit Expand
1
2
3
4
// A palindromic number reads the same both ways. The largest palindrome made
// from the product of two 2-digit numbers is 9009 = 91 x 99.

// Find the largest palindrome made from the product ...
ss 32 lines of JavaScript 979 Bytes Show Edit Expand
1
2
3
4
5
6
7
var express = require("express");
var path = require("path");
var bodyParser = require("body-parser");
var mongodb = require("mongodb");
var ObjectID = mongodb.ObjectID;

var CONTACTS_COLLECT...
Testing 26 lines of Ruby 860 Bytes Show Edit Expand
1
2
3
4
5
# output as HTML div (using inline CSS styles)
CodeRay.scan('puts "Hello, world!"', :ruby).div

# ...with line numbers
CodeRay.scan("5.times do\n  puts 'Hello, world!'\nend", :ruby).div(:line_n...
a 24 lines of Plain text 662 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
version: '2'
services:
    sensor1:
        image: 'localhost:5000/sensor'
        ports:
            - '3001:3001'
        extra_hosts:
            scaleit: 172.17.0.1
        environment:...
Test 4 lines of JavaScript 95 Bytes Show Edit Expand
1
2
3
4
GET /activity/block HTTP/1.1
iv-user: Galushka-VA
Accept: application/json
Host: localhost
php 19 lines of PHP 551 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
 $arr = [ 
            '0' => 'level1_1', 
            '1' => 'level1_2', 
            '555' => [ 
                '555' => 'level2_0', 
            ], 
            '2' => 'level1_3', 
     ...
Procedure 2 lines of PHP by pb 24 Bytes Show Edit Expand
1
2
#komentarz
VAR='lala'

Page 53, 10 entries