Welcome! This page is using CodeRay 1.1.1.

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

Page 1, 10 entries

a 116 lines of XML by a 4.91 KB Show Edit Expand
1
2
3
4
5
6
7
8
<Response xmlns="http://www.jnctn.net/ns/rest/2006-01">
   <Context>
      <Action>
         <IsCompleted>true</IsCompleted>
      </Action>
      <Request>
         <IsValid>true</IsValid>
...
a 3 lines of Ruby 21 Bytes Show Edit Expand
1
2
3
def test
   p 1
end
a 112 lines of XML by a 4.03 KB Show Edit Expand
1
2
3
4
5
6
7
8
<Response xmlns="http://www.jnctn.net/ns/rest/2006-01">
   <Context>
      <Action>
         <IsCompleted>true</IsCompleted>
      </Action>
      <Request>
         <IsValid>true</IsValid>
...
qweqwe 3 lines of JavaScript by emanoel 35 Bytes Show Edit Expand
1
2
3
function coco() {
  return 'xd'
}
segfault log 14 lines of Plain text 1.68 KB Show Edit Expand
1
2
3
4
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c7f0a7 in sf::String::String(sf::String const&) () from /usr/lib64/libsfml-system.so.2.3
(gdb) bt
#0  0x00007ffff6c7f0a7 in sf::S...
test for a ruby script with __END__ 27 lines of Ruby by nico-hn 728 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby

require 'optparse_plus'

first_value, second_value = nil, nil

OptionParser.new_with_yaml do |opt|
  opt.inherit_ruby_options("E") # Currently, -E and -d only are availa...
Qt QNetworkManager Snippet 10 lines of C++ by JD Scott 473 Bytes Show Edit Expand
1
2
3
4
5
6
QNetworkRequest request;
request.setUrl(QUrl("http://qt.nokia.com"));
request.setRawHeader("User-Agent", "MyOwnBrowser 1.0");

QNetworkReply *reply = manager->get(request);
connect(reply, SIGN...
SharePoint app example 3 lines of JavaScript by Ivanov Vladimir 43 Bytes Show Edit Expand
1
2
3
function log(str) {
  console.log(str);
}
sad 1 line of C++ 3 Bytes Show Edit Expand
1
asd
Ti 15 lines of Java 375 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
//Page reference to your VF Page
PageReference pageRef = Page.TestPage;
Test.setCurrentPage(pageRef);
 
//Pass necessary parameter
pageRef.getParameters().put('Id',id); 
 
//init controller ...

Page 1, 10 entries