Welcome! This page is using CodeRay 1.1.2.

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

Page 255, 10 entries

JSF Baby 25 lines of XML 1.02 KB Show Edit Expand
1
2
3
4
5
6
7
<ui:define name="content">
         <h:form id="userSelectForm" styleClass="tissform inputForm">

            <h3><h:outputText value="#{amsg.loginText}"/></h3>

                <ul>
        ...
test 5 lines of Ruby 159 Bytes Show Edit Expand
1
2
3
4
5
def test_should_generate_permalink
  post = Post.new(:title => "title with åäö")
  post.valid?
  assert_equal "title-with-aao", post.permalink
end
Simple function 11 lines of JavaScript by Hfaua 127 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
function foo ($a, $b)
 {
 if ($a == $b)
  {
         echo "Koza!";
 }
 else
     {
         echo "Pies!";
     }
 }
CSS multiple a:hover 18 lines of CSS by Chris 291 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
nav {
color: #424242;
margin-left: auto ;
margin-right: auto ;
padding:20px;
width:84em;
}

nav a {
color: #A7FA31;
font-size: 1.75em;
font-weight: bold;
text-decoration: none;
text-tr...
networkx + ogr 33 lines of Python by bwreilly 1.29 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
import osgeo.ogr as ogr
import networkx

class Network(networkx.DiGraph):
    """Basic utility network object   
    """

    def load(self, path):
        """Load a shapefile into the netw...
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
1
2
3
<TEST>

</TEST>
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...

Page 255, 10 entries