Tuesday, 24 November 2015

Take Care when your baby at home

“Pampers brings you the softest ever Pampers Premium Care Pants. Its cotton-like softness is #SoftestForBabySkin and allows it to breathe, thus keeping baby’s skin soft and healthy, and your baby happy. ”

Newborn baby skin care is a delicate matter. In the early months, as your baby's immune system develops, you'll want to use the mildest cleansers and the smallest bit of lotion. But when dry skin, eczema, and diaper rash appear, it's time to treat those problems. Talk to your pediatrician about when to start using those products.

Avoid bar soap and bubble baths. Also, follow basic safety guidelines -- support your baby’s head, and test the temperature of the water on the inside of your wrist, for example. Gather your supplies beforehand, because a baby should never, ever be left alone in a bath.

So here are the some ideas to keep safe and soft skin of baby.

Idea 1: Cover up

When possible, long-sleeved shirts and long pants and skirts can provide protection from UV rays. Clothes made from tightly woven fabric offer the best protection. A wet T-shirt offers much less UV protection than a dry one, and darker colors may offer more protection than lighter colors. Some clothing certified under international standards comes with information on its ultraviolet protection factor.

Idea 2: Get a hat

Hats that shade the face, scalp, ears, and neck are easy to use and give great protection. Baseball caps are popular among kids, but they don’t protect their ears and neck. If your child chooses a cap, be sure to protect exposed areas with sunscreen.

Idea 3:Oil Massage

Babies are most happy after getting good massage followed by hot water shower. Massaging well is very important for baby’s growth and glow of the skin. It is very important that baby massage oil is made of healthier ingredients which give strength to the baby’s muscles and bones. Its texture should be smooth too for his delicate skin. I would recommend a soft baby massage oil as very important element in keeping his skin smooth and soft.

Idea 4: Apply sunscreen

Use sunscreen with at least SPF 15 and UVA and UVB protection every time your child goes outside. For the best protection, apply sunscreen generously 30 minutes before going outdoors. Don’t forget to protect ears, noses, lips, and the tops of feet.

Idea 5: Using Pampers 


Pampers is very soft. Mother want to use Softest diapers and I must say PAMPERS are softest for baby’s skin, hence preferred by mothers all over the world. It is very important to keep baby’s bums dry and smooth as his skin is unable to bear even slightest of harshness. Skin’s health is best maintained by soft and dry diapers because our baby’s skin is smooth, soft and highly delicate which needs that extra care and attention. This is provided by Pampers care pants surely.

Monday, 23 November 2015

Is your baby sleeps at Night?

 “Pampers brings you the softest ever Pampers Premium Care Pants. Its cotton-like softness is #SoftestForBabySkin and allows it to breathe, thus keeping baby’s skin soft and healthy, and your baby happy. ”

There's nothing quite like the soft, delicate skin of a baby. And nothing like a cranky infant irritated by diaper rash, cradle cap, or another skin condition. While your baby is perfect, your baby's skin may not be. Many babies are prone to skin irritation in the first few months after birth. Here's how to spot and treat common baby skin problems.

As your child matures from a newborn to a more interactive baby by the age of 6 months, he'll become a master at showing you when something makes him content or upset. His face lights up in a heart-melting smile when you enter the room, or he wails when someone takes away his favorite toy. And you've probably noticed that he flips between smiling and crying faster than you can pop a pacifier in his mouth.

When baby's delicate skin becomes irritated by excessive moisture and diaper friction, the result is diaper rash. Changing your baby's diaper frequently and exposing his bottom to air whenever possible (lay him over a few cloth diapers) will help cure it and reduce your baby's risk of future rashes. Once your baby has a rash, generously apply whatever ointment your doctor recommends to protect the skin from irritants and friction.

Diaper rash is a common condition that affects babies, and can happen for a number of reasons. Learn what diaper rash looks like, what causes it, how to prevent it, and how to treat it.

For all these we have a solution
Pampers:  
Pampers keeps your baby skin always soft and away from diaper rashes. Boys tend to pee more in the front of their diaper, and for girls, pee tends to collect in the middle and back. Boys often have leaky pee pee diapers because their little weenies point in a certain direction and they pee with direction and… force.

Bath Basics
Ours is a culture obsessed with cleanliness, which means that parents tend to overdo it when it comes to bathing their beauties. Dips in the tub aren't advised until the umbilical stump falls off and until a boy's circumcision heals. Until then, a gentle sponge bath of the bottom and genitals is plenty.

Here Comes the Sun
Your first thought is probably to slather your little bundle in sunscreen. But for babies under 6 months, that's not a good idea. Babies have more skin surface than adults, so they receive a higher dose of chemicals.

