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 254, 10 entries

database.yml 17 lines of YAML by Andrea Salicetti 370 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
development:        
  adapter: oracle_enhanced
  database: SIASVIL
  username: asal_gd_development
  password: asal_gd_development

test:
  adapter: oracle_enhanced
  database: SIASVIL
  use...
database.yml 17 lines of Ruby by Andrea Salicetti 370 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
development:        
  adapter: oracle_enhanced
  database: SIASVIL
  username: asal_gd_development
  password: asal_gd_development

test:
  adapter: oracle_enhanced
  database: SIASVIL
  use...
ajax_controller.rb 4 lines of Ruby 93 Bytes Show Edit Expand
1
2
3
4
# this is a test method
def test_method_name
  @value = "#{params[:value]} to string!"
end
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>

Page 254, 10 entries