Welcome! This page is using CodeRay 1.1.2.

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

Page 4, 10 entries

asdasdsad 4 lines of Plain text by asdasdsad 345 Bytes Show Edit Expand
1
2
Code highlighting
   Code highlighting relies on CodeRay, a fast syntax highlighting library written completely in Ruby. It currently supports C, C++, CSS, Delphi, Diff, Groovy, HTML, Java, Javasc...
Butt generation 17 lines of JavaScript by nabijaczleweli 341 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
"use strict";

import { ValidationSchema } from "express-validator/check";

// tslint:disable:object-literal-sort-keys
export const requestSchema: ValidationSchema = {
    customerName: {
  ...
Butt generation 16 lines of C++ by nabijaczleweli 667 Bytes Show Edit Expand
1
2
3
4
5
6
7
sf::Image img;
img.create(181 * 2, 181 * 2);
const auto img_s = img.getSize();
const auto center = img_s / 2u;

for(auto abs_y = 0u; abs_y < img_s.y; ++abs_y)
  for(auto abs_x = 0u; abs_x < im...
blink 45 lines of C by iii 866 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
#include <avr/io.h>
#include <avr/interrupt.h>

#define LED PC5

#define set_bit(reg, bit) (reg |= (1 << bit))
#define clear_bit(reg, bit) (reg &= ~(1 << bit))
#define toggle_bit(reg, bit) (...
ruby 8 lines of Ruby 326 Bytes Show Edit Expand
1
2
3
4
5
6
OAUTH2_SITE = 'https://foo'
RESOURCE_OWNER_USERNAME = 'user@example.com'
RESOURCE_OWNER_PASSWORD = 'password'

client = OAuth2::Client.new(CLIENT_ID, CLIENT_SECRET, site: OAUTH2_SITE)
token = ...
asdasdasd 5 lines of SQL 126 Bytes Show Edit Expand
1
2
3
4
5
final static List<String> hallo = new LinkedList<String>(); 

if(stack.toUpperCase().startsWith("ASD")) {
   return ASD;
}
Rspec output 11 lines of Ruby by JCC 419 Bytes Show Edit Expand
1
2
3
4
5
  1) Companies GET /companies does not render a different template
     Failure/Error: expect(response).to_not render_template(:show)
     
     NoMethodError:
       assert_template has been e...
random quote generator 20 lines of JavaScript by webdevbecca.com 797 Bytes Show Edit Expand
1
2
3
4
5
6
<div id="quote-generator">

    <div id="quote-background">
      
        <h1><blockquote><span class="speechmarks"></span><span id="quote"> The relationship you 
            have with yourself...
foo.yaml 29 lines of YAML 524 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
apiVersion: v1
kind: Pod
metadata:
  name: mc1
  labels:
    app: mc1
spec:
  volumes:
  - name: html
    emptyDir: {}
  containers:
  - name: 1st
    image: nginx
    ports:
      - ...
test 7 lines of CSS by m 133 Bytes Show Edit Expand
1
2
3
4
5
6
7
.dfwp-list {
background-color: #5f7e92; 
margin-bottom: 0.5em;
margin-right: 0.75em;
margin-left: 0.75em;
margin-bottom: 1px;
}

Page 4, 10 entries