Welcome! This page is using CodeRay 1.1.1.

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

Page 264, 10 entries

err 3 lines of Plain text 23 Bytes Show Edit Expand
1
2
3
<?php
phpinfo();
?>
127 UVA online judge 544 lines of C 9.93 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
/* ANSI C */
#include <stdio.h>

typedef struct __stack {
  int buf[52][2];
  int p;
} stack;

void push(stack* s, int c, int v) {
  s->p++;
  s->buf[s->p][0] = c;
  s->buf[s->p][1] = v;...
testing 23 lines of Ruby by Ping 858 Bytes Show Edit Expand
1
2
3
4
5
ActiveRecord::Schema.define(:version => 11) do

  create_table "addresses", :force => true do |t|
    t.integer  "addressable_id",                                                :null => false
...
index.c 70 lines of XML by Dave 1.9 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
#include "index.h"
#include "similarity.h"
#include "helper.h"
#include "array.h"
#include "priorityqueue.h"
#include <string.h>
#include <limits.h>
#include <ctype.h>

#define GET_LOCK(lo...
cromossoma.cpp 24 lines of C 543 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
bool cromossoma::verifica_amigos(int i)
{
  alelo* temp;


  for(int j=0;(unsigned)j<alelos[i].get_prefs_amigos().size();j++)
  {
    temp = &(encontra_alelo_por_numero(alelos[i].
      get_prefs_a...
Test 10 lines of Ruby by Heinz 151 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!" 
  end
end
gnome patch 166 lines of C by Luiz Vitor Martinez Cardoso 5.75 KB Show Edit Expand
1
2
3
diff -Naur metacity-2.18.2/src/effects.c metacity-2.18.2.new/src/effects.c
--- metacity-2.18.2/src/effects.c  2007-04-08 15:46:17.000000000 -0300
+++ metacity-2.18.2.new/src/effects.c  2007-06-30 1...
dbus notification 10 lines of SQL by sql 320 Bytes Show Edit Expand
1
2
3
4
5
6
SELECT mm.id, mm.thread_id, mm.author_id, mm.creationDate, ui.created, mm.content
FROM uxs_idxies ui
 JOIN mexging_mexage mm ON ui.user_id=mm.author_id
WHERE 1=1
 AND ui.identity_type=2
 AND m...
aaaaaa 1 line of HAML 31 Bytes Show Edit Expand
1
=some_function "arg", :sym, 123
coderay 7 lines of Ruby by coderay 227 Bytes Show Edit Expand
1
2
3
4
5
6
7
require 'rubygems'
require 'coderay'
tokens = CodeRay.scan <<-'CODE', :ruby
  puts %[Hello, world!]
  puts "Here\'s some #@@weird #{ { :code => "for you" } }"
CODE
print tokens.div(:line_numb...

Page 264, 10 entries