Welcome! This page is using CodeRay 1.1.2.
We currently have
3043 rays
in the database.
You can add a
New Ray
or browse the posted rays by pages.
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... |
|
test |
1 line
of
diff
|
5 Bytes |
Show |
Edit |
Expand |
|
safdf |
4 lines
of
Ruby
by
asdf
|
40 Bytes |
Show |
Edit |
Expand |
1
2
3
4 |
class Test < Parent
def tut
end
end |
|