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.
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 |
void Game::mainLoop()
{
timeSinceLastUpdate += delta;
while (timeSinceLastUpdate > TimePerFrame) {
timeSinceLastUpdate -= TimePerFrame;
... |
|
test |
3 lines
of
YAML
|
16 Bytes |
Show |
Edit |
Expand |
|
Euler 004 |
51 lines
of
JavaScript
|
1.5 KB |
Show |
Edit |
Expand |
|
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 |
CodeRay.scan('puts "Hello, world!"', :ruby).div
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 |
|