Welcome! This page is using CodeRay 1.1.0 (beta).

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

Page 1, 10 entries

Functions tests 27 lines of C 1.3 KB Show Edit Expand
1
2
3
4
5
void GPIO_DbgSWDClkEnable(bool enable);
void GPIO_DbgSWDIOEnable(bool enable);
void GPIO_DbgSWOEnable(bool enable);
void GPIO_EM4DisablePinWakeup(uint32_t pinmask);
void GPIO_EM4EnablePinWakeup...
INI 10 lines of CSS 208 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
[loggers]
keys = root

[handlers]
keys    = consoleHandler, debugHandler, errorHandler, infoHandler

[formatters]
keys=defaultFormatter, consoleFormatter, fileFormatter, errorFormatter

[l..
game of 61 lines of Ruby 1.63 KB Show Edit Expand
1
2
3
4
5
6
require 'spec_helper'

describe GameOfLife::Cell do
  def build_neighbours(live_count)
    [GameOfLife::Cell.new_live_cell] * live_count +
      [GameOfLife::Cell.new_dead_cell] * (8 - live_co...
hello 14 lines of Ruby 400 Bytes Show Edit Expand
1
2
3
4
5
6
describe GameOfLife::Cell do
  def build_neighbours(live_count)
    [GameOfLife::Cell.new_live_cell] * live_count +
      [GameOfLife::Cell.new_dead_cell] * (8 - live_count)
  end
  context "f...
sample html d 143 lines of JavaScript by Aru 5.74 KB Show Edit Expand
1
2
3
4
5
6
<!-- The MIT License (MIT)

Copyright ( c ) 2014-2015 Teem2 LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file...
test 5 lines of Java 610 Bytes Show Edit Expand
1
2
final NestedProcessor _transformedGet = new NestedProcessorChain(event, getMuleContext(), ((MessageProcessor) get));  
final NestedProcessor _transformedPut = new NestedProcessorChain(event, getMu...
asdf 7 lines of HTML by Pharcosyle 201 Bytes Show Edit Expand
1
2
3
4
5
6
7
          <script src="target/bidder.js"></script>
          <script>
            var config = {
              
            };
            ad_bridg.start(657474868, config);
          </scrip...
qweqweqwe 13 lines of Groovy (beta) by erwerer 465 Bytes Show Edit Expand
1
2
3
4
5
sections.section {
    h2 'Pretty Groovy Code for reveal.js'
    p "The following script contains the code for this page. 'example.groovy' is a Groovy script."
    pre {
        code(class:'jav...
test 1 line of SQL 445 Bytes Show Edit Expand
1
SELECT `products`.`name` AS `product_name`, SUM(`account_intels`.`connected_host_count`) AS `connected_host_count` FROM `account_intels` INNER JOIN `accounts` ON (`accounts`.`id` = `account_intels`...
Hello 5 lines of Ruby 114 Bytes Show Edit Expand
1
2
3
4
5
#! /usr/bin/env ruby
require 'rubygems'
require 'bundler/setup'
require 'mechanize'
require 'ruby-progressbar'

Page 1, 10 entries