Problems... A ladder to achieve success

1 comment

Problems... A ladder to achieve success

Problem... a part and parcel of life. From your birth till you are alive on this earth, you go through lots of emotions, feelings of happiness and worst too, learn lots of lessons, love someone to extremes and hates  (or at least get frustrated )  someone to the same extreme. All things in life come to us as opportunity to find what we are and what we can do in life. Things come in life..Things go away from the life but only one thing which is constant in life is “Change”.
Beleive in yourself success

 In life we all have problems, we all fall, you try as much as you can to keep good work going, to get success and get things done in our favor. This does happen and while you are high on your success, suddenly one bad thing happens and everything gets spoiled. All efforts and all your hard-work, your confidence everything gets shattered. This is what happens, right? If you ask me, then yes this happens not once but lots of time...
If you ask me why... why life is like this, then from engineer perspective, I can relate life with electric current which we get through PowerStation. It’s like Sin wave, going up then again coming down and it keeps going like this till you get power, same in case of  life, you are and you will be alive internally and externally, till there are UP’s and Down’s in your life. If there is no downfall, if you don’t find challenge in your life consider yourself as dead irrespective your alive for others.
Remember one thing for sure; Life will take you through number of situations where you will have two options one is overcome the problem at any will and other is too just sit and wait something will happen in yourfavor.But if you really want to go ahead in life and do something, want to be something, then think that problem as ladder and climb on it. At the max you will fall again the same place where you are right now, nothing worse can happen than this... So go ahead face the problem. You will gain experience.
Whenever you climb and fall, remember what a small ant can do, how much dedication, commitment and will she posses. Trying to climb but falling numerous times still, she reaches her destination, now think yourself and ask if small ant can have so much big heart, how much you should have as human being. Assume problems as those balls in cricket which you need to leave and chance are those where you need to hit six. Stay patient in problems and hit six as soon as chance come to you, I am 200% sure nothing can stop you with this attitude..!!
All The Best
Read More

Shell Script tutorial - how to use shell script oracle Apps

2 comments

Use of shell script in oracle

A.Steps to Register Shell Script as a concurrent program.

B.Sample Shell Script to copy the file from source to destination.

C.Basic Shell Script Commands.

A. Steps to Register Shell Script as a concurrent program : 

Step 1:
=======
Place the .prog script under the bin directory for your applications top directory.

For example, call the script ONEPLACE_DEMO.prog and place it under $CUSTOM_TOP/bin
(*Note: $CUSTOM_TOP = name of you custom top)

Go to $CUSTOM_TOP/bin where you have places shell script file and run below command to give full permission to file.

chmod 777 .prog

step 2:
=======
Make a symbolic link from your script to $FND_TOP/bin/fndcpesr in $CUSTOM_TOP/bin directory.

For example, if the script is called ONEPLACE_DEMO.prog use this:

ln -s $FND_TOP/bin/fndcpesr ONEPLACE_DEMO

This link will be having same name as your script without the .prog extension.
step 3:
=======
Register the concurrent program, using an execution method as 'Host'. Use the name of your script without the .prog extension as the name of the executable.
For the example above:
Use ONEPLACE_DEMO as name of the executable file.
step 4:
=======
Your script will be passed at least 4 parameters, from $1 to $4.

$1 = orauser/pwd
$2 = userid(apps)
$3 = username,
$4 = request_id

Any other parameters you define will be passed in as $5 and higher.
Make sure your script returns an exit status.

B.Sample Shell Script to copy the file from source to destination

Shell Script to copy the file from source to destination

#Note: If you see # in front of any line it means that it’s a comment line not the actual code
#** ********************************************************************
# Created By : Oneplace World Blogspot
# Creation Date : 18-OCT-2016
# Script Name : ONEPLACE_DEMO.prog
# Description : This Script accepts three parameters
# 1)Data File Name 2)Source Directory Path 3)Target Directory Path
# Then copy the file from source location to target location.
# If copy fails send the error status/message to concurrent program so that user can see status.
#
#
# ========
# History
# ========
# Version 1 Oneplace World Blogspot 18-OCT-2016 Created for http://oneplaceworld.blogspot.in/ users
#
#** ********************************************************************
#Parameters from 1 to 4 i.e $1 $2 $3 $4 are standard parameters
# $1 : username/password of the database
# $2 : userid
# $3 : USERNAME
# $4 : Concurrent Request ID
DataFileName=$5
SourceDirectory=$6
TargetDirectory=$7
echo "————————————————–"
echo "Parameters received from concurrent program .."
echo " Time : "'date'
echo "————————————————–"
echo "Arguments : "
echo " Data File Name : "${DataFileName}
echo " SourceDirectory : "${SourceDirectory}
echo " TargetDirectory : "${TargetDirectory}
echo "————————————————–"
echo " Copying the file from source directory to target directory…"
cp ${SourceDirectory}/${DataFileName} ${TargetDirectory}
if [ $? -ne 0 ]
# the $? will contain the result of previously executed statement.
#It will be 0 if success and 1 if fail in many cases
# -ne represents not “equal to”
then
echo "Entered Exception"
exit 1
# exit 1 represents concurrent program status. 1 for error, 2 for warning 0 for success
else
echo "File Successfully copied from source to destination"
exit 0
fi
echo "****************************************************************"
#End of Shell Script File