Oil Massage
It is most important to keep baby skin soft. Regular oil massage to baby will keep baby skin very soft. Medical says after oil massage keeps the baby in morning or evening sunrays. Babies are most happy after getting good massage followed by hot water shower. Massaging well is very important for baby’s growth and glow of the skin. It is very important that baby massage oil is made of healthier ingredients which give strength to the baby’s muscles and bones. Its texture should be smooth too for his delicate skin. I would recommend a soft baby massage oil as very important element in keeping his skin smooth and soft.

Monday, 22 June 2015

Me and My Father


I am participating in the '#HugYourDad' activity for <a href='https://www.facebook.com/VicksIndia' target='_blank'>Vicks</a> in association with <a href='http://www.blogadda.com/' target='_blank'>BlogAdda</a>


The person I admire ever in my life is only my lovely father. I still remember all my childhood memories with my father. He was the real reason of my happiness and joy. What I am is because of him as my mother was always busy in the kitchen and other household activities and it was my father who has joy with me and my sister. I understand he is very unique Dad in the world. I am feeling of being so lucky to have such father in my life. I always praise to god to give me such opportunity to take birth in the family with good father.

He is very polite and peaceful person. He never scolded me and takes my all mistakes very easily and makes me realize my all mistakes very politely. He is the boss of my family and helps each and every family member to take good decision in the bad time. He always shares his life drawbacks and achievements with me to let us know. He has his own business of online marketing but never force me to do go in the same field or attract me towards his own business instead he always promote to do what I want in my life. He is really a good dad not because he helps me but because of his knowledge, strength, helping nature and most importantly his way of handling people.

He never thinks to be back in helping needy people and always ready to help them especially old people. He is my best friend and discusses my all problems. Whenever I become fed up, he ask me the reason very peacefully and takes me to the top floor, let me sit in his side, keep his hand on my shoulder and discuss his own experiences of life, his faults an drawbacks including his success in order to make me realize that what I am doing wrong or right. He teaches us about ethics of the life and importance of elders and the life time. He tells us that we should never make any person unhappy in our life and always help needy people especially old people.



He always respects his parent’s means my grandparents and cares for them all time. I still remember that when I was little, my grandparents were generally talked to me about my father naughtiness in his childhood but they told me that your father is very good person in his life, be like him. It is my father who wants to see everyone happy in the family and always asks whenever anyone becomes sad and solves his/her problems. He loves and cares my mom and suggests her to take rest when she gets tired of doing all the household chores. My dad is my inspiration, he always becomes ready to help me in my school tasks and even go to every PTM to discuss my behavior and performance in the class.


My father was born in very poor family however currently he is one of the popular people in the city because of his patience, hard works and helping nature. My friends generally tell me so lucky of being the son of such father. I usually laugh on such type of comments and tell my father, he also laughs and says that what they are telling is not true but the truth is that I am so lucky to have son like you. 

Friday, 19 June 2015

Hug your father and make him happy

“This father’s day, I am expressing my love towards my dad by participating in the #HugYourDad activity at BlogAdda in association with Vicks.”



Father is one who cares about his child more than anyone in the world. He may be how much busy with his office work he has time for his children.

My dad is so special and important because be his loving, fun, and encouraging.

 Why does my dad love? First, my dad loves because he comforts me. When I have problems, my dad will listen to me and try to help me. Secondly, my dad loves because he always takes care of me. When I get sick, my dad will give me medicine and tell me what to do to cure the sickness. Lastly, my dad loves because he makes many sacrifices for me. For example, when we are eating at a restaurant, my dad will let me eat the best food, even if he really wants it.

 Why is my dad fun? First, my dad is fun because he likes to joke. Sometimes they are good jokes and sometimes they are terrible, but they always make me smile. Secondly, my dad is fun because he likes to act silly. In many pictures, my dad makes a really silly smile which looks really funny and makes me laugh. Another example is whenever we go to the playground so that my brother can play, my dad will try to play some of the things with my brother even though he is too big. My dad looks really silly when he does that! Lastly, my dad is fun because he is the one who gets me all my toys. When we go shopping, my dad will be glad to get me a book or toy that I like. This makes me very joyful to know that I have a dad who is willing to do this!

 Why is my dad encouraging? First, my dad is encouraging because encourages me to do all extra credits so that I have more practice. Even though it takes more effort, it helps a lot because it helps me improve at that subject! Secondly, my dad is encouraging because whenever I don’t get a good grade on tests or quizzes; my dad will make sure that next time I study more so that I don’t make the same mistake. Lastly, my dad is encouraging because he helps me when I have problems with my homework without actually DOING it for me. For example, when I am doing mandarin homework and I need to make sentences, my dad will ask my how I will say the sentence in English, ask me to try say it in Mandarin, and then help me correct any grammar problems.


 My dad is a very important and special person to me since he loves, fun, and encouraging. I am so glad to have him as my dad and I hope you treasure having an important person in your life just like I do. 

