Welcome! This page is using CodeRay 1.1.2.
We currently have
3054 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
gab |
7 lines
of
Plain text
by
gab
|
502 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
render: function(){
var chicken = this //means to whatever
var filter = items.filter(function(item){
return ((item.category === chicken.props.category) && ... |
|
SQL check |
1 line
of
JavaScript
by
yo mama
|
19 Bytes |
Show |
Edit |
Expand |
|
SQL |
1 line
of
SQL
by
chao
|
19 Bytes |
Show |
Edit |
Expand |
|
Send Msg |
34 lines
of
JavaScript
by
Gabrielle
|
801 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9 |
function parseMarkdown (str) {
var arr = str.split(' ')
var symbols = arr[0].split('')
var result = null
if (symbols[0] === '#') {
var count = 0
symbols.forEach(function (... |
|
a |
22 lines
of
HAML
|
477 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
alert("HE... |
|
test |
14 lines
of
PHP
by
test
|
332 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<?php
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');
jimport('joomla.html.parameter');
jimport('joomla.version');
class plgSystemK2Filter extends JPlugin {... |
|
diff |
3 lines
of
diff
|
189 Bytes |
Show |
Edit |
Expand |
1
2
3 |
- this.firstTimeLogin = 0;
+ if(responseValue == 1 || responseValue == true || responseValue == "1"){
+ this.firstTimeLogin = 1; |
|
wzwzw |
76 lines
of
C++
by
bbbb
|
2.4 KB |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution... |
|
Test |
14 lines
of
JavaScript
|
458 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
import Ember from 'ember';
import baseService from 'data-layer/mixins/base-service';
export default Ember.Service.extend(baseService, {
apiPath: 'lookups/userprofile',
cidbModel: 'user-pr... |
|
111 |
2 lines
of
Ruby
|
51 Bytes |
Show |
Edit |
Expand |
1
2 |
CodeRay.scan('puts "Hello, world!"', :ruby).div
|
|