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.
Java method |
10 lines
of
Java
by
bv boboism
|
185 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
class ATest {
public static void main(String[] args) {
int opt = 12;
final String SOMETXT ="test";
System.out.println("MAYDAY!!!");
}
abstract protected abstractMethod(){}
} |
|
test |
1 line
of
JSON
|
13 Bytes |
Show |
Edit |
Expand |
|
exploit-exercises |
29 lines
of
C
|
460 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <stdio.h>
void winner()
{
printf("that wasn't too bad now, was it? @ %d\n", time(NULL));
}
... |
|
1st post |
48 lines
of
Delphi
by
artem.larin
|
1.36 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
var
MainForm: TMainForm;
implementation
{$R *.dfm}
function TzSpecificLocalTimeToSystemTime(lpTimeZoneInformation: PTimeZoneInformation;
var lpLocalTime, lpUniversalTime: TSystemTim... |
|
Simple Test |
1 line
of
Ruby
by
damien
|
353 Bytes |
Show |
Edit |
Expand |
1 |
{:body=>{"addressesSet"=>[{"publicIp"=>"54.232.81.50", "domain"=>"standard", "instanceId"=>"i-f0744fec"}], "requestId"=>"479fbb6e-428b-422c-99ae-e9caeced8ff6"}, :headers=>{"Content-Type"=>"text/xml... |
|
x |
11 lines
of
C
|
448 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
HANDLE CreateRemoteThread(
HANDLE hProcess,
LPSECURITY_ATTRIBUTES lpThreadAttributes,
DWORD dwStack... |
|
testc |
15 lines
of
C
by
KinmenHackerFromTaiwan
|
318 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
#include <stdlib.h>
#include <stdio.h>
#define N 10000
void main(int argc, char *argv){
int i, j, a[N];
for(i = 2; i < N; i++) a[i] = 1;
for(i = 2; i < N; i++)
if(a[i])
... |
|
phpinfo |
1 line
of
PHP
|
10 Bytes |
Show |
Edit |
Expand |
|
String#[] |
26 lines
of
Ruby
|
718 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
a = "hello there"
a[1]
a[2, 3]
a[2..3]
a[-3, 2]
a[7..-2]
a[-4..-2... |
|
55 |
1 line
of
Python
|
18 Bytes |
Show |
Edit |
Expand |
|