Welcome! This page is using CodeRay 1.1.2.
We currently have
3042 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
24 lines
of
JSON
by
xxx
|
429 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13 |
[
{
xxx: xx,
xx: xx,
xxx: xxxx,
xx: xx,
xxxxx: xxx,
xxx: xx,
xx: "xxxx-1_01_01",
xxx: 7,
xxx: "1",
... |
|
bydlokod |
6 lines
of
PHP
|
272 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
function konfeta($word, $text, $domain)
{
$id = substr(md5($domain), 0, 6);
return '<span class="tooltip' . $id . '"><span class="word' . $id . '">' . $word ... |
|
compute_OD |
14 lines
of
Python
|
662 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def compute_OD(atoms, flat, dark, Icutoff=1, Isat=0, sigma=1, pixel_size=1):
mask = array(flat-dark, dtype='int16') < Icutoff
|
|
Test objc |
16 lines
of
C
by
me
|
447 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
- (void)ViewController:(ViewController *)ViewController didWork:(BOOL)didWork
{
}
- (void)cancelledByUser:(ViewController *)ViewController
{
}
- (BOOL)ViewController:(ViewController *)Vie... |
|
Test ObjC |
16 lines
of
C++
by
me
|
447 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
- (void)ViewController:(ViewController *)ViewController didWork:(BOOL)didWork
{
}
- (void)cancelledByUser:(ViewController *)ViewController
{
}
- (BOOL)ViewController:(ViewController *)Vie... |
|
test |
6 lines
of
C
by
Ma
|
291 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
[MustHavePermission(Permissons = AccountPermissions.None, IsAjax = true, IsJson = true)]
public ActionResult GetGeoList()
{
SolarUtilities.GeoEntry geo = Sola... |
|
llllll |
29 lines
of
Python
|
864 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
from selenium import webdriver
import getpass
driver = webdriver.Firefox()
driver.get('https://myaccount.lib.ncsu.edu/')
user = driver.find_element_by_name('user_idp')
for option in user... |
|
testss |
9 lines
of
Java
|
290 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
HttpURLConnection conn = post(GCM_SEND_ENDPOINT, requestBody);
int status = conn.getResponseCode();
if (status == 503) {
logger.fine("GCM service is unavailable");
return nu... |
|
test |
115 lines
of
JSON
|
5.31 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
{
"version": "1.5.2.5",
"refreshPeriod": 5,
"buildNumber": "201304102300",
"webresources": [
{
"1.5.2": [
{
"globalte... |
|
test |
1 line
of
Ruby
|
5 Bytes |
Show |
Edit |
Expand |
|