C.Basic Shell Script Commands :

# Create Directory
mkdir
# Remove Directory
rmdir
#remove folder with files
rm -r -f
# Change Directory
cd
# Create new file
vi
#insert data into file
vi
esc i
#Save file
esc :wq enter
# exit without saving changes
esc :q! enter
# open existing file
vi
#remove file
rm
# Move file with same name
mv /
# move file with data appended to filename in the front
mv / /'date+%H%M%d%m%y'
# copy file with same name
cp /
# copy file with new name
cp / /
#print line
echo "your text here to print"
#print date
echo 'date'
#grep – This is one of the most powerful and useful commands available to you in Linux. It stands for Global/Regular Expression Print. It looks through a file and prints any line that matches a particular pattern. Because this pattern is based on "regular expression," a concise line can yield a multitude of patterns to be matched. For not, though, you can enter a tern for searching.(grep is case sensitive)
grep pattern_file
#You can use the “-i” flag to make it ignore case.
ls / | grep -i pattern_file
#Piping, or Chaining Piping is so named because it uses the pipe, (| ; shared with the \ key on most keyboards). Essentially, it takes the output of one command and directly feeds it to another. You can create long chains of commands to get a very specific desired output this way, and it’s very convenient for commands like grep.

ls / | grep pattern_file
Read More

The Fastest and Easiest Way to Tone Flabby Arms..!!

4 comments

  The Fastest and Easiest Way to Tone Flabby Arms..!!

Today Every one of us is getting more and more conscious about our fitness. How we are appearing in front of people. Here we are back again with another post to help you out one of most used and most viewed body part, “Arms”. Here we will try to give you very useful ideas about how to rid of flabby arm.

What Are Flabby Arms :

Arm flabbiness is caused by an excess of fat, which can be the result of natural changes that occur with age. According to Medlineplus, after the age of 30, body fat has a tendency to increase and lean muscle typically decreases. These changes are partially due to hormonal changes that occur with age, but also because of the tendency to be less active. The hormonal changes cause metabolic rate to decrease, which means fewer calories burned throughout the day. A slower metabolism combined with fewer calories burned from a lack of exercise creates a significant risk of weight gain. Gravitational pull also takes its toll, constantly pulling on the back of the arms and thus facilitating flabbiness.
Best Exercises to Reduce Arm Fat:
1.       Interlock Arm Stretches :
    First let’s start with really simple exercise which will get going our blood circulation and start getting up your body warm for upcoming exercise.

Interlock Arm Stretches Interlock Arm Stretches

When you interlock your hands, your triceps are engaged. Pulling the hands to the opposite sides creates a further stretch in the triceps, thereby toning them. This exercise for flabby arms is great for those who have loose fat hanging on their triceps.

    1. Raise your hands above your head.
    2. Hold your right wrist with your left hand and your left wrist with your       right hand, thereby interlocking your hands.
    3. Now, with your right hand, pull your left hand towards your right such    that your left elbow falls behind your head.
    4. Release the tension and take your arms back to the center without            releasing your wrists.
    5. With your left hand, pull your right hand towards the left such that            your right elbow falls behind your head.
    6. Again, release the pull and take your hands to the center. Repeat this         for at least two sets of 15 repetitions each.

2.  Up and twist stretches :             

Up and twist, will create strain on you triceps muscle, shoulder and it will stretch your waist and back too.
Up and twist stretches


1.     Join your hands above your head and lock your hands figure within each-other.
2.    Bring your joined hands down to back of your head.
3.    Slowly twist yourself to your right and hold position for 10 seconds and come back to your original position.
4.    Now, slowly twist yourself to your left and hold position for 10 seconds and come back to your original position.
5.    Repeat this for 2 sets of 15 repetitions each.

3. Arm Circles :

                   
Arm Circles
This is yet another classic exercise for arms that is included in most exercise regimes in order to tone and shape the flabby arms. You can do this exercise with or without weights. You can hold two 600 ml water bottles in two hands while doing the arm circles. The backward and forward arm movement tones all the muscles of the arms including the triceps, biceps, shoulders and back muscles as well.

1.     Stand with your feet placed shoulder width apart and arms extend straight to your sides, raised at shoulder height.
2.    Now, do 50 small circles with your hands by rotating them in the forward direction. 
3.    Now switch to 50 small backward circles.

