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

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...
Regex 1 line of Java by Lem 24 Bytes Show Edit Expand
1
res\((['"])([\w%]+?)\1\)
title 20 lines of JSON by name123 330 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "import": {
    "vat": 0.21,
    "weight": 0.35,
    "currency": "EUR",
    "fallback": {
      "dimensions": {
        "unit": "mm",
        "width": 80,
        "height": 140,
        "length": 50
      }
    },
...
frase sin espacio 10 lines of Python by Dragón 176 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
frase = "esta es una frase"
nueva_frase =""
i=0

while i < len(frase):
   if frase[i] !=" ":
      nueva_frase = nueva_frase + frase[i]
   i = i + 1

print nueva_frase
test1 3 lines of Clojure by tk 9 Bytes Show Edit Expand
1
2
3
- 

#
feafea 1 line of Python by feafea 8 Bytes Show Edit Expand
1
{{hola}}
SHELL 2 lines of YAML by gouet 85 Bytes Show Edit Expand
1
2
c:\OpenServer\domains\runexis-stat\console
$ yii address/metrotel-update  5000 16254
test 1 line of C 13 Bytes Show Edit Expand
1
1111111111111
event 11 lines of XML 380 Bytes Show Edit Expand
1
2
3
4
5
6
            <Events>
                <Detection>
                    <comments>msg</comments>
                    <eventTime>2015</eventTime>
                    <messageL>
                   ...
AngularJS 13 lines of JavaScript by armadillo 339 Bytes Show Edit Expand
1
2
3
4
5
6
var myApp = angular.module('myApp', []);
    myApp.controller('MainCtrl', ['$scope', function($scope){
      $scope.text = "Hello, Angular fanatic";      
    }]);

    myApp.controller('UserCtrl', ['$sco...

Page 41, 10 entries