Welcome! This page is using CodeRay 1.1.2.

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

Page 159, 10 entries

google analytics 11 lines of JavaScript 439 Bytes Show Edit Expand
1
2
3
4
5
6
7
8


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXX-Y']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javasc...
JSON 6 lines of JSON 126 Bytes Show Edit Expand
1
2
3
4
5
6
[
    {        "date": "yyyy-mm-dd",        "feedId": <int>,
        "img": "<url>",
        "title": "<string>"
    },
]
asd 4 lines of Ruby by asdsddasd asd 97 Bytes Show Edit Expand
1
2
3
4
    #!/usr/bin/env ruby
    def email
      "\#{first_initial}\#{last_name}@mines.edu"
    end
sdf 167 lines of Java 4.96 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
package njust.consman.secman;

import hirondelle.web4j.security.SafeText;
import hirondelle.web4j.util.Util;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
...
auie 1 line of PHP 28 Bytes Show Edit Expand
1
[(X < Y Or X < Z) And X  Q]
Python 4 lines of Python by anon 100 Bytes Show Edit Expand
1
2
3
4
funcs = Functions()
for f in funcs:
    name = Sample(f)
    AnotherFunction("Test: %s\n" % name)
ERB example 8 lines of ERb 344 Bytes Show Edit Expand
1
2
3
4
5
<meta charset="utf-8">
    <title><%= content_for?(:title) ? yield(:title) : @page_name.value %></title>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements --...
Model without persist 23 lines of Ruby 566 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
class Contact
  include ActiveModel::Validations
  include ActiveModel::Conversion
  extend ActiveModel::Naming

  attr_accessor :name, :email, :message

  validates_presence_of :name
  #va...
Jotain 49 lines of Ruby 1.52 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
require 'socket'
require 'rubygems'
require 'json'
require 'fileutils'

module Pingpong
  class Client
    def initialize(player_name, server_host, server_port)
      tcp = TCPSocket.open(s...
split 10 lines of Ruby by bovi 271 Bytes Show Edit Expand
1
2
3
4
5
6
lines = <<EOF
Du bist ein werdendes, nicht ein gewordnes ICH.
Und alles Werden ist im Widerspruch mit sich.
Unendliches das WIRD, muss ENDLICH sich gebaeren.
Und Endliches will, indem es wird,
...

Page 159, 10 entries