Welcome! This page is using CodeRay 1.1.2.
We currently have
3066 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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
... |
|
logs |
7 lines
of
Plain text
|
1.13 KB |
Show |
Edit |
Expand |
1
2 |
87.8.194.8 - - [16/Sep/2014:14:20:49 +0000] [www.secretchronicles.de/sid#7f9d8f351fe8][rid#7f9d8afe20a0/initial] (2) init rewrite engine with requested uri /
87.8.194.8 - - [16/Sep/2014:14:20:49 +... |
|
language redirect |
11 lines
of
Plain text
|
495 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
# Automatically redirect requests on / according to the
# "Accept-Language" HTTP header, if a translation is
# available for that language.
RewriteEngine On ... |
|
fghfgh |
1 line
of
SQL
|
40 Bytes |
Show |
Edit |
Expand |
1 |
UPDATE Borrower SET Borrower_xyz = 'ABC' |
|
test |
1 line
of
Plain text
|
4 Bytes |
Show |
Edit |
Expand |
|
test |
36 lines
of
PHP
by
ff
|
1.13 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
cd /opt
wget http:
tar xvzf apache-tomcat-7.0.55.tar.gz
ln -s apache-tomcat-7.0.55 tomcat
|
|
html |
5 lines
of
PHP
|
117 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<html>
<head><title>PHP Test</title></head> <body>
<p>This is an HTML line</p>
<?php phpinfo(); ?>
</body></html> |
|
json example |
13 lines
of
JSON
by
sachuck
|
271 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
{"menu": {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"val... |
|
XML |
7 lines
of
XML
by
Jes
|
153 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<?xml version="1.0" encoding="UTF-8"?>
<response>
<result>
<cgi>registerCall</cgi>
<code>200</code>
</result>
</response>
|
|