Welcome! This page is using CodeRay 1.1.2.

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

Page 141, 10 entries

Diff test 10 lines of diff by Jaja 198 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
diff --git a/Gemfile b/Gemfile
index dc05d66..cb6d2f7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -7,6 +7,7 @@ gem 'rails', '3.2.12'
 
 gem 'pg'
-gem 'coderay'
+gem 'coderay_bash'
 gem 'devise'
Baz 4 lines of Python by Boo 114 Bytes Show Edit Expand
1
2
3
4
Foo:
  # Bu/Bd Value
  bud_value = if bud_calc>0 then MIN(bud_calc, max_buyup)*bup_mult else bud_calc*bdn_mult

lala 12 lines of JavaScript by lala 510 Bytes Show Edit Expand
1
2
3
4
5
6
7
    <script type="text/javascript">

          var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-']);

          (function() {
            var ga = document.createElement('script...
Code Test 2 lines of C++ by demo 28 Bytes Show Edit Expand
1
2

int a;/*demo*/int b;//demo
Test xml 5 lines of XML by j 182 Bytes Show Edit Expand
1
2
3
4
5
<cm-mapping package="zbs.pln.postpaid.switcher">
    <class name="InquiryRequestAdditional">
      <field name="switcherId" type="string" length="7" />
    </class>
</cm-mapping>
test 39 lines of C++ 1.21 KB Show Edit Expand
1
2
3
4
5
6
7
...
        int portd, res;
        struct termios options, oldtio;
        char buf[BUFFER_SIZE];

        portd = open(PORTDEVICE, O_RDWR | O_NOCTTY | O_NDELAY);
        fcntl(portd, F_SETF...
SetAddRemoveProgramsIcon 38 lines of C by RuWi 1.67 KB Show Edit Expand
1
2
3
4
5
    private static void SetAddRemoveProgramsIcon()
    {
        //only run if deployed 
        if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed
             && Applic...
Just a test 1 line of SQL 65 Bytes Show Edit Expand
1
select abc+',' from table1 where 1=1 group by id for xml path('')
asd 1 line of HTML by asd 10 Bytes Show Edit Expand
1
<a>bob</a>
xml?? 7 lines of XML 179 Bytes Show Edit Expand
1
2
3
4
5
6
7
<? xml version="1.0" encoding="utf-8"?>
<note>
    <to>Tove</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <body>Don't forget me this weekend!</body>
</note>

Page 141, 10 entries