Thursday, February 12, 2015

Home Remedies for HeartBurn !!!!

Hey warm welcome you all !!!!!

In this modern world, we humans are required to work very hard for long hours in order to smell the aroma of living comfortable life.Its similar to the tale of tortoise and hare race, survival to the fittest




In this race, we have various expectation such as getting good job, updating technical skills, sustaining recognition among peers, excellent salary package and at last the most awaited, promotion!!!!!.We have a notion that these can make us happy. Of-course, there is always fruitful result for hard-work. But have we ever realized one aspect that we take for granted, that we don't even mind overlooking it.Did you guess?????

Yeah, its our care towards our body.We never spend time for our body that it expects from us. We always force our system to react as we like. This is the main problem which is overlooked and has not been a priority, ever (seriously!!!!)... As a result, our body starts to retard and oppose leading to various disorders or even fatal diseases.

Common disorders found in all of us include:
  • Obesity
  • Indigestion
  • Heartburn
  • Acidity
  • Stress
  • Craving on junk foods
  • Fatigue
  • Heart/chest pain
  • Bloating
  • Gastric
  • Ulcer
  • Lazy

In this post I will discuss Heartburn - cause , symptoms and home remedy 

                                                

What is heartburn??

               Its a form of indigestion felt as a burning sensation in the chest,caused by acid regurgitation into the esophagus.


How is it caused??

               Its mostly due to change in our lifestyle,food habits and rest.


Common symptoms of Heartburn

               Heartburn symptoms are similar to those of stomach upset but should be taken seriously if its prolonged almost everyday. It includes:
  • Burning sensation in the chest after each meal or drinks.
  • Burping occasionally.
  • Mouth smells as heated rod or metal.
  • Not able to complete one time meal.
  • Often feel to pass stools (motion).
  • Lack of sleep at night.
  • Dry throat and urge to drink water while sleeping at night.
  • Stress/restless behavior.

Home Remedies

  • Drink a lot of water:
    • Water helps to clean stomach and allows complete excretion, thus keeping stomach light and easy
  • Give COMPLETE REST to the body
    • Relax 5 mins for every 1-2 hours. Don't consider always sitting at desk, make a quick stroll and be right back to work.
    • Avoid stress if possible.
  • Take smaller meals
    • Break down meals into smaller portions and consume in intervals of every 2-3 hrs. By doing this, we help stomach to produce enough acid to burn  food & avoid heartburn.
  • Exercise 
    • Exercise is the best medicine for all problems. Take 30 mins brisk walk, Yoga or fitness exercise every day. Don't perform exercise which strains abdomen, stop it right away and continue walking for few days until its safe to start exercising.
  • Fruit Juices
    • Consume fruits as juices since the acid in the stomach will react faster to juices than whole fruits. Fruit juices such as banana, apple and watermelon helps to keep the stomach cool. Try avoiding critics such as lemon, orange, grapes.
  • Balance life
    • We need to balance work and personal life. As the great legend Abdul Kalam had quotes, WORK ONLY 8 HOURS A DAY in office. Practically not possible !!!!!!. 
  • Probiotics
    • Buttermilk or Probiotic yogurt  are the best helper to keep our system cool. Consume it anytime everyday. 
  • Till seeds 
    • it helps to generate required enzymes in stomach and keep it cool. Dry roast till seeds and grind them coarsely. Consume 1-2 spoons everyday with jaggery or without based on taste.
  • Dinner time
    • Have dinner about 2 hrs before sleep. Digestion will be slow during heartburn. 
  • Sound sleep
    • Last tip, add saffron to milk and consume daily after dinner. Saffron helps to clean stomach with unwanted bacteria and helps to get good sleep.Raise the head of your bed.

Things to avoid

  • Very spicy, fatty & junk foods.
  • Green Chilies in any food preparation.
  • Coffee, alcohol, coke and other beverages.
  • Mint, peppermint, chocolates.
  • No smoking.
  • Stress and depression.
  • Don't lie down soon after meal.
Follow these remedies everyday and feel the difference in the stomach and heartburn fading away.  :)

If still suffering from Heartburn then immediately make call to the Doctor and fix an appointment. 

Have a safe and stress free life !!!!!!

Feel free to share your comments, because knowledge is all about sharing.. !!!!!


Wednesday, February 11, 2015

Arch Linux- Android Studio with SHA-1 fingerprint

Cheers !!!!

Using Google API's we can develop Android Applications to integrate either the location based search or maps API and so on.


Creating application for Google Maps, we have to obtain the API key from Google console and include in our code.


In this post I will brief about obtaining the fingerprint which is useful to obtain the Google Map's API Key.


