Welcome! This page is using CodeRay 1.1.2.

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

Page 194, 10 entries

Obj-C 6 lines of C 153 Bytes Show Edit Expand
1
2
3
4
5
6
- (void)endEditing:(id)sender 
{
    [self performSelector:@selector(updateStatus)
               withObject:nil 
               afterDelay:0.05];
}
Ruby 1.9 hash syntax 1 line of Ruby 42 Bytes Show Edit Expand
1
h = { first: "first", second: "second" }
Generated JS 51 lines of JavaScript 1.37 KB Show Edit Expand
1
2
3
4
5
function NUMER(patient) {
  var prcn5 = function(patient) {
  var prcn6 = function(patient) {
  var comp7 = function(patient) {
  // Title: Medication administered: Pneumococcal Vaccine all age...
JSON 7 lines of JSON 171 Bytes Show Edit Expand
1
2
3
4
5
6
7
{
  sender_id: 111111111111, 
  receiver_id: 222222222222,
  text: "message text",
  date: "string (or whatever?) date value",
date: "string (or whatever?) date value"
}
Ruby Hello World 1 line of Ruby by jag 9 Bytes Show Edit Expand
1
p = 6+2+9
Haml 9 lines of Java by NW 145 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
!!! 5
%html{lang: 'en'}
  %head
    %title Haml Highlighting
  %body
    #id.class
      %h1 Title
      %p
        Stuff in a paragraph.
smtp setting 7 lines of PHP by deven 207 Bytes Show Edit Expand
1
2
3
4
5
6
<?php
$config['protocol']='smtp';
$config['smtp_host']='ssl://smtp.googlemail.com';
$config['smtp_port']='465';
$config['smtp_user']='Your gmail user name ';
$config['smtp_pass']='your passwor...
Test 3 lines of Python 28 Bytes Show Edit Expand
1
2
3

def abc(x):
    print x
sdfasdf 1 line of diff 24 Bytes Show Edit Expand
1
asdfsdfsadfasfsf asfdasf
Test 4 lines of Java 199 Bytes Show Edit Expand
1
2
3
4
    public boolean hasCookie(String cookieName) {
        Map<String,Cookie> cookieMap = COOKIE_MAP.getOrNull();
        return cookieMap != null ? cookieMap.containsKey(cookieName) : false;
    }

Page 194, 10 entries