Welcome! This page is using CodeRay 1.1.2.

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

Page 126, 10 entries

test some code 156 lines of PHP by guest1 6.46 KB Show Edit Expand
1
2
3
4
5
6
<?php
echo tag('link', array('rel'=>'stylesheet', 'type'=>'text/css', 'media'=>'screen', 'href'=>'/~qannah/css/website/cat.css'));

function fileExists($path)
{
    return (@GetImageSize($path...
tetstt 19 lines of diff 642 Bytes Show Edit Expand
1
2
3
4
5
6
--- lao  Sat Jan 26 23:30:39 1991
+++ tzu  Sat Jan 26 23:30:50 1991
@@ -1,7 +1,6 @@
-The Way that can be told of is not the eternal Way;
-The name that can be named is not the eternal name.
 The...
test 4 lines of Python by test 186 Bytes Show Edit Expand
1
2
3
4
    try:
        lat, long = float(params['lat']), float(params['long'])
    except (KeyError, ValueError):
        return json_error('where would you like your waffle today?', 400)
Test 16 lines of C++ 142 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class C
{
public:
  C();
  ~C();
  void somefn() const;
private:
}

bool bTest;
if (bTest)
{
  C c;
  callfn();
  c.somefn();
}
xml 14 lines of XML by me 175 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14

  4.0.0

  com.liferay.sample
  sample-project
  1.0-SNAPSHOT
  pom

  sample-project
  http://www.liferay.com

  
    /path/to/liferay/bundle/deploy
    6.1.0
teset 7 lines of XML 312 Bytes Show Edit Expand
1
2
3
    <addin name="测试项目" type="InProc" eventQueue="True" threadMode="MultiThread" allowStandby="False" >
      <startUp type="Automatic" propertyName="" condition="" value="" />
      <inProc dll="...
test diff 341 lines of diff by afdsjlk 10.4 KB Show Edit Expand
1
2
3
4
5
6
diff --git a/all/post-receive/generate-rev-diff.py b/all/post-receive/generate-rev-diff.py
new file mode 100644
index 0000000..4d8715f
--- /dev/null
+++ b/all/post-receive/generate-rev-diff.py
...
test of java property file 23 lines of Java by test 1017 Bytes Show Edit Expand
1
2
3
################################################################################
# Parametri di configurazione del connettore.
####################################################################...
test 5 lines of Ruby 158 Bytes Show Edit Expand
1
2
3
4
5
"http://www.example.com?" + { language: "ruby", status: "awesome" }.to_query
# => "http://www.example.com?language=ruby&status=awesome" 
def x
  "x"
end
create product migration 18 lines of XML 604 Bytes Show Edit Expand
1
2
3
4
5
6
7
<message name="startRequest">
  <part name="payload" type="startRequestMessage"/>
</message>
 
<portType name="start">
  <operation name="start">
    <input name="startTomcat" message="startR...

Page 126, 10 entries