Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
C |
7 lines
of
C++
|
140 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
struct PartStruct
{
uint8_t active;
float weight;
float x,y;
...
}; |
|
a |
88 lines
of
XML
by
a
|
2.6 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<Response xmlns="http://www.jnctn.net/ns/rest/2006-01">
<Context>
<Action>
<IsCompleted>true</IsCompleted>
</Action>
<Request>
<DateTime>2018-03-06T21:15:29+00:00</D... |
|
arduibo |
12 lines
of
C++
by
xxx
|
369 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
int led = 13;
void setup() {
pinMode(led, OUTPUT); |
|
P |
51 lines
of
Python
|
1.17 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
from pylab import *
import math
degree = 0
xrange = 0
rangemax = 0
maxpoint = 0
'''numeral values used in question #2'''
height = 75
freefallacc = 9.8
velo... |
|
Modern JavaScript test |
10 lines
of
JavaScript
by
Rodrigo
|
180 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
export default class MyClass {
static a = 1;
myMethod = () => {
const userId = 1;
doSomething();
}
render() {
return <MyComponent demo={true} />;
}
} |
|
hola |
3 lines
of
Java
|
17 Bytes |
Show |
Edit |
Expand |
|
face melted |
1 line
of
SQL
|
53 Bytes |
Show |
Edit |
Expand |
1 |
select all from my_face where melt between ed and ing |
|
asdasdsad |
4 lines
of
Plain text
by
asdasdsad
|
345 Bytes |
Show |
Edit |
Expand |
1
2 |
Code highlighting
Code highlighting relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports C, C++, CSS, Delphi, Diff, Groovy, HTML, Java, Javasc... |
|
Butt generation |
17 lines
of
JavaScript
by
nabijaczleweli
|
341 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
"use strict";
import { ValidationSchema } from "express-validator/check";
export const requestSchema: ValidationSchema = {
customerName: {
... |
|
Butt generation |
16 lines
of
C++
by
nabijaczleweli
|
667 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
sf::Image img;
img.create(181 * 2, 181 * 2);
const auto img_s = img.getSize();
const auto center = img_s / 2u;
for(auto abs_y = 0u; abs_y < img_s.y; ++abs_y)
for(auto abs_x = 0u; abs_x < im... |
|