Welcome! This page is using CodeRay 1.1.2.

We currently have 2909 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 35, 10 entries

testing 3 lines of Ruby 26 Bytes Show Edit Expand
1
2
3
def hi
     p 'hihi'
end
Haskell as Plain Text 11 lines of Plain text 224 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
import qualified Data.Map as M

fib n = fib' n
    where
        fib x =
            if x < 2 then
                x
            else
                fib (x - 1) + fib (x - 2)

main = int...
stuff 7 lines of C 383 Bytes Show Edit Expand
1
2
3
4
5
NSString *rawUrl = [Common trimValue:resource. resUrl];

NSString * url = [rawUrl stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];

NSURLRequest...
sdfasa 2 lines of diff 18 Bytes Show Edit Expand
1
2
+zsdvf
-aseafdwsq
diff 18 lines of diff 971 Bytes Show Edit Expand
1
2
3
4
5
4,17c4,5
<         ProxyPass /oleg/api/v1_1        http://localhost:5001/api/v1_0
<         ProxyPassReverse /oleg/api/v1_1 http://localhost:5001/api/v1_0
< 
<         ProxyPass /po/api/v1_1   ...
ERB 3 lines of ERb by DAJI 98 Bytes Show Edit Expand
1
2
3
<h1>Hello, Devise</h1>
<pre><%= debug current_user %></pre>
<pre><%= debug user_session %></pre>
Test C++ w/ templates 27 lines of HTML by Testttt 504 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>
#include <string>

using namespace std;

template <typename T>
inline T const& Max (T const& a, T const& b) 
{ 
    return a < b ? b:a; 
} 
int main ()
{
 
    int ...
4t454t 1 line of C 9 Bytes Show Edit Expand
1
45t45t5tt
Javatest 7 lines of JavaScript 290 Bytes Show Edit Expand
1
2
3
var hubConnection = $.hubConnection("http://lsesrv:5001", {useDefaultUrl: false});
var hubConnectionProxy= hubConnection.createHubProxy('PrintJobSignalR');
hubConnectionProxy.on('PrintJobUpdate',...
stas 17 lines of Ruby by stas 516 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
 def new_idea
   @idea = Idea.create(header: params[:header], body: params[:body], video: params[:video], user_id: @current_user.id)
    
   render layout: false
  end
  
  def set_session
 ...

Page 35, 10 entries