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.
| 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;
} |
|
| powershell |
1 line
of
C
|
9 Bytes |
Show |
Edit |
Expand |
|
|
| react-lifecycle |
36 lines
of
HTML
by
xialvjun
|
1 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
<Lifecycle
props={{ list }}
getDerivedStateFromProps={(props, state) => {
const plist = props.list,
slist = state.list;
if (plist.length > slist.length) {
return {... |
|
| Kersha |
3 lines
of
C
by
asfwf
|
25 Bytes |
Show |
Edit |
Expand |
1
2
3 |
#include"Sdfsdf"
saf
|
|