Material Design by Google

material design Material design is a unified system of visual, motion, and interaction design that adapts across different devices. Material design is inspired by tactile materials, such as paper and ink. Material surfaces interact in a shared space. Surfaces can have elevation (z-height) and cast shadows on other surfaces to convey relationships.

Quantum Paper

Material Design was codenamed as Quantum Paper, is a design language developed by Google and announced at the Google I/O conference on June 25, 2014. Expanding upon the “card” motifs first seen in Google Now, it is a design with increased use of grid-based layouts, responsive animations and transitions, padding, and depth effects such as lighting and shadows. Designer Matías Duarte explained that “unlike real paper, our digital material can expand and reform intelligently. Material has physical surfaces and edges. Seams and shadows provide meaning about what you can touch.” Google states that their new design language is based on paper and ink.

Material Design in Android

Material design can be used in Android version 2.1 and up via the v7 appcompat library, which is used on virtually all Android devices that were made after 2009. Material design will gradually be extended throughout Google’s array of web and mobile products, providing a consistent experience across all platforms and applications. Google has also released application programming interfaces (APIs) for third-party developers to incorporate the design language into their applications.

material design As of 2015, material design is incorporated in most of Google’s mobile apps for Android including Gmail, YouTube, Google Drive, Google Docs, Sheets and Slides, Google Maps, Inbox, and all of the Google Play-branded apps, and to a smaller extent in the Chrome browser and Google Keep; as well as in the desktop web interfaces of Google Drive, Docs, Sheets, Slides and Inbox.

The canonical implementation of material design for web application UIs is called polymer paper elements. It consists of the Polymer library, a shim that provides a Web Components API for browsers that do not implement the standard natively, and the paper elements collection.

For further reading, please Click Here…

Find and Replace in multiple Files

This is the Linux CLI-Command Line Interface command to Find all the occurrences of a string and Replace it with desired string in all the files in the directory.  This is very powerful and very fast.  So do take all the precautions before executing this command. The command is

grep -rl STRING1 SOMEDIR/ | xargs sed -i 's/STRING1/STRING2/g'

Explanation: The grep will search for the string 'STRING1' and pipe it to the sed command for the replacements.  The sed command replaces the STRING1 with STRING2  in all the occurrences of the STRING1.

YUM to download packages without installing

Command to download packages without installing….

  • Install the package including “downloadonly” plugin:
  • # yum install yum-downloadonly
  • Run yum command with “–downloadonly” option as follows:
  • # yum install –downloadonly –downloaddir=

Yumdownloader command can used for downloading the installed packages

  • Install the yum-utils package:
  • # yum install yum-utils
  • Run the command followed by the desired package:
  • # yumdownloader