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.

Page 34, 10 entries

Awesome E 21 lines of Ruby by Chang 885 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class Clinics::DashboardsController < ApplicationController
  before_action do
    set_current_clinic(params[:clinic_id])
  end

  def index
    if current_clinic.belongs_to?(current_user)
 ...
JSON 5 lines of Clojure by John 93 Bytes Show Edit Expand
1
2
3
4
5
{
     "name" : "john",
     "age" : 21,
     "knowledge" : [ "C++","Java","JavaScript"
}
nvd_feed_api 13 lines of Ruby by noraj 587 Bytes Show Edit Expand
1
2
3
4
5
6
# Initialize the scraper.
s = NVDFeedScraper.new
# Scrap the NVD website to get the feeds attributes.
s.scrap
# Change the default feed storage location beacause default value is '/tmp/'.
# '/...
LEL 6 lines of Ruby by EmmanuelSW 276 Bytes Show Edit Expand
1
2
3
4
    #  page = CodeRay.scan_file('some_c_code.c').html
    def scan_file filename, lang = :auto, options = {}, &block
      lang = CodeRay::FileType.fetch filename, :text, true if lang == :auto
 ...
test 3 lines of Ruby by dwdwe 31 Bytes Show Edit Expand
1
2
3
def hello
   puts "world"
end
ghjhghgjghj 37 lines of JSON 1.3 KB Show Edit Expand
1
2
3
4
5
{
  "synthesis": {
    "usageText": "${libellePrincipal} où ${godet.priorityType} <> A-XX (où XX équivaut à deux lettres)",
    "stateText": "Reste",
    "mainText": "Valeur affichable de ${mai...
angular 3 lines of HTML 21 Bytes Show Edit Expand
1
2
3
<div>
{{hi}}
</div>
pok 3 lines of HTML 67 Bytes Show Edit Expand
1
2
3
DELETE aaa HTTP/1.1
Host: 127.0.0.1:1337
Connection: keep-alive
asdasd 16 lines of Python by asdasd 903 Bytes Show Edit Expand
1
2
3
4
5
6
```python
# Feature 1
# Feature: User is able to search by first and last name with case agnostic matching
# Given the user is logged in
# When the user enters <search_term>
# Then the system ...
testttt 2 lines of HTML by adsas 136 Bytes Show Edit Expand
1
2
<h3>Welcome to the real-time HTML editor!</h3>
<p>Type HTML in the textarea above, and it will magically appear in the frame below.</p>

Page 34, 10 entries