Welcome! This page is using CodeRay 1.1.1.

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

Page 1, 10 entries

Node sample 12 lines of JavaScript by Alex 554 Bytes Show Edit Expand
1
2
3
4
function getTextFromTextNode(range, textNode) {
        if (range.startContainer.equals(textNode) && range.startOffset > 0) {
            if (range.endContainer.equals(textNode)) {
             ...
PHP Magento 22 lines of PHP 899 Bytes Show Edit Expand
1
2
3
    private function _correctSize($entity){
        $attributes = Mage::getModel('eav/entity_attribute_option')->getCollection();
        $attributes->getSelect()->join(array('option_value' => 'e...
Test 35 lines of XML 1.37 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
location / {
        try_files $uri @prerender;
    }
 
    location @prerender {
        #proxy_set_header X-Prerender-Token YOUR_TOKEN;
        
        set $prerender 0;
        if ($htt...
aaa 5 lines of XML 124 Bytes Show Edit Expand
1
2
3
4
5
<proc>
    <cmd>DoWebLinkSupport</cmd>
    <msgtype>response</msgtype>
    <method>DoRegisterFromSite</method>
</proc>
JSON 8 lines of JSON by TOF 86 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
{
    "key1" : "value1",
    "key2" : [
        1,
        2,
        3
    ]
}
Title 7 lines of Ruby by Stefan 67 Bytes Show Edit Expand
1
2
3
4
5
6
7
def sum a, b
  return a + b
end

class test
 prinf "test"
end
asciidoctor 3 lines of Plain text by Jon 107 Bytes Show Edit Expand
1
2
3
ifdef::VK_EXT_debug_marker[]
include::appendices/VK_EXT_debug_marker.txt[]
endif::VK_EXT_debug_marker[]
Lol 5 lines of HTML 92 Bytes Show Edit Expand
1
2
3
4
5
<header></header> 
<div class="{template class}"> 
  {Content}
</div> 
<footer></footer>
d 1 line of Ruby 18 Bytes Show Edit Expand
1
puts "hello world"
es6 1 line of JavaScript 12 Bytes Show Edit Expand
1
const a = 1;

Page 1, 10 entries