Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
7 lines
of
Java
by
g
|
57 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
var i = 1;
function test() {
return i;
}
test() |
|
aa |
143 lines
of
C++
|
3.65 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
#pragma once
#include <type_traits>
#include <utility>
#include "detail/util.h"
#include "detail/swizzler.h"
#include "detail/functions.h"
#include "detail/binary_ops.h"
#include "detail... |
|
ab |
1 line
of
C++
|
16 Bytes |
Show |
Edit |
Expand |
|
asd |
57 lines
of
JavaScript
|
1.38 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
import { ApolloClient } from 'apollo-client'
import { HttpLink } from 'apollo-link-http'
import { ApolloLink, concat } from 'apollo-link'
import { InMemoryCache } from 'apollo-cache-inmemory'
i... |
|
javascript |
1 line
of
JavaScript
|
19 Bytes |
Show |
Edit |
Expand |
|
gitlab |
14 lines
of
Ruby
|
864 Bytes |
Show |
Edit |
Expand |
|
C++ with exports and inputs |
1 line
of
C++
by
Refael Sheinker
|
103 Bytes |
Show |
Edit |
Expand |
1 |
void Some_ReadPCI(IN DWORD bus, DWORD dev, IN int func, int offset,IN DWORD bytesNum,OUT PVOID pValue); |
|
shell |
10 lines
of
JSON
by
333yyy
|
235 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
#!/bin/bash
set -e
# Add native library before start container
if ! type "make" > /dev/null; then
echo "Installing gcc and make ..."
apt-get update
# apt-get install -y gcc make
ap... |
|
A |
7 lines
of
Ruby
|
54 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
p <<"A#{b}C"
#{
<<"A#{b}C"
A#{b}C
}
str
A#{b}C |
|
java |
9 lines
of
Java
|
114 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
} |
|