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.
Teste |
41 lines
of
HTML
by
Cddsd
|
1.32 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<%--
Document : modal
Created on : Feb 10, 2010, 4:56:31 PM
Author : Inocêncio
--%>
<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib prefix="f" uri=... |
|
test |
4 lines
of
Ruby
by
a
|
109 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
cookies[:user_preference] = {
:value => @current_user.preferences,
:expires => 20.years.from_now.utc
} |
|
test |
63 lines
of
C++
|
2.18 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
namespace SP.Dal.Poll
{
public class Answer : DbObject
{
public override int Save()
{
try
{
bool flag = DbOb... |
|
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 |
|