Welcome! This page is using CodeRay 1.1.2.
We currently have
3042 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
T |
41 lines
of
C
|
932 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
def repS(word,n)
return false if n==nil
x=rand(3)
word[n..n]="aS" if x==0
word[n..n]="bD" if x==1
word[n..n]="fR" if x==2
return true
end
def repD(word,n)
return false if ... |
|
test |
13 lines
of
diff
|
564 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
--- a/app/views/pages/welcome.html.erb
+++ b/app/views/pages/welcome.html.erb
|
|
tst |
8 lines
of
PHP
|
934 Bytes |
Show |
Edit |
Expand |
1 |
2013-09-28 17:20:31 [WARN ] [14.99.20.134][39b1c68c][yacoob] Creating vhost entry for yacoob1.dev.deccanhosts.com. Calling userenv api at http: |
|
sql replace |
1 line
of
SQL
by
jokie
|
24 Bytes |
Show |
Edit |
Expand |
|
func |
7 lines
of
YAML
|
153 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
c_report: function(params){
if (self.socket){
self.socket.emit("c_report", params);
} else {
self.staledEvents.push(params);
}
} |
|
Name |
3 lines
of
Java
|
24 Bytes |
Show |
Edit |
Expand |
1
2
3 |
public class Main {
} |
|
C++ Templates |
72 lines
of
C++
by
Myles Hathcock
|
1.31 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
#include <iostream>
#include <list>
class ScopeCaller
{
template <class C, void (C::*method)()>
static void method_thunk(void* obj)
{
(static_cast<C*>(obj)->*method)();
}
temp... |
|
frame.c |
20 lines
of
C
|
535 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
#include "dict.h"
#include "frame.h"
#include "imgutils.h"
#include "mem.h"
#include "samplefmt.h"
static void get_frame_defaults(AVFrame *frame)
{
if (frame->extended_data != frame->d... |
|
XML |
6 lines
of
XML
by
<
|
121 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<?xml version="1.0" encoding="utf-8"?>
<root>
<branch attr="value">
<leaf><![CDATA[Green]]></leaf>
</branch>
</root> |
|
Demo Program |
38 lines
of
Java
by
Babu
|
705 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
package com.ocjpmock.client.beans;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import com.ocjpmock.client.utils.OcjpBeans;
import com.ocjpmock.server.core.batch... |
|