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 186, 10 entries

Network security: LAN Manager authentication level 13 lines of Java 1.48 KB Show Edit Expand
1
2
3
4
5
6
7
8
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001

; http://support.microsoft.com/kb/239869
;
;    Level 0...
filter hash in place 4 lines of Ruby 91 Bytes Show Edit Expand
1
2
3
4
h= {:bob => 'bob', ralph => 'ralph'}
h.select!{|k,v| k.to_s =~ /ob/}

=> {:bob => 'bob'}
Ruby test 4 lines of Ruby 138 Bytes Show Edit Expand
1
2
3
4
puts "Initializing new server"
server = Server.new(provider.servers.bootstrap(options))
puts "Updating"
server.ssh("aptitude update")
b1 8 lines of SQL 259 Bytes Show Edit Expand
1
2
3
4
5
data_chunks.each |chunk|
  chunk_array = get_you_some_more_data
  chunk_array.map!{|x| format_for_client(x)}
  chunk_array.map!{|x| maybe_more_formatting(x)} if client.extra_work?
  chunk_array...
bash test 35 lines of XML 1.38 KB Show Edit Expand
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<endpoint>
    <endpointName>11030_NNS_PLZ_Netzbetreiber</endpointName>
    <typeName>DatabaseQuery</typeName>
    <endpointParameters>
        <endpoint...
cocos2d-js Sprite test 103 lines of JavaScript 2.81 KB Show Edit Expand
1
2
3
4
5
6
7
8
'use strict'

//{{{ Imports
var util      = require('util')
  , path      = require('path')
  , cocos     = require('cocos2d')
  , geo       = require('geometry')
  , nodes     = cocos.nodes...
Blah 8 lines of Ruby 166 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
 def new
      @post = Post.new
  
      respond_to do |format|
        format.html # new.html.erb
        format.json { render json: @post }
      end
    end
Everything is an object 15 lines of HAML by der_flo 131 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"hello".capitalize
#=> "Hello"

-123.abs
#=> 123

def cool 
  puts "Yo"
end

x = 2
x.even?
#=> true
3.even?
#=> false
test 2 lines of C++ 36 Bytes Show Edit Expand
1
2
var o = new object();
o.DoWork();
ыфва 3 lines of Plain text by ваып 33 Bytes Show Edit Expand
1
2
3
апывапыыва
фыафыва
фывафыва ыва

Page 186, 10 entries