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.

Page 259, 10 entries

perl? 16 lines of CSS by laksd 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl

my $variables = {
scalar  =>  {
  description => "single item",
  sigil => '$',
},
array   =>  {
  description => "ordered list of items",
  sigil => '@',
},
hash    =>  {
  descript...
perl? 16 lines of C++ by laksd 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl

my $variables = {
scalar  =>  {
  description => "single item",
  sigil => '$',
},
array   =>  {
  description => "ordered list of items",
  sigil => '@',
},
hash    =>  {
  descript...
perl? 16 lines of JavaScript by laksd 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl

my $variables = {
scalar  =>  {
  description => "single item",
  sigil => '$',
},
array   =>  {
  description => "ordered list of items",
  sigil => '@',
},
hash    =>  {
  descript...
perl? 16 lines of PHP by laksd 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl

my $variables = {
scalar  =>  {
  description => "single item",
  sigil => '$',
},
array   =>  {
  description => "ordered list of items",
  sigil => '@',
},
hash    =>  {
  descript...
perl? 16 lines of C by laksd 246 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl

my $variables = {
scalar  =>  {
  description => "single item",
  sigil => '$',
},
array   =>  {
  description => "ordered list of items",
  sigil => '@',
},
hash    =>  {
  descript...
Ruby/RAILS 36 lines of Ruby by Mat 1.12 KB Show Edit Expand
1
2
3
4
5
  def create
    @presentation = Presentation.new(params[:presentation])
    begin
      @chapters = Converter::presentation(@presentation.youbbcode)
    rescue Converter::ConversionException =...
Bash? 11 lines of Ruby 320 Bytes Show Edit Expand
1
2
3
4
5
6
<markdown>
  if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] && [ -n "$PS1" ]
  then
    if [ `/usr/bin/whoami` = 'root' ]
    then
      export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\w \n\$ \[\033...
C_test 110 lines of C by John 3.39 KB Show Edit Expand
1
2
3
4
5
6
7
8
int main(int Parm_Count, char *Parms[])
{
   int Quit = 0, i;
   dsp_struct dsp;
   char input_buffer[MAX_LINE_LENGTH];

   // Setup structure (to be saved to a file)
   memset(&dsp, 0, size...
Test 38 lines of diff 1015 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
column_count = 0;
k_chars = [0 0 0 0 0 0 0 0];
k_chars = k_chars(lane_indx);
k_chars = sum(k_chars.*bin_to_dec);
count = -1;
vec = (2.^(7:-1:0));
for lp1 = 1:(N-Np-6)
    if (send_prbs == 1)...
trollop 625 lines of Ruby by murphy < William Morgan 19.7 KB Show Edit Expand
1
2
3
4
## lib/trollop.rb -- trollop command-line processing library
## Author::    William Morgan (mailto: wmorgan-trollop@masanjin.net)
## Copyright:: Copyright 2007 William Morgan
## License::   the ...

Page 259, 10 entries