Welcome! This page is using CodeRay 1.1.2.
We currently have
3055 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
rea |
16 lines
of
JavaScript
|
293 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
var Counter = React.createClass({
props: {
count: Props.number
},
render: function() {
return (
<div className="counterRoot">
{this.props.count}
</div>
);
}
});
... |
|
f |
3 lines
of
Ruby
|
28 Bytes |
Show |
Edit |
Expand |
1
2
3 |
def hello
puts "hello"
end |
|
gg |
50 lines
of
HTML
|
1.5 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<!DOCTYPE html>
<html>
<head>
<meta content="initial-scale=1.0, width=device-width" name="viewport">
<link href="../css/reset.css" rel="stylesheet" type="text/css">
<link href=".... |
|
j |
19 lines
of
Clojure
|
897 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
(defn activate!
"An activation_code_created_at column is used to handle expirations.
Returns:
- nil if activation fails (errors can be retrieved using noir.validation)
- the user... |
|
j |
18 lines
of
Clojure
|
765 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7 |
(defn request-email-change!
"When the requested new-email is equal to the current email, this is still
handled as a real change request.
Returns:
- nil if validations fail
- th... |
|
sdf |
20 lines
of
CSS
|
559 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
.popover .date-separator {
background: #BBB;
color: white;
font-weight: bold;
overflow: hidden;
padding: 0.4em 0.6em;
text-align: left;
text-overflow: ellipsis;
... |
|
sdf |
5 lines
of
C
|
270 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
; Besides the validation error messages, other message strings have already
; been moved here too in preparation for the internationalization.
(def contact-link (str "<a href=\"mailto:" config/... |
|
vv |
10 lines
of
Clojure
|
525 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
(defn- email-activation-code [{:keys [email username activation_code]}]
(future (mailer/send-email
{:from config/emails-from
:to email
:subject "A... |
|
CFML |
1 line
of
C
by
dnloreto
|
112 Bytes |
Show |
Edit |
Expand |
1 |
---><cfif request.indexing eq false and request.bIsPrivate and (not isDefined("request.nodeidToPreview"))><!--- |
|
C \n test |
22 lines
of
C
by
return
|
698 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
void vCbiLogReport(const U16 usFileNo, const S32 lLineNo,
const U16 usLogId, const U32 ulParam1, const U32 ulParam2)
{
CBI_LOG_MSG_BODY stLog = {0U};
... |
|