Welcome! This page is using CodeRay 1.1.2.
We currently have
3043 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
C++ |
14 lines
of
C++
by
shadow
|
218 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#ifndef GRAPHICS_H
#define GRAPHICS_H
#include <math.h>
…
#include “myheader.h”
…
void Function1(…);
…
class Box |
|
123 |
1 line
of
HTML
by
312
|
12 Bytes |
Show |
Edit |
Expand |
|
JSON test |
27 lines
of
JSON
|
1.04 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
[{"created_at"=>"2013-03-29T17:16:27Z",
"description"=>"Written in English, or contains English text.",
"id"=>"5155cc6b53f7f3196e000001",
"name"=>"English",
"post_ids"=>["5155cc6b53f7f3... |
|
desc |
21 lines
of
Ruby
by
asish
|
1.06 KB |
Show |
Edit |
Expand |
|
desc |
24 lines
of
Ruby
by
asish
|
1.15 KB |
Show |
Edit |
Expand |
1
2
3
4 |
class PatstatResqueWorker
@queue = :patstat_worker_q
def self.perform(queryid)
puts "*******************************************************I'm a ResqueWorker and I'm working...*********... |
|
JavaTest |
17 lines
of
Java
|
531 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
public abstract class DB {
private static final Set<String> _obedientCommands = new HashSet<String>();
static {
_obedientCommands.add("group");
_obedientCommands... |
|
a |
1 line
of
HTML
by
b
|
47 Bytes |
Show |
Edit |
Expand |
1 |
CodeRay.scan('puts "Hello, world!"', :ruby).div |
|
test |
7 lines
of
YAML
by
t
|
346 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
perl -I %XREPORT_HOME%/perllib %XREPORT_HOME%/sbin/xrAssemblyBundle.pl ^
-N {xml config name} ^
-bundle {nome bundle da tabella tbl_BundlesNames} ^
-wrk {Working Directory P... |
|
Ruby Controller example |
16 lines
of
Ruby
by
d4x
|
383 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
class CommentsController < ApplicationController
def create
@post = Post.find(params[:post_id])
@comment = @post.comments.create(params[:comment])
redirect_to post_path(@post)
... |
|
ca |
1 line
of
Ruby
|
15 Bytes |
Show |
Edit |
Expand |
|