Welcome! This page is using CodeRay 1.1.1.

We currently have 2651 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 123, 10 entries

test 4 lines of Ruby by hammackj 278 Bytes Show Edit Expand
1
2
      puts isbn.to_i
      book = Book.new :isbn10 => isbn10, :isbn13 => isbn13, :title => title, :author => author, :price => price, :pages => pages, :publisher => publisher,  :pubdate => pubdate...
hello 9 lines of Clojure by xhh 291 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
(ns best-practices.views.welcome
  (:require [best-practices.views.common :as common])
  (:use [noir.core :only [defpage]]))

(defpage "/" []
         (common/layout
           [:h1 "欢迎!"]
 ...
test command 1 line of diff 23 Bytes Show Edit Expand
1
sh run.sh | sh runs.sh 
test command 2 lines of diff by testor 54 Bytes Show Edit Expand
1
2
>sh run.sh    sh runs.sh 
<sh run1.sh    sh run2.sh  
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 #TEM...
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");
}

Page 123, 10 entries