Welcome! This page is using CodeRay 1.1.2.
We currently have
3067 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
| ldap |
6 lines
of
XML
by
Groink
|
172 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
# Groupe responsable
dn: cn=resp,ou=groups,dc=preludedemo,dc=org
cn: resp
member: uid=resp,ou=people,dc=preludedemo,dc=org
objectclass: groupOfNames
objectclass: top
|
|
| 1 |
34 lines
of
XML
by
1
|
1.5 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<?xml version="1.0"?>
<data>
<portal_light>
<output_flickers_on_ms></output_flickers_on_ms> Periode de clignotement
<light_on_sec></light_on_sec> Temps... |
|
| shell script |
2 lines
of
Plain text
|
31 Bytes |
Show |
Edit |
Expand |
1
2 |
useradd vagrant
passwd vagrant |
|
| cursor |
28 lines
of
SQL
by
Daniel
|
503 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
declare
noM number;
noS number;
V_count integer := 1;
cursor cur is
select ts.NOMOR_MAHASISWA,
sek.NOMOR
from siska.TEMP_SEKOLAH ts
join siska.S... |
|
| dsfds |
3 lines
of
Ruby
|
47 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def blib
@thing = flab ? bilbo : chilli
end |
|
| method |
17 lines
of
Ruby
by
Gray
|
358 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
def self.insert_samples str
re = /(?<=\[@)(\d+)(?=\])/
samples = Hash.new
self.find(str.scan(re).map { |a| a.join }).map do |obj|
samples[obj.id.to_s] = obj
end
while num = ... |
|
| Zend SOAP Client |
4 lines
of
PHP
|
129 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
$client = new Zend_Soap_Client(null, array(
'location' => 'http://www.test.com/soap',
'uri' => 'http://test-uri/',
)); |
|
| Command-line |
7 lines
of
ERb
|
310 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
$ git checkout -b release-1.2 develop
Switched to a new branch "release-1.2"
$ ./bump-version.sh 1.2
Files modified successfully, version bumped to 1.2.
$ git commit -a -m "Bumped version numbe... |
|
| aabb |
2 lines
of
diff
|
12 Bytes |
Show |
Edit |
Expand |
|
|
| aaa |
13 lines
of
Ruby
|
420 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
require(vegan)
data(dune)
data(dune.env)
un_nmds <- metaMDS(dune^0.25, distance = "bray")
cols = rainbow(4)
plot(un_nmds, display = ... |
|