Welcome! This page is using CodeRay 1.1.2.
We currently have
3068 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| Jungle |
64 lines
of
Plain text
by
waterboy
|
5.97 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
/usr/bin/git remote set-url origin git@github.com:iphoner/phone.git
0
git.2
/usr/bin/git fetch origin
0
git.3
/usr/bin/git checkout -qf 4dc5554bede01da4a6d72c0df2fc6845a0da0479
0
before_ins... |
|
| send reminder |
104 lines
of
Ruby
|
2.94 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
#!/usr/bin/ruby
def generate_shuffled_sequence so_many = 100
so_many.times.map { |i| i+1 }.shuffle
end
def generate_random_array so_many = 100
so_many.times.map { |i| rand(so_many) }.s... |
|
| cpp test |
5 lines
of
C++
|
73 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
EXCEPTION_TRY()
int toto;
EXCEPTION_CATCH() |
|
| Test |
19 lines
of
diff
by
d
|
3.75 KB |
Show |
Edit |
Expand |
1
2
3
4 |
--- /cygdrive/c/Users/admin/Desktop/1.txt 2013-06-11 13:36:25.755748900 -0500
+++ /cygdrive/c/Users/admin/Desktop/2.txt 2013-06-11 13:47:11.347282800 -0500
@@ -1,7 +1,7 @@
-0000069799abcdefghijk... |
|
| Something |
14 lines
of
C
|
736 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
using Fortumo;
using FortumoWindows;
|
|
| Max Flow (Ford-Falkerson) |
33 lines
of
Java
by
Dmitry
|
893 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
public class MaxFlowFordFulkerson {
static int findPath(int[][] cap, boolean[] vis, int u, int t, int f) {
if (u == t)
return f;
vis[u] = true;
for (int v = 0; v < vis.le... |
|
| javascript |
11 lines
of
JavaScript
|
327 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
var element = rule.getDataDimensionVal('closureLiveTarget');
if (args.parent){
element = rule.core.jQ(element).parents(args.parent);
}
if (args.child){
element = rule.core.jQ(args.child, el... |
|
| Testing |
8 lines
of
XML
by
Phrogz
|
86 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<r>
<p>Hello</p>
World
<x><![CDATA[
moar
]]></x>
</r>
|
|
| code ray documentation is useless |
1 line
of
C
|
10 Bytes |
Show |
Edit |
Expand |
|
|
| unstyled |
5 lines
of
HTML
|
91 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
<div>
<ul class="unstyled">
<li>A</li>
</ul>
</div>
|
|