Welcome! This page is using CodeRay 1.1.2.

We currently have 2713 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 1, 10 entries

wqeqweqwe 1 line of PHP 53 Bytes Show Edit Expand
1
  $GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL'] = ‘2’;
wqeqweqwe 9 lines of PHP 330 Bytes Show Edit Expand
1
2
3
4
5
6
  # Frontend: Redirect auf HTTPS
  RewriteCond %{HTTPS} on
  RewriteCond %{REQUEST_URI} !^/?typo3
  RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

  # Backend: Redirect auf HTTP...
wqeqweqwe 2 lines of C 48 Bytes Show Edit Expand
1
2
  config.absRefPrefix = auto
  config.baseURL >
wqeqweqwe 1 line of SQL 208 Bytes Show Edit Expand
1
SELECT * FROM tt_content WHERE (bodytext LIKE "%script%" OR bodytext LIKE "%iframe%" OR bodytext LIKE "%object%" OR bodytext LIKE "%video%") AND (bodytext LIKE "%src='http:%" or bodytext LIKE "%src...
asdf 22 lines of JSON by asdf 579 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
plan text 1 line of Plain text 16 Bytes Show Edit Expand
1
tail -f test.log
asd 15 lines of XML by asdsa 856 Bytes Show Edit Expand
1
2
3
4
 <configuration>
                            <sourceDirectory>src/docs/getting-started</sourceDirectory>
                            <backend>html5</backend>                            
        ...
Ruby 26 lines of Ruby by Xulambis 860 Bytes Show Edit Expand
1
2
3
4
5
# output as HTML div (using inline CSS styles)
CodeRay.scan('puts "Hello, world!"', :ruby).div

# ...with line numbers
CodeRay.scan("5.times do\n  puts 'Hello, world!'\nend", :ruby).div(:line_n...
JavaScript 14 lines of JavaScript by Pandu 236 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<body>

<h2>Example JavaScript</h2>

<button type="button"
onclick="document.getElementById('demo').innerHTML = Date()">
Click to display Date and Time.</button>

<...
Example 12 lines of HTML by Pandu 270 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
      <!DOCTYPE html>
      <html>
        <head>
          <title>This is an Example Title.</title>
          <body>

          <h1>This is an Example Heading.</h1>
          <p>This is an ...

Page 1, 10 entries