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.

Page 198, 10 entries

cucumber 49 lines of Plain text by asdf 3.05 KB Show Edit Expand
1
2
3
<markdown> 

Here at Hashrocket, we follow a well defined process for all our client projects. The process starts with discovery of business value, goes through wireframing, storycarding, look an...
Sample HTML 10 lines of HTML 136 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
<html>
  <head>
    <title>Title</title>
  </head>
  <body>
    <p class='hyhyh'>
      Hisfsfsdfsdf
    </p>
  </body>
</html>
Test 6 lines of Ruby by None 81 Bytes Show Edit Expand
1
2
3
4
5
6
module Test
def self.test
puts "hi"
@test = Test.find(params[:test])
end
end
Test 37 lines of Clojure by http://clojuredocs.org 1.22 KB Show Edit Expand
1
2
3
4
5
;; Your own REPL! (Read Eval Print Loop)

;; We would need a little helper macro for that
;; It does what its name says - loops forever
user=> (defmacro loop-forever [& body] `(loop [] ~@body (...
comment test 1 line of Ruby by Denis Defreyne 19 Bytes Show Edit Expand
1
# this is a comment
sql 7 lines of SQL 253 Bytes Show Edit Expand
1
2
3
4
5
6
7
UPDATE `channels_groups`
  SET `group_sort_order` = `group_sort_order` + 1
  WHERE group_sort_order > 15
  AND group_sort_order < 99
  AND group_type = 'SPP';
INSERT INTO `channels_groups`
  VALUE...
irb 5 lines of Plain text by zed 133 Bytes Show Edit Expand
1
2
3
4
5
ruby-1.9.2-p290 :001 > 2+2
 => 4 
ruby-1.9.2-p290 :002 > "a.b.c.d".split('.')
 => ["a", "b", "c", "d"] 
ruby-1.9.2-p290 :003 > ^D
php with jquery and html 21 lines of PHP by plambata 599 Bytes Show Edit Expand
1
2
3
4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="...
rstring.c - In-place ASCII string reversal 82 lines of C by Troy J. Farrell 2.84 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
/* Troy J. Farrell <troy at entheossoft dot com>
 * MIT license
 */

#include <stdio.h>
#include <string.h>

/* prototype our function */

int reverseString( char * );

int main( int arg...
zend_builtin_functions.c 19 lines of diff 455 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
@@ -303,13 +300,14 @@
    Get string length */
 ZEND_NAMED_FUNCTION(zend_if_strlen)
 {
-  zval **str;
+  char *s1;
+  int s1_len;
 
-  if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &str...

Page 198, 10 entries