Tuesday, September 7, 2021

Adding webparts on O365 Modern site page

 Add-PnPClientSideWebPart -Page "" -Component "" -WebPartProperties ""

Explanation of Parameters

Page - Accepts String

Component - Accepts String

WebPartProperties - Accepts JSON Object


JSON Object can be as simple as: 

$jsonObj = @"

{

"Property1": "value",

"Property2": "value"

}

"@


Sometimes, one can easily add webparts from the userinterface, and hard to identify the property names to configure the webpart. In those scenarios, use this:


$page = Get-PnPClientSidePage -Identity ""    

Explanation of parameters

Identity - Accepts String (example: home.aspx)


$webpart = $page.Controls | ? {$_.InstanceId -eq "GUID string"}  

Explanation of parameters

GUID String can be accessed from the Source control of the page (from UI)


$webpart.PropertiesJson


Will reveal the properties in JSON Format, that can be used as is in the First command above to add webpart on the page.


Source: 

Self, and

Working with modern client-side pages using PnP PowerShell


Tuesday, December 19, 2017

Android Malware Mines Monero, Can Literally Destroy Phones

We have seen apps that can cause battery to heat-up over extended use or sometimes even when app isn't functioning correctly. Similarly, one can design an app that can cause the app to behave badly in the background, which would eventually cause the battery to heat up and burst.
And this can be configured to happen rather quickly, doesn't have to happen over extended usage. 

There isn't any task manager on phones, just like on PC's, that shows apps and their memory usage for someone to kill a process. This article provides details of one such malware that will be surfacing in the market pretty soon.

At the end of this article, you do see their suggestion of what/how things happen, and how to resolve it, if you experience the issue. Review here

Source: International Business Times

Thursday, April 14, 2016

The Science of Tongue Scraping with Copper




As the function of the microbiota of the mouth becomes more understood, ancient techniques to support oral hygiene are becoming more popular. One practice backed by numerous studies is called tongue scraping (Jihwa Prakshalana).

Tongue scraping is the simple practice of scraping your tongue before brushing your teeth. Studies have shown that this simple technique:
  1. Reduces undesirable bacteria in the mouth that can compromise gum, teeth and oral health. (1)
  2. Reduces volatile sulfur compounds (VSC), which are by-products of mouth bacteria linked to bad breath. (2)
  3. Improves taste sensation and reduces tongue coating. (3)
  4. Changes the environment of the mouth to reduce putrefaction and decrease bacterial load. (3, 8)


Traditionally, according to one of the Ayurvedic texts, the Charaka Samhita, tongue scrapers should be made of gold, silver, copper, tin, or brass. Toxins (ama) would be collected on the back of the tongue that could cause obstructions in respiration and foul smell. (4)

When certain bacteria on the tongue and in the oral cavity break down certain proteins in the mouth, volatile sulfur compounds (VSCs) are released that result in bad breath.Studies have confirmed the benefits of tongue scraping as an effective way to reduce volatile sulfur compounds. In fact, tongue scraping greatly outperforms tooth brushing to accomplish this. (2)


Why Copper?

While a gold or silver tongue scraper would be amazing, new research on the health benefits of copper make a copper tongue scraper hard to beat. Copper has been used for centuries as a bacteria-resistant metal, and new studies are confirming these ancient practices. (4, 5, 6)

Copper may be the best metal to be used for tongue scraping because the mouth is loaded with both good and not-so-good bacteria. Copper not only seems to be toxic to the bad bacteria, it also provides important enzymes that are needed for the healthy microbes in the mouth to survive. (5)


In one study, the antiseptic benefits of copper were so great that, when copper was put in hospital rooms as furnishings, the bacteria count on all of the surfaces in the rooms was significantly reduced. (7) Some hospitals are now incorporating copper furnishings as part of their anti-bacterial strategies.


Oral Hygiene and Beyond!


Beyond the benefits of oral hygiene, tongue scraping, brushing, and flossing the teeth followed by drinking a large glass of water is a strategic way to kick-start the digestive process. By stimulating the taste buds with tongue scraping, not only is the tongue better able to perceive tastes and properly digest foods (3), this taste bud-activation also engages the lower intestines to initiate a complete bowel elimination first thing in the morning.


