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.
jklk |
9 lines
of
C
|
284 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6 |
<div id="main_page">
<div id="show_post">
<h3><%= @post.title %></h3>
<p><%= @post.category %></p>
<p><%= date_format(@post.created_at) %></p>
<p><%= coderay(@post.body).html_safe %><... |
|
test |
8 lines
of
XML
|
115 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5
6
7
8 |
<list>
<item>
<name>hello</name>
</item>
<item class="hello2">
<name>hello2</name>
</item>
</list> |
|
gfh |
3 lines
of
Python
by
fgh
|
140 Bytes |
Show |
Edit |
Expand |
1
2
3 |
required_conditions = [
ValueValidator(valid_value=lambda value, other_value: value < other_value, other_field='I_optimistic_date'),
] |
|
test |
1 line
of
Java
|
27 Bytes |
Show |
Edit |
Expand |
1 |
gem ‘script_monitor_client’ |
|
Ruby |
63 lines
of
Ruby
by
Maksym
|
2.4 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
filename = ARGV.first
contents = File.read(filename)
participant_maps = {}
participant_trans = {} |
|
Objective C as C++ |
4 lines
of
C++
by
Maksym
|
216 Bytes |
Show |
Edit |
Expand |
1
2
3 |
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
NSString *cellText = cell... |
|
Objective C as C |
4 lines
of
C
by
Maksym
|
216 Bytes |
Show |
Edit |
Expand |
1
2
3 |
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
NSString *cellText = cell... |
|
tet |
14 lines
of
C++
by
test
|
536 Bytes |
Show |
Edit |
Expand |
1
2
3
4
5 |
const cv::Mat input(cv::imread("sample.jpg"));
cv::Mat output(input.size(), input.type());
cv::Ptr<cv::BaseFilter> filter(
new OperationFilter<cv::Vec3b>(
[](const cv::Vec3b& src, c... |
|
fdfd |
1 line
of
SQL
by
fdfd
|
37 Bytes |
Show |
Edit |
Expand |
1 |
SELECT * FROM table WHERE user_id = 1 |
|
LOM_LOR-AP.xsd |
807 lines
of
XML
by
ITYE
|
28.9 KB |
Show |
Edit |
Expand |
1
2
3
4
5 |
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified"
versio... |
|