Monday, 15 June 2015

Energize your life with Allu Arjun and Anushka Manchanda

I am blogging for #MaxFreshMove activity atBlogAdda.com. Are you?

All of us like to watch movies, songs and dance. Every one likes to shake their leg while watching filmy songs and dance. Some people dancing along with the music too. Totally everyone wants entertainment in their life. It makes us to forget the situation we are in, particularly if it is a stressful one and ensures that we feel rejuvenated. There are multiple situations in life that we can dance with our friends, relatives either in a function or in a happy movement. Assume there is a function in the family, everyone in busy schedule. At this time if someone plays a song that time we forget our busy schedule and enjoy the moment.





Anushka Manchanda is not only singer. She is Playback singer, songwriter, model, an ex-Channel [V] -VJ and was a member of the Indian pop girl group Viva. Many of her bollywood movie songs are hit.

Some of the most hit movie songs by Anushka
·        Allah Duhai Hai                                -        Race 2
·        Mann Basiyo Sanwariyo                            -        ABCD
·        Na Jaane                                            -        I, Me Aur Main
·        Bezubaan Phir Se                              -        ABCD 2




Allu Arjun is famous in south India. Fans given him a name “Stylish Star”. He became too much popular from his movie Arya 2. He is a good actor and along with that a good dancer. Totally he is All-Rounder. After watching his dance in movies so many youngsters telling we are his fans. Dance makes him the crowd’s favorite, especially youngster’s like him a lot. As you all know after playing kid artist in Vijetha then Allu Arjun started his career as a dancer. Right now he is not only an actor; he is a ProducerModeland Dancer.

Some of the most hit movies
·        Gangotri
·        Arya
·        Bunny
·        Happy
·        Desamuduru

If I am organizing a party and I get a chance to call the coolest Allu Arjun and talented Anushka Manchanda to help me out in making this party a big success. They are quietly brilliant and have got famous as they are so talented. When they both come together in a movie or dance performance then I would be memorable. All the youngsters like Allu Arjun and Anushka Manchanda.  I love to watch allu arjun's dance and his dance style is inspiration for many youngsters. Anushka on the other hand has such a beautiful voice and one cannot stop listening to her. If both are together, they can add fun and bring energy to my party. I am sure all the audience will be really impressed.





Friday, 20 March 2015

How To Create A Postgres Database Using pgAdmin

What is a Materialized View?

Android Page refresh in 20Seconds

Android Page refresh in 20 seconds

main.xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >

    <TextView
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/hello_world" />

    <Button
        android:id="@+id/button1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/textView1"
        android:layout_below="@+id/textView1"
        android:layout_marginLeft="23dp"
        android:text="Button" />

</RelativeLayout>

---------------------------------------------------------------------------------

MainActivity-

package com.example.pagerefresh;

import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends Activity {
Handler handler;
Button b;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        b=(Button)findViewById(R.id.button1);
        
        b.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View arg0) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(), "test", Toast.LENGTH_SHORT).show();
}
});
        
        Toast.makeText(getApplicationContext(), "page refreshed", Toast.LENGTH_SHORT).show();

        handler= new Handler();
      
        handler.postDelayed(new Runnable(){

            @Override
            public void run() {
                // TODO Auto-generated method stub
                Toast.makeText(getApplicationContext(), "hello1", Toast.LENGTH_SHORT).show();
              
               Intent i=new Intent(MainActivity.this,MainActivity.class);
               i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
                 startActivity(i);
            handler.removeCallbacksAndMessages(null);
                handler.postDelayed(this, 4000);
            }

         }, 5000*4);//for 20sec
     
    }


@Override
public void onDestroy() {
    // TODO Auto-generated method stub
handler.removeCallbacksAndMessages(null);
    super.onDestroy();

   }

@Override
public void onStop() {
    // TODO Auto-generated method stub
handler.removeCallbacksAndMessages(null);
    super.onStop();

   }

}


Thursday, 19 March 2015

Built-In Functions Of PostgreSQL

PostgreSQL built-in functions, also called as Aggregate functions, are used for performing processing on string or numeric data. Following is the list of all general purpose PostgreSQL built-in functions:
Functions
Description
COUNT
·         COUNT aggregate function is used to count the number of rows in a database table.

