Welcome! This page is using CodeRay 1.1.2.

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

Page 305, 10 entries

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...
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);
}
code 1438 2 lines of HTML by xxxx 18 Bytes Show Edit Expand
1
2
hllo there
<1> hi

Page 305, 10 entries