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.
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 |
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... |
|
Test |
1 line
of
Ruby
by
tets
|
58 Bytes |
Show |
Edit |
Expand |
1 |
curl ${curloptions} --max-time 900 -X DELETE http://test
|
|
sdfsdf |
3 lines
of
C
by
print
|
38 Bytes |
Show |
Edit |
Expand |
1
2
3 |
int main() {
print("hello", 1);
} |
|