MAX
MAX aggregate function allows us to select the highest (maximum) value for a certain column.
MIN
MIN aggregate function allows us to select the lowest (minimum) value for a certain column.
AVG
·         AVG aggregate function selects the average value for certain table column.

SUM
·         SUM aggregate function allows selecting the total for a numeric column.

ARRAY
ARRAY aggregate function puts input values, including nulls, concatenated into an array.
Numeric
Complete list of PostgreSQL functions required to manipulate numbers in SQL.
String
·         Complete list of PostgreSQL functions required to manipulate strings in PostgreSQL.

MySQL vs PostgreSQL

Oracle and PostgreSQL Query Difference

10 Major Oracle and PostgreSQL Query Difference

Oracle
PostgreSQL
select * from tablename;
select * from tablename;
desc tablename
-----(select itself desc coming)
nvl(sum,0)
coalesce(sum,0)
decode(a,1,aa,bb)
(case when a=1 then aa else bb end)
oracle supports ‘’ or null (both are same)
In postgresql  ‘’ and null both are different
rownum
limit
rowed
ctid
Date shows dd/mmm/yyyy       
yyyy/mmm/dd
Auto cast from String to Date    
cast(d as date)
String to integer to_number(a)
cast ( a as numeric)

Installing and Setting up PostgreSQL

Oracle Vs PostgreSQL -Which is Faster?

In software industry if a project comes to engineer to develop first thing comes in his mind which language to be use. And the second and most important thing which database should use? There are several databases in market. Some are paid and reaming open source. Many people go for open source because no need to pay or invest huge amount. Oracle is the famous and most running database in market which is a paid database. PostgreSQL is similar to Oracle which is a open source database. Most of the operations of PostgreSQL are similar to Oracle.

Here I discoursed the main advantage of PostgreSQL is it is little bit faster than Oracle in fetching data. I tested with same records of data and on same machine. Here, which I found the difference.



PostgreSQL

Oracle
The same query runs in PostgreSQL in 31ms (Miliseconds) and oracle in 55ms. In Oracle if we want to check its data type we have to type a command ‘DESC TABLENAME’. But in PostgreSQL it is coming in ‘SELECT * FROM TABLE NAME’. Just see the images above.

Sunday, 15 March 2015

Features Of PostgreSQL

PostgreSQL is a powerful, open source object-relational database system. Compare to oracle it fetches data quickly, And working very speed on server level. Most of all the oracle built-in functions working in PostgreSQL.



It has a strong reputation for reliability, data integrity, and correctness. It runs on all major operating systems, including Linux, UNIX (AIX, BSD, HP-UX, SGI IRIX, Mac OS X, Solaris, Tru64), and Windows. It is fully ACID compliant, has full support for foreign keys, joins, views, triggers, and stored procedures (in multiple languages). It includes most SQL:2008 data types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video. It has native programming interfaces for C/C++, Java, .Net, Perl, Python, Ruby, Tcl, ODBC, etc.

Features

PostgreSQL prides itself in standards compliance. Its SQL implementation strongly conforms to the ANSI-SQL:2008 standard. It has full support for subqueries (including subselects in the FROM clause), read-committed and serializable transaction isolation levels. And while PostgreSQL has a fully relational system catalog which itself supports multiple schemas per database, its catalog is also accessible through the Information Schema as defined in the SQL standard.

Data integrity features include (compound) primary keys, foreign keys with restricting and cascading updates/deletes, check constraints, unique constraints, and not null constraints.

It also has a host of extensions and advanced features. Among the conveniences are auto-increment columns through sequences, and LIMIT/OFFSET allowing the return of partial result sets. PostgreSQL supports compound, unique, partial, and functional indexes which can use any of its B-tree, R-tree, hash, or GiST storage methods.


PostgreSQL runs stored procedures in more than 12 programming languages, including Java, Perl, Python, Ruby, Tcl, C/C++, and its own PL/pgSQL, which is similar to Oracle's PL/SQL. Included with its standard function library are hundreds of built-in functions that range from basic math and string operations to cryptography and Oracle compatibility. Triggers and stored procedures can be written in C and loaded into the database as a library, allowing great flexibility in extending its capabilities. Similarly, PostgreSQL includes a framework that allows developers to define and create their own custom data types along with supporting functions and operators that define their behavior. As a result, a host of advanced data types have been created that range from geometric and spatial primitives to network addresses to even ISBN/ISSN (International Standard Book Number/International Standard Serial Number) data types, all of which can be optionally added to the system.