Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 126, 10 entries

bash 4 lines of C by xx 57 Bytes Show Edit Expand
1
2
3
4
if [ -f /tmp/test_racoon.lock ]
then
        exit 0
fi
nant scipt 121 lines of XML by RuWi 6.04 KB Show Edit Expand
1
2
3
<project default="help">
     <property name="solution"                           unless="${property::exists('solution')}"                            value="ProjectX.sln" />    
     <property na...
Multiline comment 20 lines of Java 766 Bytes Show Edit Expand
1
2
3
4
5
6
7
/***
 * methods from the original FragmentActivity
 ***/
Object onRetainCustomNonConfigurationInstance();
Object getLastCustomNonConfigurationInstance();
void supportInvalidateOptionsMenu();
...
puppet 16 lines of Ruby 385 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class vim::params {
  case $operatingsystem {
    /(RedHat|Fedora|CentOS|Scientific)/: {
      $vim_package = 'vim-X11'
      $vimrc = '/etc/vimrc'
    }
    /(Debian|Ubuntu)/: {
      $vim_...
pg sql 10 lines of SQL 254 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
DROP TABLE dbo.TemsItems
GO
CREATE TABLE dbo.TemsItems  ( 
    item_id   varchar(4) NOT NULL,
    item_key  varchar(32) NOT NULL,
    CONSTRAINT item_id_pk PRIMARY KEY(item_id)
)
GO
GRANT SEL...
Capistrano Deploy File 33 lines of Ruby 988 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
set :application, "railscasts.com"
role :app, application
role :web, application
role :db,  application, :primary => true

set :user, "deploy"
set :deploy_to, "/var/www/apps/#{application}"
...
python test 1 line of Python by xxx 9 Bytes Show Edit Expand
1
import os
test 5 lines of C++ 131 Bytes Show Edit Expand
1
2
3
4
5
if (!pForCount)
{
  res = res.Fetch(x => x.Usage);
  //.FetchMany(x => x.FKtabServicesFwFwGroupFwSystemtabServicesFwFwGroup);
}
Hello World 9 lines of Ruby 213 Bytes Show Edit Expand
1
2
3
4
5
6
7
class Comment < ActiveRecord::Base
  auto_html_for :body do
    html_escape
    image
    youtube(:width => 400, :height => 250)
    link :target => "_blank", :rel => "nofollow"
    simple_fo...
Spine 1 line of JavaScript 12 Bytes Show Edit Expand
1
var x = "y";

Page 126, 10 entries