4. Push-Ups:

       Push-ups are primarily chest exercises, but they also work the triceps        as a secondary muscle. They are one of the most common measures         of strength.        
one Knee Push-UpsPush-Ups
                     











1.     Place your hands with the palms facing downward on the floor, shoulder width apart, with a slight bend in your arms. Keep your feet together. Support your weight on your hands and toes. You can first start off with knee push-ups and then you can go in for the normal ones.
2.    Lower you until your chest is almost touching the floor. Inhale as you do this.
3.    Exhale and push your body up back to the first position.
4.    Steady yourself at the top and repeat.
5.     Do 3 sets of 10 reps every day, to get the best results. This is a very effective muscle building exercise, do try it out. 

5. Triceps Extension:

                          
Triceps Extension using rope

Triceps Extension















This is a time tested exercise to reduce arm fat and have toned arms. It is also an effective exercise to remove belly fat which strengthens the core. For this exercise, you need to select an item from your home to use as a weight. You can use a 2 liter cold drink bottle or a water bottle for this exercise. If you have a pair of dumbbells at home it works out just fine. The aim is to reach out for something which weighs around one kilo. Avoid using something breakable or valuable. It may fall down and break, so be very careful with your choice. J


      1.     Hold that item with both your hands and lift it over your head.
      2.    Your arms should be straight, as this is your starting position. Now            lower the weight, by taking it behind your back. You need to reach it          as low as you can. Make sure that you don’t hurt yourself.
      3.    Bring up the weight above your head, again. The slower you move              your  arms, the more toned your arms will get.
      4.    It is important to keep your upper arms close to your head and ears.          Also try to practice this exercise in front of the mirror if you can, it           will  help you improve the style.
      5.    You need to do 3 sets of 20 reps, which means you will move the item        60 items above your head.
After every set you can take a rest of one minute. Increasing the weight or time after every week will help you to tone your muscles, effectively.

6.  Triceps  Dips:

Triceps bench Dips      


Triceps chair Dips









If you are working out at home, place your arms on a chair or bench and elevate your feet. This is an effective fat reduce exercise that not only tones the arms, but also the back muscles. For this workout you need to choose a bed or chair, which is a little higher to the ground. Anything that will be stable on the ground is a good choice. A soft cushion sofa may not be the best idea; it will make the toning exercise harder to perform.


The furniture should be at least 2 feet higher than the ground. You should have 3 feet of free space in front of the item, to perform this exercise with ease.
1.     Assume the starting position i.e. your arms behind your back, gripping a bench or the rack.
2.    From the starting position, slowly lower yourself. Keep your body upright and your elbows tucked close to your sides.
3.    Concentrate on lowering your body only with the triceps. Ensure that your elbows are at a 90-degree angle.
4.    After this, push your body back up using only your triceps. Repeat.
5.     You need to do 3 sets of 20 reps, every day.
This is undoubtedly one of the best exercises to do to lose weight fast.

 7. Triceps Kickbacks:

        
Triceps Kickbacks using doumbles


Triceps Kickbacks using ropes










Triceps kickbacks require two light dumbbells. If you don’t have any at home, you can use one-liter water bottles or if you have elastic rope still you can use it.

      1.     Hold a dumbbell in each hand.
      2.    While you are standing, bend your knees slightly, keeping your back         straight, and bend forward slightly. Your body should be almost                 parallel  to the floor. Keep your head up and your arms close to your         sides such that there is a 90-degree angle between your forearm and         upper arm.
      3.    Keep your shoulders locked to your sides while extending your arms         back. Focus on the contraction of your triceps only.
      4.    Hold for two seconds and lower your arms to the starting position.            Avoid swinging your arms.
      5.    Repeat for 2 sets of 10 repetitions.


8.  Triceps Press with Resistance Band :

The movement of this exercise engages the muscles in the back of the shoulder and the back of your arms (triceps). In this position, the triceps kick in to help lift your arm behind your body.
                         
Triceps Press with Resistance Band

1.     Start standing on a resistance band with right foot and hold onto other end with left hand.
2.    Stand closer to the handle you're holding for more resistance; further for less.
3.    Bend right knee and take a wide step back with left leg, hinging forward slightly from the hips with a straight back.
4.    Keeping the arm straight and palm facing behind you,  press your arm back toward your hip. Hold for one count, and then lower.
5.    Try for 3 sets of 20 reps with each arm before switching sides.

These are the best exercises to lose arm fat that you can try out at home. They are really effective and need to be do on a daily basis. You can try all these exercises to lose arm fat or you can select only one. However to lose arm fat faster, you need to use all these exercises. They are aimed at sculpting your arms, so increasing the count of sets every week is essential. Avoid injuries and enjoy a strengthening and refreshing workout at home. Maintain a good diet and focus on the weight loss. Enjoy the benefits of a healthy and happy body.

Be Healthy Be Happy and Refreshing..!!

Read More