Welcome! This page is using CodeRay 1.1.2.

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

Page 31, 10 entries

asd 54 lines of Ruby by ff 2.03 KB Show Edit Expand
1
2
3
# These settings are documented in more detail at
# https://gitlab.com/gitlab-org/gitlab-ce/blob/a0a826ebdcb783c660dd40d8cb217db28a9d4998/config/gitlab.yml.example#L136
# Be careful not to break ...
su 18 lines of diff 576 Bytes Show Edit Expand
1
2
3
4
5
6
su
sqlite3 /data/data/com.android.providers.media/databases/external.db "select _data from files;" | grep "mp3" > /sdcard/log.txt
num_strings=`wc -l /sdcard/log.txt`
count=0

killall android.p...
JSX 18 lines of JavaScript by Dominic Chambers 584 Bytes Show Edit Expand
1
2
3
4
5
6
it('allows an item to be added to the list', function() {
  // given
  let todoApp = $(<TodoApp model={model} router={router}/>);

  // when
  todoApp.shallowRender().find('TodoHeader')[0].pro...
hierarchical query 20 lines of SQL by copied_from_postgres 759 Bytes Show Edit Expand
1
2
3
4
5
WITH RECURSIVE search_graph(parent_id, child_id, depth, path, cycle) AS (
        select g.parent_id, g.child_id, 1,
          ARRAY[child_id, parent_id], // # <1>
          false
        from ...
dsimport 57 lines of XML by Aditya 3.39 KB Show Edit Expand
1
2
3
4
5
6
<?xml version="1.0"?>
<data-sources>
    <data-source action="update" name="TestMemcached">
      <database-name></database-name>
      <minimum-pool-size>-1</minimum-pool-size>
      <maximum...
Groovy Sample 3 lines of Groovy (beta) 85 Bytes Show Edit Expand
1
2
3
['Emerson', 'Palmer', 'Lake'].each { progger ->
    println "Progger: $progger"
}
rubes 5 lines of JavaScript 194 Bytes Show Edit Expand
1
2
3
4
5
        data.addRows([
          [new Date(2015, 7, 23, 13, 53), 67, null],
          [new Date(2015, 7, 23, 13, 54), 1, null],
          [new Date(2015, 7, 23, 13, 55), 2, null]
        ]);
ddd 4 lines of JavaScript 35 Bytes Show Edit Expand
1
2
3
4
function(ee) {
  var tt = ee;

}
dd 4 lines of C++ 33 Bytes Show Edit Expand
1
2
3
4
void zz()
{
  return "dsds";
}
dd 2 lines of SQL 25 Bytes Show Edit Expand
1
2
# bash
command=/usr/bin/

Page 31, 10 entries