What is Ruby?
Ruby is a interpreted programming language developed by Yukihiro Matsumoto in 1995 and today Ruby is the fastest growing language.Ruby is the successful combination of −
Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.
At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.
📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.
💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.
🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.
🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.
✔ Latest world News
To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.
✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing
We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.
📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.
C:\ruby> rails -d mysql emails
React is a library for building composable user interfaces. It encourages the creation of reusable UI components which present data that changes over time. Lots of people use React as the V in MVC.
C:\Users\username\Desktop\reactApp>npm install react-router
C:\Users\username\Desktop\reactApp>npm install react-addons-css-transition-group
| S.N. | Class Name & Description |
|---|---|
| 1 | .pure-u-* Sets the container to occupy required space on any device. |
| 2 | .pure-u-sm-* Sets the container to occupy required space on a devices with width ≥ 568px. |
| 3 | .pure-u-md-* |
| S.N. | Class Name & Description |
|---|---|
| 1 | pure-form Represents a compact inline form. |
| 2 | pure-form-stacked Represents a stacked form with input elements below the labels. To be used with pure-form. |
| 3 | pure-form-aligned |
| S.N. | Class Name & Description |
|---|---|
| 1 | pure-button Represents a standard button. Can be used to style a link and button as well. |
| 2 | pure-button-disabled |
| S.N. | Class Name & Description |
|---|---|
| 1 | pure-table Represents a basic table with any a default padding, border and an emphasized header. |
| 2 | pure-table-bordered Draws a table with a border across rows. |
| S.N. | Class Name & Description |
|---|---|
| 1 | pure-img Represents a basic styled image without any border. Image grows and shrinks with the content maintaining the correct ratio |
$R(1, 10).inspect();
$R('a', 'e').inspect();
This will produce the following result −<html><h3 class = "togglers">Toggle 1</h3>
| S.N. | Class Name & Description |
|---|---|
| 1 | row Specifies a padding-less container to be used for responsive columns. This class is mandatory for responsive classes to be fully responsive. |
| S.N. | Class Name & Description |
|---|---|
| 1 | z-depth-0 Remove the shadow of elements having z-depth by default. |
| 2 | z-depth-1 Styles a container for any HTML content with 1px bordered shadow. Adds z-depth of 1. |
| S.N. | Class Name & Description |
|---|---|
| 1 | None Represents a basic table without any border. |
| 2 | stripped Displays a stripped table. |
| 3 | bordered |
html { font-family: GillSans, Calibri, Trebuchet, sans-serif; }Following are the examples of headings, blockquotes and free-flow but responsive text.
<!DOCTYPE html> <html> <head> <title>The Materialize Typography Example</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> </head> <body class="container"> <h2>Typography Demo</h2> <hr/> <h3>Headings</h3> <div class="card-panel"> <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h5>Heading 5</h5> <h6>Heading 6</h6> </div> <h3>Block Quotes</h3> <div class="card-panel"> <blockquote> The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionality. </blockquote> </div> <h3>Responsive free-flow text</h3> <div class="card-panel"> <p class="flow-text"> The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionality. </p> </div> </body> </html>
The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionality.
| S.N. | Class Name & Description |
|---|---|
| 1 | badge Identifies element as an MDL badge component. Required for span element. |
| 2 | new Adding a "new" class to a badge component gives it a background. |
| S.N. | Class Name & Description |
|---|---|
| 1 | nav-wrapper Set the nav component as breadcrumb/nav bar wrapper. |
| S.N. | Class Name & Description |
|---|---|
| 1 | chip Set the div container as chip. |
| S.N. | Class Name & Description |
|---|---|
| 1 | collection Set the div or ul container as collection. |
| 2 | collection-item |
| S.N. | Class Name & Description |
|---|---|
| 1 | page-footer Set the div container as footer. |
| 2 | footer-copyright Set the div container as footer-copyright container. |
| S.N. | Class Name & Description |
|---|---|
| 1 | input-field Set the div container as input field container. Required. |
| 2 | validate Adds validation styles to an input field. |
| S.N. | Class Name & Description |
|---|---|
| 1 | pagination Set the ul element as pagination component. |
| S.N. | Class Name & Description |
|---|---|
| 1 | collapsible Identifies element as an materialize collapsible component. Required for ul element. |
| 2 | collapsible-header Sets div as section header. |
| 3 | collapsible-body Sets div as section content container. |
| 4 | popout Creates a popout collapsible. |
| 5 | active Opens a section. |
| 6 | expandable Marks a collapsible component as expandable. |
| 7 | accordion Marks a collapsible component as accordion. |
<html> <head> <title>The Materialize Collapsible Example</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> </head> <body class="container"> <h4>Simple Accordion</h4> <ul class="collapsible" data-collapsible="accordion"> <li> <div class="collapsible-header"><i class="material-icons">filter_drama</i>First Section</div> <div class="collapsible-body"><p>This is first section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">place</i>Second Section</div> <div class="collapsible-body"><p>This is second section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">whatshot</i>Third Section</div> <div class="collapsible-body"><p>This is third section.</p></div> </li> </ul> <h4>Popout Accordion</h4> <ul class="collapsible popout" data-collapsible="accordion"> <li> <div class="collapsible-header"><i class="material-icons">filter_drama</i>First Section</div> <div class="collapsible-body"><p>This is first section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">place</i>Second Section</div> <div class="collapsible-body"><p>This is second section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">whatshot</i>Third Section</div> <div class="collapsible-body"><p>This is third section.</p></div> </li> </ul> <h4>Accordion with Preselected Section</h4> <ul class="collapsible" data-collapsible="accordion"> <li> <div class="collapsible-header"><i class="material-icons">filter_drama</i>First Section</div> <div class="collapsible-body"><p>This is first section.</p></div> </li> <li> <div class="collapsible-header active"><i class="material-icons">place</i>Second Section</div> <div class="collapsible-body"><p>This is second section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">whatshot</i>Third Section</div> <div class="collapsible-body"><p>This is third section.</p></div> </li> </ul> <h4>Expandables</h4> <ul class="collapsible" data-collapsible="expandable"> <li> <div class="collapsible-header"><i class="material-icons">filter_drama</i>First Section</div> <div class="collapsible-body"><p>This is first section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">place</i>Second Section</div> <div class="collapsible-body"><p>This is second section.</p></div> </li> <li> <div class="collapsible-header"><i class="material-icons">whatshot</i>Third Section</div> <div class="collapsible-body"><p>This is third section.</p></div> </li> </ul> </body> </html>
Materialize.toast(message, displayLength, className, completeCallback);Where
| S.N. | Class Name & Description |
|---|---|
| 1 | tabs Identifies ul as an materialize tab component. Required for ul element. |
| 2 | active Make a tab active. |
| S.N. | Class Name & Description |
|---|---|
| 1 | waves-effect Put the wave effect on the control. |
| 2 | waves-light Put the wave effect as white colored. |
| 3 | waves-red Put the wave effect as red colored. |
| 4 | waves-green Put the wave effect as green colored. |
| 5 | waves-yellow Put the wave effect as yellow colored. |
| 6 | waves-orange Put the wave effect as orange colored. |
| 7 | waves-purple Put the wave effect as purple colored. |
| 8 | waves-teal Put the wave effect as teal colored. |
<!DOCTYPE html> <html> <head> <title>The Materialize Waves Effects Example</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script> </head> <body class="container"> <h3>Waves Effects Demo</h3> <div class="collection waves-color-demo"> <div class="collection-item"> <code class=" language-markup">Default</code> <a href="#!" class="waves-effect btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-light</code> <a href="#!" class="waves-effect waves-light btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-red</code> <a href="#!" class="waves-effect waves-red btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-yellow</code> <a href="#!" class="waves-effect waves-yellow btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-orange</code> <a href="#!" class="waves-effect waves-orange btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-purple</code> <a href="#!" class="waves-effect waves-purple btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-green</code> <a href="#!" class="waves-effect waves-green btn secondary-content">Click Me!</a> </div> <div class="collection-item"> <code class=" language-markup">waves-teal</code> <a href="#!" class="waves-effect waves-teal btn secondary-content">Click Me!</a> </div> </div> </body> </html>
Default
waves-light
waves-red
waves-yellow
waves-orange
waves-purple
waves-green
waves-teal