Welcome! This page is using CodeRay 1.1.2.

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

Page 260, 10 entries

DRF to TXT 43 lines of Python 1.23 KB Show Edit Expand
1
2
3
4
5
6
7
#-------------------------------------------------------------------------------
# Name:        drf2txt
# Purpose:     Decodes a Control-M DRF file to text
#
#
# Created:     16/03/2008
# Lic...
rails code 3 lines of Ruby by paddy 41 Bytes Show Edit Expand
1
2
3
def index
  @title = "Hello world!"
end
Post#show 20 lines of ERb 439 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
<div class="post">
  <div class="header">
    <div class="title">
      <%= @post.title %>
    </div>
    <div class="date">
      <%= format_date @post.created_at %>
    </div>
    <%= cle...
groovy test 1 line of Groovy (beta) by e 32 Bytes Show Edit Expand
1
[1,2,3,4,5].collect { it + 8 }
dfgsdfg 1 line of diff by ei 12 Bytes Show Edit Expand
1
123324ewfsdf
as3 61 lines of JavaScript 1.75 KB Show Edit Expand
1
2
3
4
5
6
package com.kcc.tempos.parsers {
  import mx.resources.ResourceManager;

  /**
   * Error de la query view data.
   * Este muchacho sabe ademas como parsear la informacion extra que arroja el QVD ...
as3 61 lines of Java 1.75 KB Show Edit Expand
1
2
3
4
5
6
package com.kcc.tempos.parsers {
  import mx.resources.ResourceManager;

  /**
   * Error de la query view data.
   * Este muchacho sabe ademas como parsear la informacion extra que arroja el QVD ...
python fibonacci generator 8 lines of Python 178 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
def fibonacci():
   """a generator for Fibonacci numbers, goes to next number in series on each call"""

   a, b = 0, 1

   while True:
      yield a
      a, b = b, a + b
pl/sql test 25 lines of SQL by aaa 247 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DECLARE

    a NUMBER;

    b NUMBER;

BEGIN

    SELECT e,f INTO a,b FROM T1 WHERE e>1;

    IF b=1 THEN

        INSERT INTO T1 VALUES(b,a);

    ELSE

        INSERT INTO T1 VALU...
as 54 lines of PHP 2.09 KB Show Edit Expand
1
2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head...

Page 260, 10 entries