Welcome! This page is using CodeRay 1.1.2.

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

Page 276, 10 entries

xml 3 lines of XML 68 Bytes Show Edit Expand
1
2
3
<ListView toto=5>
<a:something>Something</a:something>
</ListView>
Java hello world 9 lines of C 270 Bytes Show Edit Expand
1
2
3
4
5
6
7
  /** 
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
   ...
SU/Rudy/test 44 lines of Ruby by john@drivenupthewall 1.08 KB Show Edit Expand
1
2
3
4
5
#
#  _PDF_Viewer.rb

#  seems to only work with adobe pdf format, but that's what safari saves pdfs to, so if it won't open, re-save from safari
#  seems to open most image files at full size s...
/etc/hosts.allow 5 lines of Plain text by akhamutov 144 Bytes Show Edit Expand
1
2
3
4
5
ALL : localhost 127.0.0.1/32 [::1]/128 : allow
ALL : PARANOID : deny
ALL : locallhost 127.0.0.1/32 : allow
ALL : [::1]/128 : allow
sshd: ALL
Just some ruby 18 lines of Ruby by nunya 226 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class Whatever < SomeOtherClass
  attr_accessor :my_ivar
  
  def meth_name
    5.times do |i|
      puts "this was time #{i}"
    end

    3.times {puts "whatever"}
  end

private

  ...
Hello, CodeRay 7 lines of C++ 120 Bytes Show Edit Expand
1
2
3
4
5
6
7
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  printf("Hello, CodeRay!\n");
  return EXIT_SUCCESS;
}
python 52 lines of Python by inet 1.39 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# compile.py
import sys
import getopt

from compiler import compileFile, visitor

import profile

def main():
    VERBOSE = 0
    DISPLAY = 0
    PROFILE = 0
    CONTINUE = 0
    opts,...
Invalid JSON highlighted as JavaScript 6 lines of JavaScript by murphy 73 Bytes Show Edit Expand
1
2
3
4
5
6
{
  key: "value",
  // comment
  /* comment */
  "key": undefined,
}
Invalid JSON (5 errors) 7 lines of JSON by murphy 99 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  key: 'value',
  // comment
  /* comment */
  "key": undefined,
  @{{embedded<WALRUS>}}@
}
Some Objective-C 2.0 49 lines of C by Daniel Thorpe 2.37 KB Show Edit Expand
1
2
3
4
/**
    Returns the persistent store coordinator for the application.  This 
    implementation will create and return a coordinator, having added the 
    store for the application to it.  (The...

Page 276, 10 entries