Welcome! This page is using CodeRay 1.1.2.

We currently have 3067 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 101, 10 entries

as 263 lines of Ruby 9.45 KB Show Edit Expand
1
2
3
4
5
6
7
# assignment2.rb (v1.0)

# Fill this up:
#   Section : G??? (Mon/Tue/Wed/Thu/Fri) (please specify correct day)
#   Faculty : Cheng Shih-fen / Lau Hoong Chuin (please delete one)
#   Team ID :
...
badRuby 7 lines of Ruby 95 Bytes Show Edit Expand
1
2
3
4
5
6
7
def is_admin?
  if session[:admin] = 1
    return true
  else
   return false
  end
end
SQL test 1 line of SQL by me 58 Bytes Show Edit Expand
1
alter table vos alter column created_at set default now();
bash 6 lines of CSS by blubber 139 Bytes Show Edit Expand
1
2
3
4
5
6

#TEST
mkdir -p /var/www/cash.de/htdocs && chown -R www-data:sftp /var/www/cash.de
do_upgrade() {
     OLDBINPIDFILE=$PIDFILE.oldbin
}
Obj C 3 lines of C 271 Bytes Show Edit Expand
1
2
[[InsetContextEngine sharedContextEngine] SignUpUsingUserName:username ApplicationKey: APP_KEY];
[[UIApplication sharedApplication] setMinimumBackgroundFetchInterval:UIApplicationBackgroundFetchIn...
sdsd 59 lines of Java 2.83 KB Show Edit Expand
1
2
3
4
5
6
/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/SyntaxHighlighter
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/SyntaxHighligh...
test 22 lines of HAML by murphy 546 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
!!!5
%html
  %head
    %meta{ :charset => 'utf-8' }
    %title CodeRay
    = stylesheet_link_tag 'application'
    = javascript_include_tag 'application'
    = csrf_meta_tag
    %link{ :rel...
test 29 lines of JSON 1.59 KB Show Edit Expand
1
2
3
4
{
                                    "label": "Komunikacja Miejska",
                                    "icon": "9e107d9d372bb6826bd81d3542a419d6",
                                    "badge":...
clojure 21 lines of Clojure by test 883 Bytes Show Edit Expand
1
2
3
4
5
(defn run [nvecs nitems nthreads niters]
  "ffffffffffffffffff"
  (let [vec-refs (vec (map (comp ref vec)
                           (partition nitems (range (* nvecs nitems)))))
        swap #...
Test 18 lines of XML 745 Bytes Show Edit Expand
1
2
3
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns2:getPaymentsIn xmlns:ns2="http://ideabank.pl/ib/core/payment/ws/...

Page 101, 10 entries