Welcome! This page is using CodeRay 1.1.2.
We currently have
3040 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
test |
2 lines
of
PHP
by
test
|
21 Bytes |
Show |
Edit |
Expand |
|
json |
45 lines
of
diff
|
919 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10 |
"form": "6RDGcJ",
"entry": {
"serial_number": 123,
"total_price": 123,
"field_1": 123,
"field_2": "这是一行文字",
"field_3": "这是一段文字",
"field_4": "选项1",
"field_... |
|
Python - Check package versions |
20 lines
of
Python
|
699 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
import xmlrpclib
import pip
pypi = xmlrpclib.ServerProxy('http://pypi.python.org/pypi')
for dist in pip.get_installed_distributions():
available = pypi.package_re... |
|
txt |
24 lines
of
Plain text
|
606 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
<VirtualHost *:80>
#RewriteLogLevel 0
DirectoryIndex index.php index.html
<Directory "/d/web">
Allowoverride All
</Directory>
#----------------------------... |
|
test |
4 lines
of
Java
by
Benevides
|
495 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
public class TicketCategory { private String description; public Stri... |
|
sql |
1 line
of
SQL
|
46 Bytes |
Show |
Edit |
Expand |
1 |
SELECT ID FROM PERSONNE WHERE SN LIKE 'test%'; |
|
cdata |
22 lines
of
HTML
|
416 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11 |
From <a href="https://en.wikipedia.org/wiki/CDATA">Wikipedia</a>:
…as in this JavaScript example:
<script type="text/javascript">
document.write("<");
</script>
or th... |
|
rad |
3 lines
of
Ruby
by
HCV
|
84 Bytes |
Show |
Edit |
Expand |
1
2
3 |
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html |
|
s |
1 line
of
Python
|
46 Bytes |
Show |
Edit |
Expand |
1 |
ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub |
|
cpp |
31 lines
of
C++
by
cpp
|
556 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8
9
10
11
12 |
int HTTP_Client::Open (Ztring Url)
{
if (Handle)
Close();
Handle=HTTPClientOpenRequest(0);
if (HTTPClientSetVerb(Handle, VerbGet)!=0)
{
... |
|