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.
test command |
1 line
of
diff
|
23 Bytes |
Show |
Edit |
Expand |
|
test command |
2 lines
of
diff
by
testor
|
54 Bytes |
Show |
Edit |
Expand |
|
karma |
18 lines
of
Ruby
by
xt99
|
450 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
life = Life.new
you = Creature.new
begin
you.born
you.life_days.each do
you.good_karma.decrease if life.apply_pleasure?(you) or you.true_yogi?
you.bad_karma.decrease if life.a... |
|
sql test |
16 lines
of
SQL
by
Tihonovich A.Y.
|
529 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
DECLARE @i INT,@page varchar(25),@coll varchar(50)
SET @i = 1
WHILE (@i <= @count_add)
BEGIN
set @page= cast(@i as varchar(10))+'стр. клиентов: ';
set @coll=(select COUNT(acc) from |
|
php multibyte |
10 lines
of
Plain text
by
phpfuck
|
138 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
<pre>
<code class="php">
#parflow.c @line 165:
//IDB_FreeDB(amps_ThreadLocal(input_database));
FreeGlobals();
</code>
</pre> |
|
Monitor power |
16 lines
of
Delphi
|
334 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
Program Project1;
{$APPTYPE CONSOLE}
Uses
SysUtils, Windows, Messages;
Const
SC_MONITORPOWER = $F170;
Begin
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2)... |
|
compare two tables |
19 lines
of
SQL
|
485 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
(
select 'IN T1, NOT T2', column_name, data_type, data_length
from user_tab_columns
where table_name = 'T1'
MINUS
select 'IN T1, NOT T2', column_name, data_type, data_length
from user_ta... |
|
tal |
4 lines
of
C
by
yo
|
43 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
main(argc, argv)
{
printf("Hello");
} |
|
CSS |
1 line
of
CSS
by
Bjorn
|
31 Bytes |
Show |
Edit |
Expand |
1 |
.text {border:1px solid black;} |
|
Ruby code test |
1 line
of
Ruby
by
Harshad
|
38 Bytes |
Show |
Edit |
Expand |
1 |
puts 'hello world'; puts 'hello world' |
|