Welcome! This page is using CodeRay 1.1.2.
We currently have
3068 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| html |
12 lines
of
HTML
|
705 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
<code class="HTML">
[16:18:06][cmux.c,984][2]<Agent_QueueRead>ReadLen:33 Tag:251e0092 HeadMsg:a1,00,1e,45
[16:18:06][cmux.c,364][3]<Agent_MessageRead>(33)
a1 00 1e 45 f5 30 00 00 00 00 47 87 00 ... |
|
| Shell test |
1 line
of
Plain text
|
41 Bytes |
Show |
Edit |
Expand |
1 |
cat something.txt else.txt > combined.txt |
|
| Simple Ruby code |
2 lines
of
Ruby
|
92 Bytes |
Show |
Edit |
Expand |
1
2 |
helpers = Rails.application.routes.named_routes.helpers
helpers.sort.each do |h| puts h end |
|
| 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... |
|