Welcome! This page is using CodeRay 1.1.2.

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

Page 270, 10 entries

Sass generated stylesheet 7 lines of CSS by rw 125 Bytes Show Edit Expand
1
2
3
4
5
6
7
#main p {
  color: #00ff00;
  width: 97%; }
  #main p .redbox {
    background-color: #ff0000;
    color: #000000; }

objective-c test 7 lines of C by raydar 209 Bytes Show Edit Expand
1
2
3
4
5
6
- (void)drawRect:(NSRect)rect {
    NSRect bounds = [self bounds];
  NSImage *_image = [self image];
  [super drawRect:rect];
  
  [_image compositeToPoint:(bounds.origin) operation:NSCompositeSou...
Some Java 111 lines of Java by Dusty Pearce 3.19 KB Show Edit Expand
1
2
3
4
5
6
7
package com.wfinance.portal.business;

import java.util.HashMap;

import com.wfinance.portal.common.utils.ListUtilities;
import com.wfinance.portal.common.utils.SQLUtilities;
import com.wfina...
ResponseBuilder 297 lines of Groovy (beta) by raistlin77 8.26 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
package de.intex.xml;

import groovy.xml.MarkupBuilder;
import it.sauronsoftware.base64.Base64;

/**
 * XML-Builder Class für den XML-Server der EEi.
 *
 * <li>TODO: getBLOB/putBLOB bei Ma...
Response Parser 185 lines of Groovy (beta) by raistlin77 6.59 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
package de.intex.xml;

import it.sauronsoftware.base64.Base64

public class ResponseParser {

  private String lastResponse = "";
  private String lastError = null;
  static private PROPERT...
Some Groovy code 7 lines of Groovy (beta) by murphy < groovy.codehaus.org/Collections 178 Bytes Show Edit Expand
1
2
3
4
5
6
7
def player = new Expando()
player.name = "Dierk"
player.greeting = { "Hello, my name is $name" }

println player.greeting()
player.name = "Jochen"
println player.greeting()
a 366 lines of JavaScript 13.8 KB Show Edit Expand
1
2
3
4
5
// Copyright (C) 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a c...
a 41 lines of Ruby 939 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
require'socket'

$t=TCPSocket.new('irc.freenode.net',6667)
$x=[]

Dir['*'].each do |f|
  File.readlines(f).each{|l|
if l =~ /^(\[[^\]]+\]|\d\d:\d\d:\d\d) <[^>]+> (.+)$/
$x << $2.gsub(/^([^ ...
A diff 32 lines of diff by Mischa The Evil 1.43 KB Show Edit Expand
1
2
3
4
Index: app/views/issues/index.rhtml
===================================================================
--- app/views/issues/index.rhtml  (revision 2170)
+++ app/views/issues/index.rhtml  (working...
A RHTML Roadmap View 50 lines of C by Mischa The Evil 2 KB Show Edit Expand
1
2
3
4
5
6
7
8
<h2><%=l(:label_roadmap)%></h2>

<% if @versions.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
<div id="roadmap">
<% @versions.each do |version| %>   
    <%= tag 'a', ...

Page 270, 10 entries