Welcome! This page is using CodeRay 1.1.1.

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

Page 3, 10 entries

Inventory 8 lines of Java by Alexander Salas Bastidas 240 Bytes Show Edit Expand
1
2
3
4
InventoryTask inventoryTask = new InventoryTask(MainActivity.this, "Agent_v1.0", new InventoryTask.OnTaskCompleted() {
  @Override
  public void onTaskCompleted(String data) {
    Log.d("XML", d...
C++ 11 lines of C++ 171 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
{
  /* Sub-section comment. */
  ++value; // Inline comment.
  // Above the line comment.
  --value; 

  /* Sub-section comment. */
  if (value == 1)
  {
  }
}
Test 18 lines of Groovy (beta) 479 Bytes Show Edit Expand
1
2
3
4
5
6
group 'com.coupang.utils.hbasewrapper'
version '1.0-SNAPSHOT'

dependencies {
  compile group: 'org.apache.hbase', name: 'hbase-client', version: '1.3.0'
  compile group: 'org.apache.hbase', nam...
batter state 1 line of Ruby by bovi 62 Bytes Show Edit Expand
1
Array.new(100) { analogRead(ADC1_CHANNEL_7) }.inject(:+) / 100
teste 33 lines of JavaScript 2.43 KB Show Edit Expand
1
2
3
4
/VIRTUALIF/ERP/MAC/CRA/classes/Curso.php
/VIRTUALIF/ERP/MAC/CRA/config/outlet-config.php
/VIRTUALIF/ERP/MAC/CRA/controlador/ctrl_curso_saneamento/listarCategoriaFormaCurso.php
/VIRTUALIF/ERP/MAC...
yaml sens 16 lines of YAML 413 Bytes Show Edit Expand
1
2
3
4
5
6
7
Image Sensor:

 - sensor model: IMX174LQJ-C
 - datasheet:    Sony 01/06/14
 - type:         CMOS Global shutter, overlap mode
 - color filter: RGB Bayer mosaic
 - pixel resolution (H × V): 19...
testshell 6 lines of diff by alex 86 Bytes Show Edit Expand
1
2
3
4
5
6
# tittiiti
service toto status >/dev/null
if [ $? == 2 ];
 then
   echo toto
fi
diff sample 14 lines of diff by nobody 82 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
3c3
< 3
---
> 333
5c5
< 555
---
> 5
7,8c7,8
< 7
< 888
---
> 777
> 8
s 1 line of SQL 17 Bytes Show Edit Expand
1
merge into dual
Reconstructing texture data 11 lines of C++ by Jack 338 Bytes Show Edit Expand
1
2
3
4
5
6
size_t oldByteSize = width * height * 2; //gray alpha
size_t byteSize = width * height * 4; //rgba
uint8_t* newData = (uint8_t*)malloc(byteSize);

size_t i = 0, j = 0;
for(; i < oldByteSize; i...

Page 3, 10 entries