Welcome! This page is using CodeRay 1.1.2.
We currently have
3049 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
Diff to Hello World |
9 lines
of
C
|
105 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
#include <stdio.h>
int main()
{
- printf("Hello Warld");
+ printf("Hello World");
return 0;
} |
|
How to use class="diff" ? |
39 lines
of
diff
|
837 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
--- /path/to/original ''timestamp''
+++ /path/to/new ''timestamp''
@@ -1,3 +1,9 @@
+This is an important
+notice! It should
+therefore be located at
+the beginning of this
+document!
+... |
|
RestService |
8 lines
of
Java
|
261 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
public RestService(Handler mHandler, Context mContext, String url){
this.mHandler = mHandler;
this.mContext = mContext;
this.url = url;
params = new ArrayList<ParcelableNameValuePair>(... |
|
dd |
37 lines
of
Java
|
1.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
%0\ Clear parameters
tmp.signal=NaN;
results.ec(i)=results.ec(i-1);
%1\ compute hedge ratio here
if ((data.timestamp(i,1)-tmp.last_hedge>=params.hedge_time) || min(tmp.exposur... |
|
vvv |
37 lines
of
Ruby
|
1.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
%0\ Clear parameters
tmp.signal=NaN;
results.ec(i)=results.ec(i-1);
%1\ compute hedge ratio here
if ((data.timestamp(i,1)-tmp.last_hedge>=params.hedge_time) || min(tmp.exposur... |
|
vvv |
7 lines
of
C++
|
312 Bytes |
Show |
Edit |
Expand |
|
vvv |
37 lines
of
JavaScript
by
vvv
|
1.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
%0\ Clear parameters
tmp.signal=NaN;
results.ec(i)=results.ec(i-1);
%1\ compute hedge ratio here
if ((data.timestamp(i,1)-tmp.last_hedge>=params.hedge_time) || min(tmp.exposur... |
|
vv |
37 lines
of
ERb
by
vvv
|
1.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
%0\ Clear parameters
tmp.signal=NaN;
results.ec(i)=results.ec(i-1);
%1\ compute hedge ratio here
if ((data.timestamp(i,1)-tmp.last_hedge>=params.hedge_time) || min(tmp.exposur... |
|
asdasd |
37 lines
of
Delphi
by
asdasd
|
1.21 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
%0\ Clear parameters
tmp.signal=NaN;
results.ec(i)=results.ec(i-1);
%1\ compute hedge ratio here
if ((data.timestamp(i,1)-tmp.last_hedge>=params.hedge_time) || min(tmp.exposur... |
|
test |
4 lines
of
Ruby
|
38 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
"foo %{bla} bar"
'foo %{bla} bar' |
|