Welcome! This page is using CodeRay 1.1.2.

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

Page 11, 10 entries

Ruby 13 lines of Ruby by Luka 312 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
# Your Gemfile
gem "rest-client"

# Console or Model
resource = RestClient::Resource.new(
    "localhost:3000/api/v1/distance_and_bearing",
    payload: {
    api_key: YOUR_API_KEY,
    pay...
skel 18 lines of HTML 454 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>Canvas tutorial</title>
    <script type="text/javascript">
      function draw() {
        var canvas = document.getEl...
skelton 19 lines of HTML 470 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>Canvas tutorial</title>
    <script type="text/javascript">
      function draw() {
        var canvas = document.getEl...
erb 3 lines of ERb by taro 89 Bytes Show Edit Expand
1
2
3
<h1>New blog</h1>
<p>title: <%= @blog.title %></p>
<p>content: <%= @blog.content %></p>
test 20 lines of C++ 1.37 KB Show Edit Expand
1
2
3
std::vector<sid_type> SATWbmdManager::normalOpRFY() {
    CCL_INFO(LogFlags::Audio, className(), "Generating RecommendationsForYou using normal operation mode");
    // The procedure to generate ...
arachni_name 1 line of C by 1 1 Byte Show Edit Expand
1
1
abc 1 line of Plain text by abc 1018 Bytes Show Edit Expand
1
[2020-08-13 20:36:07] INFO WEBrick 1.3.1 ,[2020-08-13 20:36:07] INFO ruby 2.4.7 (2019-08-28) [x86_64-darwin18] ,== Sinatra (v2.0.8.1) has taken the stage on 4567 for development with backup from WE...
tece to shopify 81 lines of Ruby 2.19 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
p_new = product
if r1.nil?
  puts "!! #{item_id} no product found in ERP"
  return ""
end

if r1["Vintage"].to_i > 1000
  p_new.title = r1["Vintage"] + " " + r1["LongTitle"]
else
  p_new.title...
x 2 lines of Python by sdsa 20 Bytes Show Edit Expand
1
2
def ref():
    pass
sqefsqdfdsqf 6 lines of Java 121 Bytes Show Edit Expand
1
2
3
4
5
6
#
# APPLICATION
#
spring.application.name=exemple
summer.application.st=HELLOWORLD
summer.application.version=1.0 

Page 11, 10 entries