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

From carrot 9 lines of Python 444 Bytes Show Edit Expand
1
2
3
4
from carrot.connection import BrokerConnection
conn = BrokerConnection(hostname="localhost", port=5672,
                        userid="django", password="django",
                        virtua...
Random DTD and XML Test 26 lines of XML by Not a sodding bot! 699 Bytes Show Edit Expand
1
2
3
4
5
6
7
<!DOCTYPE TVSCHEDULE [ 

<!ELEMENT TVSCHEDULE (CHANNEL+)>
<!ELEMENT CHANNEL (BANNER, DAY+)>
<!ELEMENT BANNER (#PCDATA)>
<!ELEMENT DAY ((DATE, HOLIDAY) | (DATE, PROGRAMSLOT+))+>
<!ELEMENT HOLI...
JavaScript in HTML 8 lines of JavaScript by troex 182 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
<script type="text/javascript" charset="utf-8">
  $().ready({
    $('#my-div').elfinder({
      url : 'connectors/php/connector.php',
      lang : 'ru'
    })
  })
</script>
Test 5 lines of C++ by a 44 Bytes Show Edit Expand
1
2
3
4
5
class Test
def he
@he = "hehehe"
end
end
c# test 10 lines of C++ by CrazyMenConnected 266 Bytes Show Edit Expand
1
2
3
4
5
6
    protected override void Page_Load(object sender, EventArgs e)
    {
      // module setup
      this.dataTableCaption = "Editor de serviços";
      this.tableName = "CFG_SERVICES";
      this.moduleID = ...
json 59 lines of JSON 1.07 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
{"resource" : {
 "name" : "nazwa",
 "description" : "opis",
 "availabilities" : [
  {
   "date_from" : "d/m/Y",
   "date_to" : "d/m/Y",
   "Day1From" : "H:i",
   "Day1To" : "H:i",
   "Day2...
Dummy SQL 1 line of SQL 44 Bytes Show Edit Expand
1
delete from #ttt where id not in (1, 2, 3)
Python test 5 lines of Python 125 Bytes Show Edit Expand
1
2
3
4
5
class MyClass() :
    @Decorator
    def myFunction(self, *args, **kwargs) :
        print "wewt"
        return args[0] 
Testing diff 14 lines of diff 679 Bytes Show Edit Expand
1
2
3
4
5
--- docroot/local-settings-template.php 2010-01-04 13:52:08.703078781 -0800
+++ docroot/local-settings.php  2010-01-25 16:34:42.744591628 -0800
@@ -17,7 +17,7 @@
 ini_set ('log_errors', 1);
 in...
test yaml 20 lines of YAML 348 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
prod:
  logger:
    class:   sfNoLogger
    param:
      level:   err
      loggers: ~

cli:
  controller:
    class: sfConsoleController
  request:
    class: sfConsoleRequest
  respon...

Page 277, 10 entries