Welcome! This page is using CodeRay 1.1.2.
We currently have
3065 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Test |
3 lines
of
Ruby
by
Robin
|
35 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def lolcake
puts "AWESOME"
end |
|
epic |
10 lines
of
Ruby
by
DanielZ
|
216 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
require 'blogr'
require 'rails'
module Blogr
class Engine < Rails::Engine
initializer "static assets" do |app|
app.middleware.use ::ActionDispatch::Static, "#{root}/public"
... |
|
foobar |
1 line
of
Ruby
|
28 Bytes |
Show |
Edit |
Expand |
1 |
myRassh = { :this => "foo" } |
|
php test |
8 lines
of
PHP
|
226 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
static $has_one = array(
"Sidebar" => "WidgetArea",
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("Sideb... |
|
111 |
14 lines
of
XML
|
439 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<repositories>
<repository>
<id>nexus</id>
<name>local private nexus</name>
<url>http://192.168.0.201:8081/nexus/content/groups/public</url>
</repository>
</repos... |
|
teste |
1 line
of
JavaScript
by
dr.lupa@gmail.com
|
46 Bytes |
Show |
Edit |
Expand |
1 |
$ git clone git@gitserver:/opt/git/project.git |
|
SQL test |
8 lines
of
SQL
|
302 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
UPDATE PgBuildings SET PgBuildings.IdOrganization = 43
WHERE PgBuildings.IdOrganization in (39, 40, 42, 90);
UPDATE PgUsers SET PgUsers.IdOrganization = 43
WHERE PgUsers.IdOrganization in (39... |
|
mine |
6 lines
of
diff
|
103 Bytes |
Show |
Edit |
Expand |
|
Some C# |
16 lines
of
C++
|
573 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
private Control FindControl(ControlCollection controlCollection, string ID)
{
foreach (Control control in controlCollection)
{
if (contro... |
|
ruby1 |
2 lines
of
Ruby
|
124 Bytes |
Show |
Edit |
Expand |
1
2 |
map.resources :pastes
map.resources :pastes, :path_prefix => '/projects/:project_id'
|
|