Welcome! This page is using CodeRay 1.1.2.

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

Page 62, 10 entries

SASS as HTML 11 lines of HTML 408 Bytes Show Edit Expand
1
2
3
4
5
6
@function lines-for-font-size($font-size) {
  $lines: if($round-to-nearest-half-line,
    ceil(2 * $font-size / $base-line-height) / 2,
    ceil($font-size / $base-line-height)
  );
  // If li...
SASS as CSS 11 lines of CSS 408 Bytes Show Edit Expand
1
2
3
4
5
6
@function lines-for-font-size($font-size) {
  $lines: if($round-to-nearest-half-line,
    ceil(2 * $font-size / $base-line-height) / 2,
    ceil($font-size / $base-line-height)
  );
  // If li...
c++ t 5 lines of C++ 55 Bytes Show Edit Expand
1
2
3
4
5
class Objecct
{
  int main() {
printf("Hello");}
};
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();

  ...

Page 62, 10 entries