Welcome! This page is using CodeRay 1.1.2.

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

Page 260, 10 entries

test rhtml amd forum template 3 lines of Ruby by moshi 59 Bytes Show Edit Expand
1
2
3
<% foreach elm in @elms do %>
  <%= elm.name %>
<% end %>
sss 5 lines of Ruby 111 Bytes Show Edit Expand
1
2
3
4
5


     authenticate_or_request_with_http_digest do |username, realm|
       USERS[realm][username]
     end
1232 35 lines of Groovy (beta) by 3213 854 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
require 'coderay'
module EntriesHelper
  
  def parse_message(entry)
    message = entry.content
    if entry.code_entry?
      message = syntax_highlight(message)
    elsif !entry.file_entr...
1232 190 lines of CSS by 3213 5.63 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
Already implemented PL/SQL features are :

1. Package Bodies
    1.a PL/SQL example
        CREATE OR REPLACE PACKAGE BODY PKG1
        IS
        ...
        END PKG1;
    1.b Parsed XML e...
1232 35 lines of C by 3213 854 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
require 'coderay'
module EntriesHelper
  
  def parse_message(entry)
    message = entry.content
    if entry.code_entry?
      message = syntax_highlight(message)
    elsif !entry.file_entr...
javascript test 0 lines of JavaScript by $() 0 Bytes Show Edit Expand
1
Trivial C function 3 lines of C 50 Bytes Show Edit Expand
1
2
3
  void test(int a) {
    printf("%d\n",a);
  }
test 3 lines of Ruby 29 Bytes Show Edit Expand
1
2
3
require 'test'

puts 'test'
test 26 lines of C 340 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>


void stack(int i) {
  unsigned int j;
  printf("%3d: %X\n", i, &j);


        asm ("movl %%esp, %0;"
             :"=r"(j)        /* output */
             :         /* inp...
ash 0 lines of Ruby 0 Bytes Show Edit Expand
1

Page 260, 10 entries