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 127, 10 entries

Test java 3 lines of Java 60 Bytes Show Edit Expand
1
2
3
for (int i = 0; i < 10; i++) {
    System.out.printl(i);
}
asdasd 10 lines of YAML by asdasd 437 Bytes Show Edit Expand
1
2
3
4
5
6
response:
  ok: !boolean true means that operation proceeded just as planned
  method: !string processed method name
  on_success:
    result: json object with method-related data
  on_failure...
test 16 lines of Ruby 796 Bytes Show Edit Expand
1
2
3
4
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
  # ==> Mailer Configurat...
SQL 26 lines of SQL by Daniel 689 Bytes Show Edit Expand
1
2
3
4
5


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNEC...
Activerecord abstrat class 19 lines of Ruby by Iain McNulty 404 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
require 'sqlite3'
require 'active_record'

class Alcoholic < ActiveRecord::Base
  self.abstract_class = true
  establish_connection adapter:  "sqlite3",  database: "../../db/brewing.sqlite"

...
Ember 4 lines of JavaScript by Ember 82 Bytes Show Edit Expand
1
2
3
4
import Ember from 'ember';
export default Ember.Component.extend({
  // ...
});
Bash as python 6 lines of Python by anon 151 Bytes Show Edit Expand
1
2
3
4
5
6
#!/bin/sh
REPOS="$1"
REV="$2"

# The following should be a one-liner (no line breaks).
# It's safest to use the full path to the ruby interpreter.
folio.xml 42 lines of C 1.69 KB Show Edit Expand
1
2
3
4
<folio version="1.7.0" lastUpdated="2012-08-16T19:52:49Z" id="[folder name]" orientation="portrait">
  <metadata>
    <description>[Enter article description here]</description>
    <magazineTitle>[E...
pkgProperties 21 lines of C 629 Bytes Show Edit Expand
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<pkgProperties xmlns="http://ns.adobe.com/ucf/1.0/">
<package/>
<entries>
<entry path="1700_talk_singer_120813_v.html">
<prop key="datetime">2012-08-16T1...
Compile Error 21 lines of C by Nobody 278 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifdef _AAA_H_
#undef _AAA_H_    //?
#endif
#include <stdio.h>
#include <iostream>
using namespace std;
// ^he is just kidding!

int main()
{
    //incorrect syntax
    typeid
asm
_asm...

Page 127, 10 entries