Welcome! This page is using CodeRay 1.1.2.

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

Page 124, 10 entries

JavaTest 17 lines of Java 531 Bytes Show Edit Expand
1
2
3
4
5
6
7
public abstract class DB {
    
    private static final Set<String> _obedientCommands = new HashSet<String>();

    static {
        _obedientCommands.add("group");
        _obedientCommands...
a 1 line of HTML by b 47 Bytes Show Edit Expand
1
CodeRay.scan('puts "Hello, world!"', :ruby).div
test 7 lines of YAML by t 346 Bytes Show Edit Expand
1
2
3
4
perl -I %XREPORT_HOME%/perllib %XREPORT_HOME%/sbin/xrAssemblyBundle.pl ^
       -N {xml config name} ^
       -bundle {nome bundle da tabella tbl_BundlesNames} ^
       -wrk {Working Directory P...
Ruby Controller example 16 lines of Ruby by d4x 383 Bytes Show Edit Expand
1
2
3
4
5
6
7
class CommentsController < ApplicationController

  def create
    @post = Post.find(params[:post_id])
    @comment = @post.comments.create(params[:comment])
    redirect_to post_path(@post)
...
ca 1 line of Ruby 15 Bytes Show Edit Expand
1
@arr.map(&:xxx)
a 7 lines of Ruby by a 292 Bytes Show Edit Expand
1
2
3
4
5
# Variável local definida fora de um método, não é enxergada pelo método
# Obs.: A declaração do método começa em def e termina em end
opus_magnum = true
def salve_hannah
   # Erro! A variável ...
code diff 24 lines of diff 402 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
5c5
< Port 4222
---
> Port 2222
30,31c30,31
< RSAAuthentication yes
< PubkeyAuthentication yes
---
> RSAAuthentication no
> PubkeyAuthentication no
51c51
< PasswordAuthentication no
---...
php/html mix 24 lines of HTML by ben 1.39 KB Show Edit Expand
1
2
3
4
5
<h3>Daniweb Control Centre</h3>
<div class="row-fluid show-grid">
  <div class="span3 eqcolumn">
         <h4>Favourite Forums</h4>
        <p><?php print T_("List the latest posts to your favour...
asddsa 2 lines of C++ 23 Bytes Show Edit Expand
1
2
void main()
int a = 1;
test 15 lines of PHP 564 Bytes Show Edit Expand
1
2
3
4
5
function custom_wmu_image_sizes($sizes) {
       unset( $sizes['thumbnail']);
       unset( $sizes['medium']);
       unset( $sizes['large']);
       unset( $sizes['full'] ); // removes full si...

Page 124, 10 entries