Posts

Showing posts with the label Google

Isaac Newton's Apple Falling Animation Effect using Google and Chrome DevTools

Image
Google has released an amazing animation effect that appears when you click on the apple on the page that appears when you search for " Isaac Newton " or " Sakura ." This is my simple try with a tiny JavaScript to create additional effects, like more apples falling automatically without clicking on the apple image. The effect appears on the screen as a live wallpaper. The JavaScript code used in the video tutorial is bellow, setInterval(function() { document.getElementsByClassName("smm4bb")[0].click(); }, 100); Note: To paste code into the terminal, enter "allow pasting" when requested. If you don't put "allow pasting," nothing will happen and no code will be pasted. The warning won't appear again after pasting permission has been granted.

Hydrophobicity plot using BioPython on Google Colab Notebook

Image
A hydrophobicity or lipophilicity plot is a 2D graphical display of the hydrophobic regions in the protein. The Kyte-Doolittle scale was widely used for identifying surface-exposed regions and transmembrane regions. The plot has the amino acid sequence of a protein on its x -axis and a degree of hydrophobicity on its y -axis. The graph regions with a positive value are hydrophobic. There are several hydrophobicity scales have been published for various uses. The commonly used hydrophobicity scales are Kyte-Doolittle scale, Engelman scale (GES scale), Eisenberg scale, Hopp-Woods scale, Cornette scale, Rose scale, and Janin scale. For further details, refer my previous article https://www.biob.in/2014/05/hydrophobicity-plot-using-biopython.html Program Implementation In this tutorial, I have used Google Colab Notebook for running the Python program. Click here for interactive demo. Python Program try: import google.colab !pip install biopython except ImportError: pa...

Taking High Resolution Web-Page Screenshots on Chrome

Image
Google Chrome (or simply Chrome) is a free and fast web browser developed by Google . The currently released Chrome web browser comes with built-in functionality to take a screenshot of webpages without any add-ons. It allows taking a high-quality screenshots at high resolutions. Types of Screenshots The Chrome browser support taking 4 types of screenshots of a web page. Capture area screenshot - taking screenshot on specific region Capture full size screenshot - taking scrolling screenshot from top to bottom Capture node screenshot - taking screenshot of a specific HTML element Capture screenshot - taking full screen screenshot The Capture full size screenshot / Capture screenshot options are accessible via Chrome's developer tools (Ctrl+Shift+I). Furthermore, Capture area screenshot / Capture node screenshot options are accessible via Run command (Ctrl+Shift+P) by entering command “ screenshot ”. The video tutorial below demonstrates...

Sir Isaac Newton's 367th Birthday

Image
On 4 January 2010, Google Doodle celebrated Sir Isaac Newton's 367th Birthday, as he was born on January 4, 1643. His birthdate is sometimes also marked as December 25, 1642, due to England's use of the Julian calendar at the time. This celebrated English physicist and mathematician, known for his work on gravity and laws of motion, is a key figure in the Scientific Revolution. Today on the Google home page, an animated apple is falling, over and over, with a satisfying plunk—a 367th birthday tribute to Sir Isaac Newton. Legend has it that Isaac Newton formulated gravitational theory in 1665 or 1666 after watching an apple fall and asking why the apple fell straight down, rather than sideways or even upward. "He showed that the force that makes the apple fall and that holds us on the ground is the same as the force that keeps the moon and planets in their orbits," said Martin Rees, President of Britain's Royal Society, the United Kin...