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.
XML Test |
5 lines
of
XML
by
Teste
|
108 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<?xml version='1.0' encoding='UTF-8' ?>
<user>
<name>Ruperto</name>
<last>Murdocho</last>
</user> |
|
UnicodeError |
3 lines
of
Python
|
161 Bytes |
Show |
Edit |
Expand |
1
2
3 |
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in rang |
|
nti |
300 lines
of
HTML
|
10.5 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
init,1
[1m [33m `-portmap,1875 [0m
{
:net => [
[0] "*:111 IPv4 UDP ",
[1] "*:111 IPv4 TCP LISTEN... |
|
test |
9 lines
of
C
|
126 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
#include <iosteam>
int main()
{
int a,b;
std::cin >> a >> b;
std::cout << a + b << std::endl;
return 0;
} |
|
Test |
5 lines
of
C
by
Ever
|
66 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
int main()
{
printf("Hello, %s", "world");
return 0;
} |
|
JSON Test |
15 lines
of
JSON
|
310 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
{
"Herausgeber": "Xema",
"Nummer": "1234-5678-9012-3456",
"Deckung": 2e+6,
"Währung": "EURO",
"Inhaber": {
"Name": "Mustermann",
"Vorname": "Max",
"männlich": true,
... |
|
some cpp code |
18 lines
of
Python
|
235 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 |
// function example
using namespace std;
int addition (int a, int b)
{
int r;
r=a+b;
return (r);
}
int main ()
{
int z;
z = addition (5,3);
cout << ... |
|
gg |
19 lines
of
Java
|
613 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
Sheets("Wochenplan").Select
Dim Datum1 As String
Datum1 = Range("B1").Value
Dim Datum2 As Date
Datum2 = DateValue(Datum1)
Dim Dateiname As String
Dateiname = "wo... |
|
kjgf |
11 lines
of
Ruby
by
tudf
|
209 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
def p text = '', color = :reset
puts "Hello, world#{COLORS[color]}#{text}#{COLORS[:reset]}"
end
class MyClass
def initialize(*args)
@args = args... |
|
Bash |
6 lines
of
C
|
625 Bytes |
Show |
Edit |
Expand |
1
2 |
root@smtp1# wget http: |
|