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

test 16 lines of C by test 259 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <string.h>

int main()
{
    int c;
    while((c = getchar()) != EOF){
        if(c == ' '){
            while((c = getchar()) == ' ');
            putchar(' ')...
xmlgtst1 13 lines of XML 1.69 KB Show Edit Expand
1
2
3
4
5
<FrameLayout
  android:id="@+id/invalidateRecordReloadPointerDataCleanScreen"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  gn:act_set="[gn:act_trigger]|[@+id/i...
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

Page 23, 10 entries