Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Blah |
8 lines
of
Ruby
by
fede
|
257 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
class HTMLwithPygments < Redcarpet::Render::HTML
def block_code(code, language)
sha = Digest::SHA1.hexdigest(code)
Rails.cache.fetch ["code", language, sha].join('-') do
Pyg... |
|
thing |
7 lines
of
Ruby
|
152 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
$ java -server -jar fauna.jar
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal |
|
thing |
7 lines
of
Plain text
|
152 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
$ java -server -jar fauna.jar
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal |
|
thing |
7 lines
of
JSON
|
152 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
$ java -server -jar fauna.jar
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal |
|
thing |
7 lines
of
Java
|
152 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
$ java -server -jar fauna.jar
Host id: autumn
Cluster name: thing
Data path: /var/thing
Http port: 8443
Node 184.72.37.202 state jump to normal |
|
RAPID |
1104 lines
of
Delphi
|
39.9 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
%%%
VERSION:1
LANGUAGE:ENGLISH
%%%
MODULE RA_HM
!***************************************************************************
!* Aktueller Stand: Keihsler 11:40 17.08.2013 ... |
|
HTML5 fragment |
8 lines
of
HTML
by
Viktor
|
170 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<script src="frontdoorcode.com/embed"></script>
<script>
FrontDoorCode.create({
address1: '18 Vine Hill',
zip: 'EC1R 5DZ',
width: 500
});
</script> |
|
Logstash event |
17 lines
of
Ruby
|
816 Bytes |
Show |
Edit |
Expand |
1
2 |
{
"message" => "127.0.0.1 - - [11/Dec/2013:00:01:45 -0800] \"GET /xampp/status.php HTTP/1.1\" 200 3891 \"http://cadenza/xampp/navi.php\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:2... |
|
Logstash |
15 lines
of
Ruby
|
262 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
input { stdin { } }
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}
output {
elasti... |
|
new redirector |
12 lines
of
Plain text
|
510 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
# Automatically redirect requests on / according to the
# "Accept-Language" HTTP header, if a translation is
# available for that language.
RewriteEngine On
... |
|