Welcome! This page is using CodeRay 1.1.2.
We currently have
3061 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
lumpy |
12 lines
of
XML
|
671 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="cmsServiceConfig" type="ICIS.ServiceHost.CmsScheduler.CmsServiceConfig, ICIS.ServiceHost.CmsSchedule... |
|
test |
69 lines
of
PHP
by
test
|
1.61 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
<?php
function getkeyiv($key_size, $iv_size, $key, $iv='') {
if ($iv == '') {
$iv = 'OpenSSL for Ruby rulez!';
}
$iv = substr($iv,0,$iv_size);
$gen = '';
do {
$gen = $gen.md5... |
|
SQL test |
9 lines
of
SQL
by
aaa
|
148 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
SELECT
*
FROM TBL_EXAMPLE T1
JOIN TBL_EXAMPLE2 T2
ON T1.PK1 = T2.PK2
WHERE
T1.DEL_FLG = 0
AND T2.DEL_FLG = 0
AND T2.COL1 = 'TEST'; |
|
RegExps in JavaScript |
1 line
of
JavaScript
by
murphy < giles
|
53 Bytes |
Show |
Edit |
Expand |
1 |
var vals = lines[i].replace(/^\s+/, "").split(/\s+/); |
|
asdf |
39 lines
of
Ruby
|
934 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
config.gem "cancan"
class Ability
<b style="color:black;background-color:#ffff66">include CanCan</b>::Ability
def initialize(user)
us... |
|
output "hello world" in php |
3 lines
of
PHP
by
Snake
|
32 Bytes |
Show |
Edit |
Expand |
1
2
3 |
<?php
echo "hello world 1";
?> |
|
C++ |
17 lines
of
C++
|
124 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 |
#if defined(xxxx)
...
class A{
public:
A()
{
int b = "asdf";
return true;
}
};
#else
...
#endif
|
|
Simple Ruby |
38 lines
of
Ruby
by
crackerjack
|
541 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 |
require 'rubygems'
require 'sinatra'
require 'haml'
require 'whois'
get '/' do
haml :index
end
get '/whois' do
haml :whois
end
post '/whois' do
@host = params[:hos... |
|
Javascript |
3 lines
of
JavaScript
|
48 Bytes |
Show |
Edit |
Expand |
1
2
3 |
function hello() {
alert('Hello World');
} |
|
Java Hello-World |
6 lines
of
Java
|
107 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
public class Test {
public void main(String[] args) {
System.out.println("Hello, world");
}
} |
|