Author: Praveen

Homemade face mask in less than 2 minutes (COVID-19)

facemaskNew CDC (Center for Disease Control and Prevention) guidelines requires you to wear a mask when you go out of your house. Provided there is a huge shortage of N-95 masks, let’s leave them to the front-line supporters (Doctors, Nurses, Police etc.) and yet protect ourselves by wearing a homemade masks. The video below demonstrates how to create a homemade face mask in less than 2 minutes. Please check it out. Stay home, stay safe and stay healthy and practice social distancing. We will be out of this COVID-19 situation soon.

For more information about COVID-19, visit CDC website.

For COVID-19 all in one dashboard and detailed numbers by state click here.

Simple trick to set the max-width for an image (javascript)

If you would like to set the maximum width for an image on a webpage, you can use the “max-width” attribute of style(CSS). But this attribute is supported by FireFox and some other browsers but not Internet Explorer (IE). The following code snippet shows you how to achieve the same thing as “max-width” for Internet Explorer using javascript.

ASP.NET

<asp:Image runat=”server” ID=”Image1″  ImageUrl=”test.jpg” style=”max-width:150px;”/>

HTML

<img id=”Image1″ src=”test.jpg” style=”max-width:150px;” />

JavaScript Code

var Img = document.getElementById(‘<%=Image1.ClientID %>’);
//use document.getElementById(‘Image1’); for HTML
if (Img.width > 150) {
Img.style.width = 150;
}

Scate Releases Ignite 4 Home Edition – Social Media Presentations…

Scate Ignite 4 Home

Scate Ignite 4 Home

Create Web Videos, Photo Albums and Media Presentations for YouTube, Facebook, MySpace, iPod, Blogs & More…

Scate Technologies, Inc. (Scate) has released Scate Ignite 4 Home, a personal version of its popular Scate Ignite 4 social media creation software with publishing options for dozens of social media sites and devices. Scate Ignite 4 Home users can now create HD web videos, HD web cam recordings, narrated photo albums and multi-media presentations for iPod, YouTube, podcasts, Facebook, MySpace, Sony PlayStation Portable (PSP), Blackberry, Treo, Windows Media Player, QuickTime and many more. Scate Ignite 4 Home can even be used to create syndicated podcasts from the kitchen table, den or home office!

Visit: http://techcasa.wordpress.com/2008/10/30/scate-releases-ignite-4-home-edition-web-videos-social-media/ for more details.

Happy Diwali (Deepavali) – The Festival of Lights

Happy Diwali – The Festival of Lights – Slideshow

A colorful festival that is celebrated by all Hindus worldwide is Deepavali(Diwali), which is also known as the festival of lights. This festival usually falls around late October and November. One important practice that the Hindus follow during the festival is to light oil lamps in their homes on Deepavali morning. By lighting the oil lamps, the Hindus are thanking the gods for the happiness, knowledge, peace and wealth that they have received. The Hindus consider Deepavali as one of the most important festivals to celebrate.

Click to watch the slideshow

The Legend: There is even an interesting legend behind this festival. The story goes that Narakasura, a demon, ruled the kingdom of Pradyoshapuram. Under his rule, the villagers suffered a lot of hardship as the demon tortured the people and kidnapped the women to be imprisoned in his palace. Seeing his wickedness, Lord Khrishna set out to destroy the demon and the day Narakasura died was celebrated as Deepavali, the triumph of good over evil!

Preparations: Preparation for Deepavali starts usually at least two to three weeks before the festival. It is known that the Hindus will be busy cleaning their houses to prepare for the festival. Some would even renovate their houses to prepare it for Deepavali. Usually the family will shop for new clothes and for accessories to decorate their homes. Prior to the festival, Indian shops will be selling festive items like Deepavali greeting cards, carpets, Punjabi suits and flowers. The Hindus will frequent these shops when they are shopping for Deepavali.

Celebrations: The Hindus usually awake early in the morning of deepavali around 3am and the first ritual will be having an oil bath, which is an important feature of Deepavali. Hindus will be dressed in their new clothes on Deepavali. Most of the ladies would be clad in silk saris or Punjabi suits of various bright shades. Hindus particularly dislike dressing in black on that day, as they consider black an inauspicious color for the festival. Hindus would also pay their respects to the elderly and most families would go to the temple after having breakfast. This is also an important practice for them. The reason why they would be going to the temples is to pray to get happiness and prosperity on Deepavali. The houses would be decorated with oil lamps and children will play with firecrackers to celebrate the festival. On the first day, they would not go visiting but would stay at home to welcome the guests who visit them.

Food: Visiting Hindus during Deepavali will be an interesting activity, as you will get to taste a wide variety of delicious food. In every home that you visit you are bound to be served with a tempting spread of sweets. Some of the popular sweets are halwa, burfi and laddu. Hindus love eating spicy food and for non-vegetarians they indulge in favorites like chicken tandoori, prawn sambal and fish head curry. In homes of Hindus who are vegetarians popular dishes like thosais, idlis and naans are prepared.

(source: http://www.essortment.com)