Welcome! This page is using CodeRay 1.1.2.

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

Page 254, 10 entries

Diff 15 lines of diff 485 Bytes Show Edit Expand
1
2
3
4
Index: app/models/notification_setting.rb
===================================================================
--- app/models/notification_setting.rb        (revision 80)
+++ app/models/notificat...
database migration 11 lines of Ruby 270 Bytes Show Edit Expand
1
2
3
4
5
6
  class AddVersions < ActiveRecord::Migration
    def self.up
      # create_versioned_table takes the same options hash
      # that create_table does
      Post.create_versioned_table
    en...
JSON 22 lines of JSON 605 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
{
    "glossary": {
        "title": "example glossary",
    "GlossDiv": {
            "title": "S",
      "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
          "...
tabwidthbug 395 lines of C 9.92 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef KEYSPACE_CLIENT_H
#define KEYSPACE_CLIENT_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Status values. 
 * When using as a return value, negative values m...
XML test 51 lines of C 1.42 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
class DepthOfField {
  // Autofocus
  ID3D10Texture1D *autofocus_texture_;

  // Viewport and texture dimensions
  UINT width_;
  UINT height_;
};

HRESULT DepthOfField::OnDeviceCreated(ID...
rtre 11 lines of YAML 214 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="utf-8"?>
<msg seq="0">
  <pid>b006wkqb</pid>
    <features>
      <rss status='off'/>
      <sms status='on'/>
    </features>
  <comp>
    <loc>bottom</loc>
  ...
ieslink 34 lines of diff by asfasf 1.04 KB Show Edit Expand
1
2
3
4
5
6
def  initializeModelFaces    
    $modelFaces = []    
      ## find faces in model
      faceCount = 0
      for entity in Sketchup.active_model.entities
        if (!entity.instance_of?(Sketchup::Face)...
test 7 lines of C 198 Bytes Show Edit Expand
1
2
3
4
5
6
7
//=============================================
    public sealed class Application : IApplication
    {
        private static Application _instance = null;
        private string[] _args;

}
Testing asdf 3 lines of Plain text 61 Bytes Show Edit Expand
1
2
3
test = "moo"
puts "this is a #{test}"
#=> "this is a moo"
Testing asdf 3 lines of Ruby 61 Bytes Show Edit Expand
1
2
3
test = "moo"
puts "this is a #{test}"
#=> "this is a moo"

Page 254, 10 entries