Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| xml?? | 
7 lines
of
XML
 | 
179 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5
6
7  | 
  
<note>
    <to>Tove</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <body>Don't forget me this weekend!</body>
</note> | 
  
 
 | 
| chef-mysql-example | 
28 lines
of
Python
 | 
516 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5
6
7
8
9
10
11
12
13
14
15  | 
  
include_recipe 'mysql::server'
include_recipe 'database::mysql'
mysql_connection_info = {:host => "localhost",
                     ... | 
  
 
 | 
| test  | 
1 line
of
Ruby
 | 
37 Bytes | 
Show | 
Edit | 
Expand | 
  1  | 
  set :application, "capistrano_test"
  | 
  
 
 | 
| test | 
1 line
of
C++
 | 
49 Bytes | 
Show | 
Edit | 
Expand | 
  1  | 
  CodeRay.scan('puts "Hello, world!"', :ruby).div
 | 
  
 
 | 
| test | 
1 line
of
C
 | 
49 Bytes | 
Show | 
Edit | 
Expand | 
  1  | 
  CodeRay.scan('puts "Hello, world!"', :ruby).div
 | 
  
 
 | 
| test | 
2 lines
of
ERb
 | 
25 Bytes | 
Show | 
Edit | 
Expand | 
  1
2  | 
  <%= lol 2 %>
<p>wut </p>  | 
  
 
 | 
| as3 | 
44 lines
of
JavaScript
 | 
1018 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5
6
7  | 
  package org.axgl.util {
  import flash.external.ExternalInterface;
  public class AxLogger {
    public static const DEBUG:String = "debug";
    public static const LOG:String = "log";
    public st... | 
  
 
 | 
| widget | 
10 lines
of
JavaScript
by
noname
 | 
466 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5  | 
  
<script charset='utf-8' type='text/javascript'>
  var feedback_widget_options = {};
  feedback_widget_options.display = "overlay";  
  feedback_widget_options.company = "iloveba... | 
  
 
 | 
| test python | 
6 lines
of
Python
 | 
124 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5
6  | 
  def test(args):
    print args
class Classy(object):
    def __init__(self):
        self.__dict__ = Classy.__borg__
 | 
  
 
 | 
| CoffeeScript | 
34 lines
of
Ruby
by
Ade
 | 
957 Bytes | 
Show | 
Edit | 
Expand | 
  1
2
3
4
5
6
7  | 
  class SubFilters extends Filters
  constructor: () ->
    @container = "#container"
    @list = ".blog .filters li"
    @links = ".blog .filters li a"
    @css = "selected"
    @main_filters ... | 
  
 
 |