Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

test-html 1 line of HTML 93 Bytes Show Edit Expand
1
<a class="underline" href="/demos/increment">Reload the frame without triggering a reflex</a>
Marko Ruby Serbia 8 lines of Ruby by Marko 53 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
def wew
 puts 'lad'
end

joj = 2

wew
puts joj
python test 17 lines of Python by kojh 752 Bytes Show Edit Expand
1
2
3
4
5
#///////////////////////////////////////////////////////////////////////////////
def elapsed_time_fn (fn):    
    def inner(*args, **kwargs):
        start_time = perf_counter()
        to_exe...
C++ Example with C++20 Keywords 15 lines of C++ by Tirthankar Mazumder 237 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>

template <typename T>
concept Addable = requires (T a, T b) {
    a + b;
};

template <typename T>
T add(const T& a, const T& b) {
    return a + b;
}

int main() {...
fdg 7 lines of JavaScript by dfg 131 Bytes Show Edit Expand
1
2
3
4
5
6
7
function sayHello(name) {
  if (!name) {
    console.log('Hello World');
  } else {
    console.log(`Hello ${name}`);
  }  
}
JSON product 44 lines of JSON by me 1.31 KB Show Edit Expand
1
2
3
4
5
{
    "_id" : "hoodie_black",
    "type" : "PRINTABLE",
    "name" : "Kangaroo Pocket Hoodie. Color black",
    "description" : "Cotton and polyester cotton hoddie with kangaroo pocket and pull...
c code 95 lines of C++ by me 3.04 KB Show Edit Expand
1
2
3
4
5
6
7
// ----------------------------------------------------------------------------

// MIT License

// Copyright (c) 2022 Stefan Wagner

// Permission is hereby granted, free of charge, to any p...
Code 1 18 lines of Java by APU 636 Bytes Show Edit Expand
1
2
3
4
5
Public void upload(HttpServletRequest request) throws ServletException {


            MultipartHttpServletRequest mRequest = (MultipartHttpServletRequest) request;
            String next = (S...
asp 19 lines of Python by asp 641 Bytes Show Edit Expand
1
2
3
4
5
6
Init_DAB_DDC:
    AR = DM(CONFIG_DQPSK_MODE);
    AY0 = CONFIG_DQPSK_NORMALIZATION;
    NONE = AR - AY0;
    IF NE JUMP set_dpsk_mode;
    AR = 0x23;                         ! DQPSK normalizat...
dsp 22 lines of C by dsp 667 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
.ENTRY Init_DAB_DDC;
Init_DAB_DDC:

    AR = DM(CONFIG_DQPSK_MODE);
    AY0 = CONFIG_DQPSK_NORMALIZATION;
    NONE = AR - AY0;
    IF NE JUMP set_dpsk_mode;
    AR = 0x23;                   ...

Page 1, 10 entries