Categories
Skin Care

10 foods that will protect your skin from the sun in summer

Year after year, summer after summer, we have to resort more frequently to sunscreens, hats or caps, sunglasses, and clothes to protect us from a sun that seems like every year is stronger and hotter. Continued exposure to UV rays is one of the safest and predictable triggers serious diseases and skin conditions. Today is already known very thoroughly the impact of solar radiation on skin problems and also know quite precisely the inflammatory process, oxidation stress, and cellular DNA damage caused by it. Fortunately, there are some foods that can help protect against these risk factors caused by the sun’s damaging rays.

Food to protect your skin from the sun in summer

No. 1 Olive oil

Olive Oil Protect Your Skin

Being rich in vitamin E and Polyphemus, the daily intake of olive oil raw (unheated cooking) can help to protect our skin far more than we imagine. Numerous studies in this field have shown that vitamin E protects cells against oxidative stress and reduces the damage caused by UVB radiation. And other studies have recently demonstrated the protective action resulting from the topical application of olive oil on the skin.

Note: Especially in summer, you should always add a few drops of olive oil or extra meals, either cold dishes like salads, virgin, or hot food.

Share with:

Categories
Internet marketing

How To Earn Money By Uploading Videos Like A Supply Of No Cost Traffic

Not everybody includes skills in photography. It is easy to obtain a digital camera. The engineering has paved just how for that gizmo being affordable. In case you are only starting to find out nevertheless, you realize that your own pictures are wonderful, you might too think about how to earn money on the internet from these kinds of materials. You may have been aware of the many ways that folks have obtained profits from online sources. Today any time times are usually difficult, you must be creative inside thinking of methods how you may get extra money.

So how do you help to make make money uploading photos that you’ve used? As well as that will buy them while you are usually amateur and you’re not necessarily identified in this field? You mustn’t be well-known to find yourself in this line of function. When you have been aware of small share photography, become familiar with how the pictures, their high quality as well as originality will be the elements that may matter here.

You may upload your own photos on websites online which accept these types of supplies. Your own images are going to be displayed together with a watermark. If someone else receives serious using the image, they’ll buy them from the web site and you will be paid in the process.

Share with:

Categories
SEO

List of 250+ Social Bookmarking Sites URL

The term “Social Bookmarking” is still very magnificent and useful in Search Engines Optimization. Social Bookmarking is an off-page SEO technique, it is very useful for SEO experts to improve the SEO ranks of their website. This is one of the quickest methods to index any web page in search engines like Google, Bing, Yahoo, etc.

To submit the URL of our websites or the URL of our client to social bookmarking sites we depend on search engines and sometimes it is very difficult to find some good and high quality bookmarking websites. Check the list I have created for my own use:

Social Bookmarking Sites List:

Share with:

Categories
SEO

Basic terms of web robot.txt

What is a Web robot:

In basic, a web robot is simply a program. The robot is used to automatically and recursively traverses a Web site to retrieve document content and information. Search engine spiders are the most common types of Web robots. These robots visit Web sites and follow the links to add more information to the search engine database.

Web robots often go by different names. You may hear them called:

  • spiders
  • bots
  • crawlers

Commonly Web robots is used to index a site for a search engine. But robots can be used for other purposes as well. Some of more common uses are:

  • Link validation – Robots can follow all the links on a site or a page, testing them to make sure they return a valid page code. The advantage to doing this programmatically is inherently obvious, the robot can visit all the links on a page in a minute or two and provide a report of the results much quicker than a human could do manually.
  • HTML validation – Similar to link validation, robots can be sent to various pages on your site to evaluate the HTML coding.
  • Change monitoring – There are services available on the Web that will tell you when a Web page has changed. These services are done by sending a robot to the page periodically to evaluate if the content has changed. When it is different, the robot would file a report.
  • Web site mirroring – Similar to the change monitoring robots, these robots evaluate a site, and when there is a change, the robot will transfer the changed information to the mirror site location.

Share with:

Categories
PHP

5 PHP Interview Questions Series – 2

Question 1: Explain the output of the below code:

<?php
    $x = true and false;
    var_dump($x);
?>

Surprisingly to many, the above code will output bool(true) seeming to imply that the and operator is behaving instead as an or.

The issue here is that the =  operator takes precedence over the and  operator in order of operations, so the statement $x = true and false  ends up being functionally equivalent to:

<?php
    $x = true;       // sets $x equal to true
    true and false;  // results in false, but has no affect on anything
?>

This is, incidentally, a great example of why using parentheses to clearly specify your intent is generally a good practice, in any language. For example, if the above statement $x = true and false  were replaced with $x = (true and false) , then $x  would be set to false as expected.

Question 2: What will $x  be equal to after the statement $x = 3 + “15%” + “$25” ?

The correct answer is 18.

Share with:

Categories
PHP

5 PHP Interview Questions Series

Question 1: What will be the output of the code below?

<?php
    $str1 = 'bangladesh';
    $str2 = 'bangla';
    if (strpos($str1,$str2)) {
        echo "\"" . $str1 . "\" contains \"" . $str2 . "\"";
    } else {
        echo "\"" . $str1 . "\" does not contain \"" . $str2 . "\"";
    }
?>

The output is: bangladesh does not contain bangla

So what is the explanation?

The problem here is that strpos()  returns the starting position index of $str1 in $str2 (if found), otherwise it returns false. So in this example, strpos()  returns 0 (which is then coerced to false when referenced in the if statement).

Share with:

Categories
Wordpress

Simple way to create a custom layout in wordpress theme

I was always thinking how some people create completely different looking pages on their WordPress theme. Currently we see that from an static page to ecommerce site is developed using WordPress package. Many sites has different layout for different pages. WordPress provide a simple solution to create custom layout for our website built on wordpress. A custom layout of wordpress page is helpful if we want to have a layout that looks completely different than rest of our blog but still executes on WordPress CMS.

