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.
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 |
Devise.setup do |config|
|
|
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 |
REPOS="$1"
REV="$2"
|
|
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;
int main()
{
typeid
asm
_asm... |
|