STEP 1::  Launch the Android SDK Manager

               In Android Studio (I used), open the sdk manager console by clicking on the icon







. SDK manager window opens

STEP 2:: Install the Supporting Google API.
             Install Supporting Repository,Google Repository,Google Play Services from the Extras

STEP 3:: Add the Google Play services in  Gradle

              Open build.gradle  configuration file of the application and include the Google Services dependency. such as 
compile 'com.google.android.gms:play-services:4.3.23'

STEP 4:: Create Map Fragment.

              Declare option for the MapFragment by including the tag in fragment xml file:
            <fragement
                    xmlns:map="http://schemas.android.com/apk/res-auto"
               />

During this process if you encounter exception then clean the project by navigating to the project path

      
       c:/home/directory/android_projects/SampleApp> gradlew clean

In few case (including my situation) while performing this command if permission error encountered then provide the editable permission by login as admistrator in terminal and type 
            
            # chmod 777 gradlew


STEP 5:: Obtain the SHA-1 hash fingerprint using keytool

             Firstly determine the path of keytool in .android folder. Usually it is found in home folder such as
/home/.android

navigate to the path and type the command.


$ keytool -list -v -keystore debug.keystore 



Ignore if asked any password asked and just go ahead and press Enter. You will obtain the fingerprints such as


Certificate fingerprints:

MD5:  52:1E:05:92:D7:04:7F:83:D3:86:97:30:7V:3B:62:14
SHA1: 19:8V:6B:F2:2C:93:02:23:2R:8B:5F:C6:F3:63:9E:EB:5E:VB:7A:B3



SHA256: 03:9C:84:EV:6V:4A:C1:88:25:43:7R:57:A8:A1:77:EE:DA:53:CC:E6:F5:



STEP 6:: Paste key in Google Console
              Copy obtained fingerprint and paste in the Google API Console  https://code.google.com/apis/console while creating a new Android key. click save. Voila!!!! Android API key is generated.

STEP 7:: Include in our code
               In order to use the generated API key, go to our manifest file and under the activity tag where we want to use Google Map, add the meta data

       <meta-data 
               android:name="com.google.android.maps.v2.API_KEY"                            android:value="YOUR_API_KEY_HERE"
        />

Boom !!!!!! Run the code and we can see the Map displayed.... !!!!!

Happy Coding !!!!

Thursday, February 5, 2015

Configure Jenkins in Arch Linux

Welcome all !!!!


I found interesting to use Jenkins for building my applications and thereby I am posting the same in details to configure Jenkins in Arch Linux
Open terminal & login as root admin, provide username and password if any.

$ sudo su


Using pacman command download the latest Jenkins

# pacman -Sy jenkins


We will get the following response, go ahead and accept download


resolving dependencies...
looking for inter-conflicts...

Packages (1): jenkins-1.598-1

Total Download Size: 56.19 MiB
Total Installed Size: 64.49 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
jenkins-1.598-1-any 56.2 MiB 1341K/s 00:43 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
(1/1) installing jenkins [######################] 100%
This installation of Jenkins uses port 8090 by default.


The last comment shows the Jenkin uses 8090 as its default port (port will not be same for any machine).Simply open the browser and type http://localhost:8090. We find a message saying webpage is not available.

At this stage look for the path where Jenkins is download. Just type command to search


$ whereis jenkins


In my case it was downloaded at /var/lib/jenkins.

We can now confirm that the Jenkin is successfully installed in our system.

To start the Jenkins, either navigate to the Jenkin's path or root path and type

# systemctl start jenkins


Refreshing the web page (http://localhost:8090) will open Jenkins homepage.

Hurray, Jenkins is at our service.. !!!

Install Skype in Arch Linux

Setting up Skype in Arch Linux is very simple and easy. Wanna try, follow my step by step procedure and be ready to start chatting. :)

If you are using 64 bit computer (as in my case), install the PulseAudio Server using the command

$ sudo pacman -S pulseaudio pulseaudio-alsa pavucontrol lib32-libpulse

To check if the PulseAudio Server is installed simply stop and start  the Server using the commands

$ pulseaudio -k
$ pulseaudio --start

Now install Skype package from official Arch repository in order to pull out all the dependencies required to run smooth.
$ sudo pacman -S skype
check where the skype is downloaded by typing the command
$ whereis skype

u will get two result as usr/bin/skype and usr/share/skype ,then execute the command to set the permissions

$ sudo chmod +x /usr/bin/skype

Voila!!!, Skype is installed succesfully. To start the skype simply type the command 

$ skype

Instead,if you wish to close the terminal after starting up the Skype Service then execute the command as 

$ nohup skype

Enter your credentials and start conversing with friends comfortably !!!