In this tutorial I will try to describe you how we can create a custom page in WordPress using the custom page template snippet.

Lets create a custom page by opening a blank file in an editor. In the very beggining of the page paste the following code:

<?php /* Template Name: MyCustomLayout1 */ ?>

For example:

<?php /* Template Name: Alternative Home Design */ ?>

Lets save the page as: custom_layout_1.php. The above code is simply giving a name to the template. so we can call our template MyCustomLayout1, but you can call it whatever you like for example: archive,

Share with:

Categories
LAMP

Install LAMP Server Easily using command line

Hello Linux Lovers! The acronym LAMP is derived from first letters of Linux, Apache HTTP Server, Database MySQL, and Language PHP, Perl or Python. We already have shown you how to install LAMP on many platforms. So we can say that LAMP is a combination of operating system and open-source software stack. Lets start the LAMP setup procedure:

1. To install LAMP run the below command:

sudo apt-get install lamp-server^

2. Run the following commands to setup user for your apache server, add permission & enable some modules:

sudo usermod -a -G www-data YOUR_USER_NAME

sudo chgrp -R www-data /var/www

sudo chmod -R g+w /var/www

sudo apt-get install php5-curl

sudo a2enmod rewrite

3. Restart the apache server:

sudo /etc/init.d/apache2 restart

4. We will open the /etc/apache2/apache2.conf file in text editor to enable rewrite options. Run the below command:

sudo gedit /etc/apache2/apache2.conf

and modify the below snap of script.

Share with:

Categories
HTML-CSS

Getting started with Sass and Compass from scratch

Recently my team leader has decided use sass for our web projects and I have no idea about sass or compass, even never tried to search about it, lol! So just started searching for tutorials to configure Sass for my project.

Here I am going to write about the following steps that are used to setup and configure Sass for my project as my note for future reference, But wish it will also helpful for them who want to get started with Sass from scratch.

  • What is Sass?
  • Install Compass and Sass
  • Configure Sass and Create a test project

What is Sass?

Sass (Syntactically Awesome StyleSheets) is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized, and get small stylesheets up and running quickly, particularly with the help of the Compass style library.

Share with:

Categories
Hair Care

Healthy Hair – 10 Myths About Hair

healthy-hair-10-myths-about-hair

Every women desire to have a healthy hair. Healthy hair will automatically make your hair look shinier, and it will ad the value of your performance. But there are some myths about healthy hair. Which one is truth and which one is myth ?

Healthy hair truth and myths :

  • It is important to regularly change the brand of shampoo
    True! There are different washing bases (detergents) in shampoos. It is like the hair change from time to time and time to type so we need to change the type of shampoos.
  • You must use the conditioner in the same range as the shampoo
    False. Use the conditioner only according to its wealth. If you have oily hair, the conditioner must be making your hair light, not weighing it down. For dry hair, it is better to use creams or masks, which is often more effective than a conditioner for brittle hair.
  • Don’t do the hair colors at home. It’s risky
    False. If the assay was provided in the box for you and you find the color of your dreams, that is okay to do hair coloring at home. In fact, hairdressers use the same type of mixture as you do at home, unlike that with their experience, they realize the right dosages and leave to ask how long it takes.
  • Coat the hair with olive oil strengthens the hair
    It is being discussed. It is never bad, but it can be a problem regarding rinsing. In fact, olive oil will be difficult to clean, because it is very oily. This will require vigorous scrubbing to remove it completely. Result: You may damage the sheath of your hair, and profits earned vanish maybe just as fast.

Share with:

Categories
Skin Care

Natural Skin Care Tips – 5 Easy Way to Care Daily For Your Skin

 

natural-skin-care-tips

Natural skin care tips is one of the most effective way to care for your skin. Taking care of your skin on a daily basis is essential if we don’t want a wrinkled skin before its time. There are easy ways to pay attention to our skin every day: many a skin care exists, but how do the best?
In order to preserve his skin, there are some easy rules to know whether it is for men or women, to have a healthy skin and appears clearly younger, you must perform certain actions on a daily basis. These are small simple habits that have become as stupid and easy as the act of brushing teeth or taking a shower.

5 Easy Natural Skin Care Tips

  • Clean your skin daily

It is essential to clean the skin daily, morning and evening. Daily cleaning will remove all visible dirt that accumulate throughout the day. Do not forget that outdoor pollution attacks the skin.

  • Moisturize skin

Many moisturizers are on the market, you’re spoiled to choose. You can also use a toner. Applying toner helps your skin to be cleaned, toned and hydrated. This is often an excellent complement for cleaning and removing makeup.

  • Use Sunblocks

Finally it is for fair skin or less clear, think to apply sunscreen daily because even if you do not see the sun, it’s there and it attacks our skin with UV rays with a good sunscreen , it prevents the formation of skin pigmentation.

Share with:

Categories
Healthy Living

Healthy Food Options – How to Eat Grilled Foods and Keep Yourself Healthy ?

Would you believe if eating grilled food can be one of the healthy food options? You probably would wonder, how do grilled foods can be healthy? Well yeah, high-temperature cooking methods, like preparing grilled meat: pork, beef, chicken or fish, the true sources of carcinogenic chemicals, especially if they are too fried to form a crust. In addition, when fat droplets jumping on hot coals (or any other heat source), other possible sources carcinogenic are formed, they are stored right on the surface of the meat, because that emit smoke and flames. BUT, this does not mean you never have to eat grilled meat, but it is not good to eat such products prepared every day.

If you’re one of those people who eat grilled meat for healthy food options, consider these tips for reducing health risks:

Share with: