Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Cucumber |
24 lines
of
Ruby
by
murphy < cucumber
|
493 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
require 'spec/expectations'
require 'cucumber/formatter/unicode'
$:.unshift(File.dirname(__FILE__) + '/../../lib')
require 'calculator'
Before do
@calc = Calculator.new... |
|
dasdasd |
14 lines
of
PHP
|
616 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
•
•
• if (!function_exists('stripos')) {
•
• if (GESHI_PHP_PRE_... |
|
test |
17 lines
of
C
by
thomas guittonneau
|
572 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
if include in module:
del(self.previousModules[module])
def new(self):
return list( set( sys.modules ).difference(set( self.previousModules )) )... |
|
Actionscript |
14 lines
of
Java
by
Gavin
|
524 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
package com.ipos.utils
{
import asunit.framework.TestCase;
import com.adobe.cairngorm.control.CairngormEventDispatcher;
import com.ipos.events.ChangeChapterEvent;
import com.ipos.events... |
|
I Like Monkey Ruby |
14 lines
of
Ruby
by
Kevin Baker
|
470 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
def parseFeed (url, length)
feed_url = url
output = "";
open(feed_url) do |http|
response = http.read
result = RSS::Parser.parse(response, false)
output = "<sp... |
|
erb |
8 lines
of
ERb
|
146 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<div id="foo">
<h1><a href="http://google.com">
<% Timing.each do |time| %>
<%= time.now %>
<%= time.later %>
<% end %>
</a></h1>
</div> |
|
geil |
88 lines
of
PHP
by
noogz
|
3.13 KB |
Show |
Edit |
Expand |
|
xml |
3 lines
of
XML
|
68 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<ListView toto=5>
<a:something>Something</a:something>
</ListView> |
|
Java hello world |
9 lines
of
C
|
270 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
class HelloWorldApp {
public static void main(String[] args) {
... |
|
SU/Rudy/test |
44 lines
of
Ruby
by
john@drivenupthewall
|
1.08 KB |
Show |
Edit |
Expand |
|