Welcome! This page is using CodeRay 1.1.2.

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

Page 244, 10 entries

test 520 lines of XML 16.6 KB Show Edit Expand
1
2
3
4
5
6
7
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * CodeIgniter
 *
 * An open source application development framework for PHP 4.3.2 or newer
 *
 * @package    Co...
test 3 lines of Ruby 31 Bytes Show Edit Expand
1
2
3
a = ->(foo, bar=1){
  :blah
}
sa 1 line of XML by as 50 Bytes Show Edit Expand
1
<mask id="1" pos="1" type="6">4budowlani.pl</mask>
parsed ping 25 lines of Ruby by ericnils 855 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
#!/usr/bin/ruby1.9.1
beginning = Time.now

#ping -c <number of pings to send> -W <seconds to wait for response>
ping_result = `ping -c 1 -W 1 #{ARGV[0]}`

if $?.success?
#  puts "Ping was su...
some junk code 7 lines of JavaScript 127 Bytes Show Edit Expand
1
2
3
4
5
6
7
function junk(element)
{
  var value = element.value;
  if (value == null || value == "") {
    element.remove();
  }
}
testing 4 lines of CSS by dieter 59 Bytes Show Edit Expand
1
2
3
4
      body {font-size:12px}
      .test {border: 5px 
#ffe}
    
HTML 4.01 Strict 39 lines of HTML by Jianlin 1.19 KB Show Edit Expand
1
2
3
4
5
6
7
8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
   
<html>
    <head>
        <title>HTML 4.01 and CSS Template</title>
        
        <meta h...
Rails 14 lines of Ruby by Jianlin 284 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class CategoriesController < ApplicationController
  # GET /categories
  # GET /categories.xml
  def index
    @categories = Category.all

    respond_to do |format|
      format.html # inde...
test 1 line of Plain text 15 Bytes Show Edit Expand
1
safdsadfasdfsdf
test 39 lines of PHP 823 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
     {
        /* Initialize action controller here */
    }

    public function indexAction()
...

Page 244, 10 entries