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.
some code |
3 lines
of
Ruby
by
ja
|
109 Bytes |
Show |
Edit |
Expand |
1
2
3 |
has_many :memberships, ->{ order(:ends_at) }, dependent: :destroy
has_many :notes
has_many :positions |
|
test |
82 lines
of
CSS
by
Frank
|
8.57 KB |
Show |
Edit |
Expand |
1
2 |
/home/rribeiro/sigaV3-frontend-rails/app/controllers/certificates_controller.rb:21:inindex_imp'
/usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-4.1.8/lib/action_controller/metal/implicit_render.rb:... |
|
Flickr Original Link user script |
230 lines
of
JavaScript
|
8.96 KB |
Show |
Edit |
Expand |
|
Hide Inspector Description Pane |
37 lines
of
Delphi
|
705 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14 |
Unit NoInspectorDescriptionPane;
Interface
Procedure Register;
Implementation
Uses
Forms, Classes, Controls, Dialogs;
Function FindObjectInspector: TComponent;
Var
I: Inte... |
|
ad |
1 line
of
C
by
asd
|
4 Bytes |
Show |
Edit |
Expand |
|
My Test Ray |
31 lines
of
CSS
|
728 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
// Editor source pane
textarea.cke_source {
padding: 10px 15px !important;
box-sizing: border-box;
font-family: $code-font !important;
font-size: 15px !important;
color: #333333;
}... |
|
VBA |
9 lines
of
Ruby
|
236 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
Private Sub Open_Closed_Status_Change()
If Me.Open_Closed_Status.Value = "Closed" Then
Me.Date_Closed = Format(Now, "mm/dd/yy")
Else
Me.Date_Closed.Value = Null
End... |
|
test |
86 lines
of
JavaScript
|
2.16 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
tx_price_od : 0.0;
max_price_oh : [1396021378015, 597, 1.81];
offer_bmoid : 0;
offer_id : 5983232850332;
offer_market : 0;
book1_oh : 1.81;
ts : 1396021379544;
tx_price_oa : 0.0;
event_type... |
|
ini |
2 lines
of
diff
by
andy
|
93 Bytes |
Show |
Edit |
Expand |
|
adsfsadg |
8 lines
of
Clojure
|
160 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
user=> (rational? 1)
true
user=> (rational? 1.0)
false
user=> (class 1.0)
java.lang.Double
|
|