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 22, 10 entries

PHP Code example 62 lines of PHP 2.66 KB Show Edit Expand
1
2
3
4
5
<?php
 
       function get_data($userName, $userPassword, $filter, $process, $verbetype, $updatetype, $requesttype) {
            //encapsulate the credentials into a base64 string
           ...
sql 3 lines of SQL 39 Bytes Show Edit Expand
1
2
3
select * 
from tes
where a=1 AND b=2;
dsafdas 1 line of Plain text by aaaa 94 Bytes Show Edit Expand
1
compile group:'${project.groupId}', name:'${project.artifactId}', version:'${project.version}'
kotlin 4 lines of Java 97 Bytes Show Edit Expand
1
2
3
4
// mi primer programa con kotlin
fun main(args: Array<string>) {
    println("¡Hola Mundo!")
}
a 22 lines of HTML by a 536 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <script defer src="https://js.onsip.com/onsip-element-loader.js"></script>
    <style>
      onsip-element {
        border: 1p...
sql 5 lines of SQL by q 138 Bytes Show Edit Expand
1
2
3
4
5
with t as (select level as n from dual connect by level <= 10)
select t.n, to_char(trunc(sysdate)+t.n,'yyyy.mm.dd, day')
  from t;

  
heredocs 8 lines of Ruby by svbtle 77 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
p <<"A#{b}C"
#{
  <<"A#{b}C"
A#{b}C
}
str
A#{b}C
puts "something else"
test 154 lines of SQL 10.5 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DELIMITER $$
DROP PROCEDURE IF EXISTS report_6213$$
CREATE PROCEDURE report_6213
  (
    IN p_org_id INT,
    IN p_beg_date DATE,
    IN p_end_date DATE
  )

  BEGIN

    SELECT

     ...
test 6 lines of Ruby by test 77 Bytes Show Edit Expand
1
2
3
4
5
6
def putter(text)
  puts text
end

putter 'Hello World!'
#=> Hello World!
test 11 lines of JavaScript 308 Bytes Show Edit Expand
1
2
3
4
5
6
  /**
   * Search for key and return true if it was found
   * Avg. Runtime: O(1)
   * @param {any} key
   * @returns {boolean} indicating whether an element
   *  with the specified key exist...

Page 22, 10 entries