Welcome! This page is using CodeRay 1.1.2.

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

Page 165, 10 entries

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");
}
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'
test1 34 lines of JavaScript 879 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
Customerio.Router = Ember.Router.extend({
  location: 'history',
  enableLogging: false,

  root: Ember.Route.extend({
    app: Ember.Route.extend({
      route: '/',

      connectOutlets:...
using coderay with redcarpet for Ruby on Rails 21 lines of Ruby by Jason 605 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
module ApplicationHelper
  class MarkdownRenderer < Redcarpet::Render::HTML
    def block_code(code, language)
      CodeRay.highlight(code, language)
    end
  end
  
  def markdown(text)
...

Page 165, 10 entries