A copper tongue scraper will not only offer great oral hygiene benefits while scraping the tongue, it will also resist bacterial accumulation while not in use – results that last! Due to its beneficial properties, silver would be the second choice for tongue scraper material, although stainless steel is more than adequate to perform the job.


How to Scrape your Tongue
  1. In the morning, right after you wake up, scrape your tongue. Make it the first thing you do. Even if you wake up in the middle of the night, scraping the tongue followed by a glass of water can reduce accumulating digestive ama (toxins).
  2. With a relaxed tongue, using your U-shaped tongue scraper, gently reach to the back of the tongue and scrape the tongue from back to front. Repeat this 5-10 times, reaching as far back as comfortable, rinsing the scraper after each pass. A slight gag can help bring up some mucus and ama from the back of the throat.
  3. Follow tongue scraping with brushing (with non-fluoride toothpaste), flossing, and a large glass of water.
  4. To complete an Ayurvedic oral hygiene routine, this can be followed by oil pulling – of course, this would require another round of tooth brushing.
  5. Get into the habit of scraping your tongue prior to each brushing.



References

http://www.ncbi.nlm.nih.gov/pubmed/16032940
http://www.ncbi.nlm.nih.gov/pubmed/15341360
http://www.ncbi.nlm.nih.gov/pubmed/15191584
Charaka Samhita. Sutrasthana. Ch 5. Verse 71-75
http://www.ncbi.nlm.nih.gov/pubmed/22341460
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3067274/
http://www.ncbi.nlm.nih.gov/pubmed/22173515
http://www.ncbi.nlm.nih.gov/pubmed/23579907
http://aem.asm.org/content/77/3/794


Source: Lifespa.com

Thursday, August 27, 2015

How Many Solar Panels Do I Need to Power My Home?

Dated: Aug 27, 2015
Here is a simple calculation method to identify the number of panels required to power your home.

Review your monthly electricity bill to find number of KWh (Kilo Watt hours) used.
Sum all the values to find KWh used for a year.
Divide this number by 365 (days / year)
Resultant value gives number of KWh units consumed per Day.
Remember this is an average, and give plenty of room for cloudy days and winter. So, add 50% to this value as buffer.

Next, Measuring the Sunlight:
Let's say your home receives a solid 6 hours of sunlight per day on an average.

The Calculation with Example:
Monthly units used: 700 KWh
Yearly = 700 * 12 = 8400 KWh
Per Day = 8400/365 = 23 KWh
Avg./Day (including buffer) = 35 KWh

35KWh/6 = 5.8 KW needed every hour

We now multiply this by 1,000 to make calculations simpler
5.8 * 1000 = 5800 Watts

So, Your solar panel needs to produce 5800 Watts of energy per hour to power your home. Simple, wasn't it ?

The decision
Solar panels are rated for the amount of watts they produce. Let's say you want to buy 200-watt solar panels, it's easy enough to work out, that you will need 29 panels to cover 5800 watts per hour.

The varied solar panels produce, 100, 150, 200, 250, 280, 350 Watts and the price for each varies appropriately.

Prices at the time of writing this article,
250 Watts - $550.00

Sources:
Finder
Grape Solar

Tuesday, February 11, 2014

Priyanka Chopra: The new face of Guess

The move from Celebrity to Ubiquity: Bollywood star becomes a Top model for Guess ....






Check out more here

Source: NYTimes.com

Friday, February 7, 2014

You Shower Too Much !


Surface Bacteria Maintains Skin's Healthy Balance


Read this article from UCSD (University of California San Diego) researchers that provides details of how this happens.
Dr. Richard Gallo provides insight into the field of Dermatology.

Source:
MSN UCSD

Thursday, January 23, 2014

Chrome maybe secretly recording you .....

One of the few new features released last year by Google Chrome browser was Speech to text feature.
You could speak and chrome browser would convert your speech to text. There were sites designed to make best use of this feature.

Chrome will be able to use this feature, only when user gives the permission to do so, and this can be done separately for every tab in the browser.

However, according to this post, it could be that there could be some pop-up advertising windows, that could be secretly recording your speech, irrespective of you providing it the permission or not. And this could be hidden, so you might not even be aware of something like this.

Check the post here: Google Chrome browser Speech spying vulnerability and also the video on this site, that demo's how its done.

Source: TheRegister.co.uk