Welcome! This page is using CodeRay 1.1.2.

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

Page 68, 10 entries

test 11 lines of C by sam 315 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
@@ -1,8 +1,6 @@
-t
-s
-dfest
+test
 <!-- v2
 If this page requires content, please be sure to include the "page_required_header" 
 and "page_required_footer" tags inside curly brace percenta...
dsa 6 lines of PHP 200 Bytes Show Edit Expand
1
2
3
4
5
6
describe 'permit some elements from params and miss others' do
  before do
    @params = ActionController::Parameters.new @hash
  end
  it 'should log non-permitted attributes' do
    ActiveSu...
Code 3 lines of JavaScript 71 Bytes Show Edit Expand
1
2
3
function transform(unit){ 
var output = unit.output; 
return output;}
test 12 lines of Ruby by test 401 Bytes Show Edit Expand
1
2
3
4
5
6
describe 'permit some elements from params and miss others' do
  before do
    @params = ActionController::Parameters.new @hash
  end
  it 'should log non-permitted attributes' do
    ActiveSu...
sf 21 lines of Python by vdfb 639 Bytes Show Edit Expand
1
2
3
4
5
6
7
kmer_size = 12
def split_dna(dna, kmer_size):
    kmers = []
    for start in range(0,len(dna)-(kmer_size-1),1):
        kmer = dna[start:start+kmer_size]
        kmers.append(kmer)
    retur...
example daterangepicker 20 lines of HTML by paridin 1009 Bytes Show Edit Expand
1
2
3
4
<!-- ... -->
<link href="{% static 'css/daterangepicker.css' %}" rel="stylesheet" /><!-- ... -->
<div>
<form action="#" enctype="multipart/form-data" method=""><input calendar-foo="" name="csrfm...
test ruby code 132 lines of Ruby 4.72 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
require 'httparty'
require 'cgi'
require 'multi_json'

module Pocket

  class Connection
    include HTTParty
    base_uri 'https://getpocket.com'
    headers "Content-Type" => "applicatio...
llll 2 lines of Plain text 55 Bytes Show Edit Expand
1
2
yum install epel-release -y
yum install lsof xl2tpd -y
Python fib 5 lines of Python 88 Bytes Show Edit Expand
1
2
3
4
5
def fib(num)
    if num >= 1:
        return num

    return fib(num-1) + fib(num-2)
test 5 lines of diff 199 Bytes Show Edit Expand
1
2
3
4
5
--- /tmp/diffy20150722-27718-d2d28y  2015-07-22 22:42:11.556778963 +0000
+++ /tmp/diffy20150722-27718-lzujgd  2015-07-22 22:42:11.556778963 +0000
@@ -1 +0,0 @@
-first
\\ No newline at end of file

Page 68, 10 entries