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.
Test |
6 lines
of
Ruby
by
sadfsfs
|
75 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
def test
puts "Hej"
def some_method
puts 'say what?'
end
end |
|
A simple ruby module with regexps |
8 lines
of
Ruby
|
207 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
module Wiki
module RegExp
COMMON_NAME = /\A[a-z][0-9a-z_-]*[0-9a-z](\.[0-9a-z][0-9a-z_-]*)*\Z/i
USER_NAME = COMMON_NAME
EMAIL = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
... |
|
testC |
6 lines
of
C
|
213 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
$ mv /home/oper/cyber-api.tar.bz2 .; bunzip2 cyber-api.tar.bz2; tar xf cyber-api.tar; rm cyber-api.tar
# SHARED_DIRS
$ ln -s ../../shared/log log
$ ln -s ../../shared/tmp tmp
$ ln -s ../../sh... |
|
jsonxxx |
1 line
of
JSON
by
xxxx
|
218 Bytes |
Show |
Edit |
Expand |
1 |
{"confirmation_sent_at":"2014-10-13T22:08:14+00:00","confirmed_at":"2014-10-13T22:08:29+00:00","created_at":"2014-10-13T22:08:15+00:00","current_sign_in_at":"2014-12-24T06:16:28+00:00","current_sig... |
|
jsonxxx |
1 line
of
JSON
|
227 Bytes |
Show |
Edit |
Expand |
1 |
{"confirmation_sent_at"=>"2014-10-13T22:08:14+00:00", "confirmed_at"=>"2014-10-13T22:08:29+00:00", "created_at"=>"2014-10-13T22:08:15+00:00", "current_sign_in_at"=>"2014-12-24T06:16:28+00:00", "cur... |
|
test config |
112 lines
of
YAML
|
3.36 KB |
Show |
Edit |
Expand |
|
result |
2 lines
of
XML
|
18 Bytes |
Show |
Edit |
Expand |
|
Testing |
70 lines
of
Delphi
|
2.89 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
Imports nsoftware.IPWorks
Imports Newtonsoft.Json
Module MainModule
Private ReadOnly Usage As String = "Copyright (C) 2012-2013 AnyCo Studios - All Rights Reserved" + vbCrLf +
vbCrL... |
|
Anothertest |
28 lines
of
Delphi
|
662 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
#Region "Timer Code"
Private Sub ClockTimer_Tick(Sender As Object, E As EventArgs) Handles ClockTimer.Tick
ClockLabel.Text = Now.ToString
StatusBar.Refresh()
End S... |
|
Testing |
28 lines
of
C
|
662 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
#Region "Timer Code"
Private Sub ClockTimer_Tick(Sender As Object, E As EventArgs) Handles ClockTimer.Tick
ClockLabel.Text = Now.ToString
StatusBar.Refresh()
End S... |
|