Welcome! This page is using CodeRay 1.1.2.

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

Page 241, 10 entries

curious 7 lines of C++ 137 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  Foo foo;
  foo.function(parameter);
  foo.anotherFunction(anotherParameter);
  Bar bar(1024,1024);
  bar.function(parameter);
}
Cisco IOS 18 lines of Plain text 552 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
 switchport port-security
 switchport port-security maximum 5
 switchport port-security aging time 2
 switchpor...
test 1 line of SQL by write 26 Bytes Show Edit Expand
1
SELECT UNIX_TIMESTAMP();
Test html 14 lines of HTML 515 Bytes Show Edit Expand
1
2
3
4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv=Content-Type content="text/html;...
Sample XMPP demo for facebook 28 lines of Ruby by Prudhvi 841 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
require 'rubygems'
require 'xmpp4r'


    # Connect to the server and set presence to available for chat.
    puts 'Enter your username with full domain'
    uname = gets
    puts 'Enter you...
Tests 32 lines of Ruby by joshuaborn 939 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
require 'test_helper'

class CategoryTest < ActiveSupport::TestCase

  should have_many(:articles)

  context "The Category class" do

    should "return a list of categories in order" do
...
Test 1 line of Ruby by murphy < WoNáDo 110 Bytes Show Edit Expand
1
s.encode("utf-16BE", "utf-8", invalid: :replace, undef: :replace).encode("utf-8", "utf-16BE").delete("\uFFFD")
SQL 1 line of SQL 64 Bytes Show Edit Expand
1
ALTER TABLE ТаблиÑа1 ALTER estilo TYPE character varying;
adf 5 lines of JavaScript 170 Bytes Show Edit Expand
1
2
3
4
5
  setup_comment_form: function(){
    if ($("#new_comment").length == 0) return;
    var ncf = $("#new_comment");
    ncf.attr("action", ncf.attr("real_action"));
  }
test 12 lines of C++ 881 Bytes Show Edit Expand
1
2
3
4
  -(void) serviceServerResponse:(NSString*) jsonResponse
  {
    GeoCodingJsonParser* jsonParser = [[[GeoCodingJsonParser alloc] init] autorelease];
    NSArray* objects = [jsonParser fillLocati...

Page 241, 10 entries