Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 1, 10 entries

Instance Variable example 26 lines of SQL by Jill 413 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class User
  def set_user(string)
  string = Dog.new

  p {"Doggy Wolf"}
  end
end

class Dog
end

Tom = User.new("Tom")


def method_one
  @var = "a variable"
  puts @var
end

d...
test 21 lines of HAML 476 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
config interface 'loopback'
  option ifname 'lo'
  option proto 'static'
  option ipaddr '127.0.0.1'
  option netmask '255.0.0.0'

config interface 'lan'
  option ifname 'eth0'
  option proto 'dh...
diff 20 lines of diff 850 Bytes Show Edit Expand
1
2
3
4
5
diff --git a/Source/CBLDatabase+Attachments.m b/Source/CBLDatabase+Attachments.m
index 618168e..0480fbd 100644
--- a/Source/CBLDatabase+Attachments.m
+++ b/Source/CBLDatabase+Attachments.m
@@ -...
asdb 2 lines of C 76 Bytes Show Edit Expand
1
2
sudo apt-get install -y nfs-kernel-server
sudo mkdir -p /exports/opengrid
asd 2 lines of Plain text 76 Bytes Show Edit Expand
1
2
sudo apt-get install -y nfs-kernel-server
sudo mkdir -p /exports/opengrid
Json 9 lines of JSON 125 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
   status: {
      code: STATUS_CODE,
      message: "STATUS_MESSAGE"
   },
   objects: [
      RETURN_ARRAY
   ]
}
t 1 line of C by t 1 Byte Show Edit Expand
1
t
C#99 2229 lines of JavaScript by Gawson 61.6 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
/*!
 * jQuery JavaScript Library v2.1.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
 * R...
test.c 1 line of C 19 Bytes Show Edit Expand
1
#include <avr/ih.h>
maillogs 20 lines of Plain text 2.68 KB Show Edit Expand
1
2
Oct  7 15:38:26 alexandria postfix/smtpd[8914]: connect from ursa.uberspace.de[95.143.172.203]
Oct  7 15:38:26 alexandria postfix/smtpd[8914]: NOQUEUE: reject: RCPT from ursa.uberspace.de[95.143.1...

Page 1, 10 entries