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.

Page 107, 10 entries

cc 27 lines of Ruby by cc 1.23 KB Show Edit Expand
1
2
3
4
5
Feature: Login feature

  Scenario: As a invalid user if I forgot to enter my username, application warns me about it
    When I press "Signin"
    Then I wait for "Please enter your Username" ...
Test Json 22 lines of JSON by blah 603 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
read all text of given file 5 lines of Ruby 52 Bytes Show Edit Expand
1
2
3
4
5
module 
  def dothis
    puts "test"
  end
end
Some Python function 67 lines of Python 2.86 KB Show Edit Expand
1
2
3
4
5
def plot_field(field, levels=16, fill=True, antialiased=False, comp=None, factor=1.0, **kwargs):
    '''Plot scalar real fields as two-dimensional color map'''
    #TODO documentation

    data...
test 179 lines of YAML 5.4 KB Show Edit Expand
1
2
3
# Instructions for this configuration file can be found at the BukkitDev page:
# http://dev.bukkit.org/server-mods/casino-slots/pages/info/config/
# If you change the config-version, the defaults...
snippet 7 lines of ERb 174 Bytes Show Edit Expand
1
2
3
4
5
6
7
<% content_for :on_ready do %>
    jQuery('#vtn_table').infiniteScroll({
      url: '/virtual_lines/9.json?ajax=1'
    });
  <% end %>

  <table id="vtn_table"></table>
Ruby Test 8 lines of Ruby by Tester 297 Bytes Show Edit Expand
1
2
3
4
# create a custom renderer that allows highlighting of code blocks
class HTMLwithPygments < Redcarpet::Render::HTML
  def block_code(code, language)
    Pygments.highlight(code, :lexer => langua...
test 8 lines of HTML by test 80 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<html>
  <head>
    <title></title>
  </head>
  <body>

  </body>
</html>
CSS Media Queries 27 lines of CSS by Matt 466 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
@media only screen and (min-width: 561px) {
  .centered {
    width: 531px;
  }
}
@media only screen and (min-width: 743px) {
  .centered {
    width: 713px;
  }
}
@media only screen and ...
ssss 9 lines of PHP 131 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
[mysql_pbx]
enabled => yes
dsn => cc_mysql_local
pre-connect => yes

[pg_hr]
enabled => yes
dsn => cc_hr
pre-connect => yes

Page 107, 10 entries