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.
Ruby block test |
3 lines
of
C
|
54 Bytes |
Show |
Edit |
Expand |
1
2
3 |
(1..10).to_a.inject do |memo, n|
memo += n * 2
end |
|
testing |
16 lines
of
C
|
335 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
switch(get_bloginfo('name')) {
case 'Blog da Redação':
$parametros['oas_sitepage'].= 'blogdaredacao';
break;
case... |
|
tets |
1 line
of
Python
|
16 Bytes |
Show |
Edit |
Expand |
|
ak |
19 lines
of
C++
by
ak
|
192 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 |
#include <iostream>
using namespace std;
#ifndef TA_INC
#define TA_INC
#include "ak4b.h"
class TB;
class TA
{
public:
int a;
TB *b;
void print();
};
#endif
|
|
Eii |
1 line
of
Ruby
|
18 Bytes |
Show |
Edit |
Expand |
|
Eii |
1 line
of
C
|
18 Bytes |
Show |
Edit |
Expand |
|
strings |
1 line
of
Ruby
by
Quintus
|
31 Bytes |
Show |
Edit |
Expand |
1 |
str = "ABC#{"DE#{"OPQ"}FG"}HIJ" |
|
test |
1 line
of
Java
|
32 Bytes |
Show |
Edit |
Expand |
1 |
System.out.println("A = " + a ); |
|
numbers |
1 line
of
Plain text
by
Quintus
|
40 Bytes |
Show |
Edit |
Expand |
1 |
[yumingzhe@ShadowMan ~]$ mysql -uroot -p |
|
before filter |
1 line
of
Ruby
by
ujn
|
62 Bytes |
Show |
Edit |
Expand |
1 |
before_filter :load_zomg, only => [:index, :show, :new, :edit] |
|