Welcome! This page is using CodeRay 1.1.2.

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

Page 191, 10 entries

SQL test 3 lines of SQL 38 Bytes Show Edit Expand
1
2
3
select *
from foo
where nebo = "far"
test 19 lines of Ruby by steve 264 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'open-uri'

require 'nokogiri'



# Perform a google search

doc = Nokogiri::HTML(open('http://google.com/search?q=tenderlove'))



# Print out each link using a CSS selector

...
test 7 lines of HTML 162 Bytes Show Edit Expand
1
2
3
4
5
6
7
---
layout: main
title: Home Page, Bizznunches
---

<h1 class="color1">Welcome to my site.</h1>
<p>My name is Tomasz 'pewiniak747' PewiƄski blablabla...</p>
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

Page 191, 10 entries