Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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 |
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 |
|
test |
5 lines
of
C++
|
131 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
if (!pForCount)
{
res = res.Fetch(x => x.Usage);
} |
|
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 |
|
teste |
4 lines
of
C
|
27 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
public class Wagner
{
} |
|