Welcome! This page is using CodeRay 1.1.2.

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

Page 261, 10 entries

perl? 16 lines of Ruby 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 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...

Page 261, 10 entries