Welcome! This page is using CodeRay 1.1.2.

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

Page 253, 10 entries

Hello, CodeRay 7 lines of C++ 120 Bytes Show Edit Expand
1
2
3
4
5
6
7
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  printf("Hello, CodeRay!\n");
  return EXIT_SUCCESS;
}
python 52 lines of Python by inet 1.39 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# compile.py
import sys
import getopt

from compiler import compileFile, visitor

import profile

def main():
    VERBOSE = 0
    DISPLAY = 0
    PROFILE = 0
    CONTINUE = 0
    opts,...
Invalid JSON highlighted as JavaScript 6 lines of JavaScript by murphy 73 Bytes Show Edit Expand
1
2
3
4
5
6
{
  key: "value",
  // comment
  /* comment */
  "key": undefined,
}
Invalid JSON (5 errors) 7 lines of JSON by murphy 99 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  key: 'value',
  // comment
  /* comment */
  "key": undefined,
  @{{embedded<WALRUS>}}@
}
Some Objective-C 2.0 49 lines of C by Daniel Thorpe 2.37 KB Show Edit Expand
1
2
3
4
/**
    Returns the persistent store coordinator for the application.  This 
    implementation will create and return a coordinator, having added the 
    store for the application to it.  (The...
From carrot 9 lines of Python 444 Bytes Show Edit Expand
1
2
3
4
from carrot.connection import BrokerConnection
conn = BrokerConnection(hostname="localhost", port=5672,
                        userid="django", password="django",
                        virtua...
Random DTD and XML Test 26 lines of XML by Not a sodding bot! 699 Bytes Show Edit Expand
1
2
3
4
5
6
7
<!DOCTYPE TVSCHEDULE [ 

<!ELEMENT TVSCHEDULE (CHANNEL+)>
<!ELEMENT CHANNEL (BANNER, DAY+)>
<!ELEMENT BANNER (#PCDATA)>
<!ELEMENT DAY ((DATE, HOLIDAY) | (DATE, PROGRAMSLOT+))+>
<!ELEMENT HOLI...
JavaScript in HTML 8 lines of JavaScript by troex 182 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<script type="text/javascript" charset="utf-8">
  $().ready({
    $('#my-div').elfinder({
      url : 'connectors/php/connector.php',
      lang : 'ru'
    })
  })
</script>
Test 5 lines of C++ by a 44 Bytes Show Edit Expand
1
2
3
4
5
class Test
def he
@he = "hehehe"
end
end
c# test 10 lines of C++ by CrazyMenConnected 266 Bytes Show Edit Expand
1
2
3
4
5
6
    protected override void Page_Load(object sender, EventArgs e)
    {
      // module setup
      this.dataTableCaption = "Editor de serviços";
      this.tableName = "CFG_SERVICES";
      this.moduleID = ...

Page 253, 10 entries