Welcome! This page is using CodeRay 1.1.2.

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

Page 33, 10 entries

as 25 lines of C 413 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>
#include<stdlib.h>

int main()
{
     int a,b,c,d,e,f,g,h,i,j,k,l;
     printf("Enter a five digit number = ");
     scanf("%d",&a);
     b=a%10;
     c=a/10;
     d=c%1...
banks 3 lines of JavaScript by vbnamls 97 Bytes Show Edit Expand
1
2
3
Ember.ButtonExampleView = Ember.View.extend ({
    classNames: ['lwui-button-example-view']
});
das 35 lines of HTML by ds 663 Bytes Show Edit Expand
1
2
3
4
5
6
7
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <title...
hi 26 lines of Ruby by mp 524 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
def badge_maker(name)
   return "Hello, my name is #{name}."
end

def batch_badge_creator(array)
   array.map do |e|
      badge_maker(e)
   end
end

def assign_rooms(array)
   room_assi...
test 47 lines of Ruby 1.05 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
# # #
# For Reference
42
"String with #{ :interpolation }"
/regex$/
$/

# # #
# TEST CASE 1: Question Marks
# SHOULD BE HIGHLIGHTED AS: Array of Strings - Operator - String - Operator - St...
test 23 lines of Ruby by test 714 Bytes Show Edit Expand
1
2
3
4
5
6
class ForgotPasswordMailer < ActionMailer::Base
  
  def forgot_password(password, _somethine)
    setup_email(password.user)
    @subject    += 'You have requested to change your password'
  ...
c-example 13 lines of C++ by WongleDongle 477 Bytes Show Edit Expand
1
2
3
4
5
6
7
  static void Main(string[] args)
        {
            // Declare a Unity Container
            var unityContainer = new UnityContainer();
            unityContainer.LoadConfiguration();

  ...
あさsd 1 line of C 7 Bytes Show Edit Expand
1
ouea 14 lines of Ruby 512 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
  unless JSON.parse(`#{docker} inspect #{container_name}`).empty?
    sh "#{docker} rm -f #{container_name}"
  end
  puts "Creating image..."
  sh <<-EOF
    #{docker} \
      create \
     ...
Try2 2 lines of PHP 116 Bytes Show Edit Expand
1
2
$ExampleMasterObj = new ExampleMaster();  
$ExampleMasterObj->exec_query(); or $ExampleMasterObj->exec_query($sql);

Page 33, 10 entries