Welcome! This page is using CodeRay 1.1.1.

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

Page 1, 10 entries

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...
as 43 lines of diff by asd 1.41 KB Show Edit Expand
1
2
3
4
5
6
7
aatman@Aatman-debian:~/Desktop$ diff setup_ltsp.fun setup_ltsp.fun.bu 
97c97
<     if [[ ! -r /opt/ltsp/amd64 ]]; then
---
>     if [[ ! -r /opt/ltsp/i386 ]]; then
108c108
<         cmd=(ltsp...
Clojure Sample 171 lines of Clojure by HSG 4.52 KB Show Edit Expand
1
2
3
4
5
6
7
(ns clojure.core.protocols)

(set! *warn-on-reflection* true)

(defprotocol CollReduce
  "Protocol for collection types that can implement reduce faster than
  first/next recursion. Called by...
aaaaa 115 lines of HTML 7.81 KB Show Edit Expand
1
2
3
4
5
6
7
<meta http-equiv="x-ua-compatible" content="IE=10">
    <script type="text/vbscript">
        Dim aw
        Dim plunge(32)
        Dim y(32)
        prefix = "%u4141%u4141"
        d = prefi...
count split inversions 39 lines of Ruby 866 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
#count split inversions via divide and conquer strat

def sort_and_count(array)
  mid = array.length / 2
  left = array[0...mid]
  right = array[mid..-1]
  
  if array.count <= 1
    return 0, arr...
aaa 27 lines of C 659 Bytes Show Edit Expand
1
2
3
4
5
6
7
<pre><code class="c">
  // 讓CmdQ中斷不要繼續做下去
    // ECC done handle
    xstRegFM.stFmStatus.field.bmECCErrFlag = 1;
    if(xstRegFM.stECCCtrl.field.bmPipeOn)
    {
        while(!xstRegFM.stFmSt...

Page 1, 10 entries