Welcome! This page is using CodeRay 1.1.2.

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

Page 261, 10 entries

trollop 625 lines of Ruby by murphy < William Morgan 19.7 KB Show Edit Expand
1
2
3
4
## lib/trollop.rb -- trollop command-line processing library
## Author::    William Morgan (mailto: wmorgan-trollop@masanjin.net)
## Copyright:: Copyright 2007 William Morgan
## License::   the ...
ads 1 line of C++ 5 Bytes Show Edit Expand
1
adasd
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

Page 261, 10 entries