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.
| Test | 6 lines
of
XML | 63 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6 | <TEST>
 <DATA V="t" />
 <DATA>
  <TEST />
 </DATA>
</TEST> | 
 | 
| gjfghjgj | 3 lines
of
XML | 17 Bytes | Show | Edit | Expand | 
|  | 
| Bacula stuff | 12 lines
of
HTML | 174 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6
7
8
9
10
11
12 | Client {
       Name = XXX 
       Address = 13.0.0.1
       Catalog = MySQL
}
Job {
  Name = XXX
  Client = XXX
  JobDefs = DefaultJob
  FileSet = XXXFileSet
}
 | 
 | 
| Ruby on Rails Model | 19 lines
of
Ruby
by
Padde | 749 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4 | class Group < ActiveRecord::Base
  has_many :memberships, :dependent => :destroy
  has_many :people, :through => :memberships
  accepts_nested_attributes_for :memberships, :allow_destroy => true... | 
 | 
| diff | 33 lines
of
diff | 1.19 KB | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6
7 | --- git.rb  2010-07-16 17:56:36.000000000 -0300
+++ xpto.rb  2010-07-16 17:55:55.000000000 -0300
@@ -11,23 +11,22 @@
 
 branch = {}
 
-branch[:mirror_cvs]         = "#{repositorios_git_path}/de... | 
 | 
| Ruby is sexy | 1 line
of
Ruby | 31 Bytes | Show | Edit | Expand | 
| 
  | 1 | 5.times { puts "Ruby is sexy" } | 
 | 
| Neftemer getDataNoEx function | 17 lines
of
Java | 604 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6 |     public <T> T getDataNoEx(String key) {
        T ret = null;
        try {
            ret = (T) this.getData(key, metainfo.get(key));
            return ret;
        } catch (UnknownObjec... | 
 | 
| flv2mp3 | 64 lines
of
C
by
Oliver Heins | 2.35 KB | Show | Edit | Expand | 
| 
  | 1
2
3
4
5
6
7
8 | #!/bin/bash
#
# flv2mp3.sh -- converts flv and mp4 to mp3.
#
# Copyright (c) 2010 Oliver Heins <heins@sopos.org>
# 
# Permission is hereby granted, free of charge, to any person
# obtaining ... | 
 | 
| C# Class | 14 lines
of
Java | 566 Bytes | Show | Edit | Expand | 
| 
  | 1
2
3
4 |     public static class StringUtil
    {
        private static readonly Regex HtmlTag = new Regex("</?.+?>", RegexOptions.Compiled);
        public static string StripHtml(this string inputStri... | 
 | 
| test | 1 line
of
Plain text | 104 Bytes | Show | Edit | Expand | 
| 
  | 1 | This installation of RMagick was configured with ImageMagick 6.5.4 but ImageMagick 6.5.8-10 is in use.
 | 
 |