Tips for heathy life

Tips for heathy life

Selasa, 26 Agustus 2014

Benefits of Green Beans for Health

Content of  Green Beans
Vegetable protein, calcium and phosphorus and mineral resources
Saturated fatty acids account for 27 %
Unsaturated fatty acids are approximately 73 %

Benefits of Green Beans for Health

1. Reducing Cholesterol
For those with high cholesterol, you can consume green beans every day to reduce cholesterol levels because green beans are foods that lower cholesterol , and are rich in soluble fiber. Fiber itself there are two kinds : soluble fiber, a soluble fiber that will form the digestive function as jelly and good for the body and insoluble fiber, where the fiber can only help normalize bowel movements.
2. Post-menopausal
Phytoestrogen substances contained in green beans can prevent osteoporosis by stimulating bone growth by consuming approximately 90 mg per day.
3. Overcoming diabetes
Green beans have a low glikemika index that triggers body fat levels are also low.
4. Preventing breast cancer
Green beans contain substances that can fight viral infections that can prevent the formation of tumor cells and breast cancer cells slows.
5. Booster as breast milk
Based on experience, green bean cooking water can increase the amount of milk production.
6. Raising blood pressure
For people who have low blood pressure, it is advisable to consume green chaotic that normal blood pressure.


Picture copy from : www.australiangardener.com.au

Duck egg for health

 
picture copy from: sport.detik.com 

Ducks like chicken breed by laying eggs. There is an assumption that duck eggs are much better than chicken eggs when the compounds contained in the duck eggs and chicken eggs are different but not significantly so the same nutritional value. Duck egg contains anti-oxidants which could prevent the damage caused by pollution, help your body fight disease, as well as maintaining sisitem metabolism. In addition, duck eggs have proteins that are good for the body and vitamin A lot. The benefits of duck eggs in the vitality of men is to eat duck eggs two eggs every day to improve impotence and improve sex drive. In addition, it would be great if taken with honey, followed by vegetables and foods containing zinc, such as spinach, oysters and mussels. According to Dr. Bambang Sukamto, DMSH of On Clinic, it is because duck eggs contain good fats and proteins and foods containing zinc will help boost the growth of sperm and testosterone. However, it is not advisable to consume in large quantities in the long term because it can increase the buildup of fat and cholesterol in your body.
 

Contact

If you want to know me, you can chat me in gtalk : manis.dani88@gmail.com.
I am online if i am free. It's on in office hours.


Privacy Policy

I use this blog to share about programming, health tips, recipes, and others. You may copy the article that I have made, but should also include the address of my blog. Respect my hard work as the creator of the article. I am sure you are a good person and appreciate the hard work of others.
Thank you for visiting my blog.

Senin, 25 Agustus 2014

OPERATOR arithmetic in Java SE

I want to share OPERATOR arithmetic in Java. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.
 
int i = 37;
int j = 42;
double x = 27.475;
double y = 7.22;
System.out.println("Variable values...");
System.out.println(" i = " + i);
System.out.println(" j = " + j);
System.out.println(" x = " + x);
System.out.println(" y = " + y); //penjumlahan angka
System.out.println("Adding...");
System.out.println(" i + j = " + (i + j));
System.out.println(" x + y = " + (x + y));
//pengurangan angka
System.out.println("Subtracting...");
System.out.println(" i - j = " + (i - j));
System.out.println(" x - y = " + (x - y));
//perkalian angka
System.out.println("Multiplying...");
System.out.println(" i * j = " + (i * j));
System.out.println(" x * y = " + (x * y));
//pembagian angka
System.out.println("Dividing...");
System.out.println(" i / j = " + (i / j));
System.out.println(" x / y = " + (x / y));
//menghitung hasil modulus dari pembagian
System.out.println("Computing the remainder...");
System.out.println(" i % j = " + (i % j));
System.out.println(" x % y = " + (x % y));
//tipe penggabungan
System.out.println("Mixing tipes...");
System.out.println(" j + y = " + (j + y));
System.out.println(" i * x = " + (i * x));

Good luck.

OPERATOR Logic and Boolean AND

I want to share about OPERATOR Logic and Boolean AND. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.
------------------------
 
int i = 0;
int j = 10;
boolean test= false;
//demonstrasi &&
test = (i > 10) && (j++ > 9);
System.out.println(i);
System.out.println(j);
System.out.println(test);
//demonstrasi &
test = (i > 10) & (j++ > 9);
System.out.println(i);
System.out.println(j);
System.out.println(test);

LOGIC OPERATOR and BOOLEAN OR

This is LOGIC OPERATOR and BOOLEAN OR. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.
--------------------------
int i = 0;

int j = 10;
boolean test= false;
//demonstrasi ||
test = (i < 10) || (j++ > 9);
System.out.println(i);
System.out.println(j);
System.out.println(test);
//demonstrasi |
test = (i < 10) | (j++ > 9);
System.out.println(i);
System.out.println(j);
System.out.println(test);

Operator exclusive OR in Java



This is logic Operator exclusive OR. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

------------------------
boolean val1 = true;
boolean val2 = true;
System.out.println(val1 ^ val2);
val1 = false;
val2 = true;
System.out.println(val1 ^ val2);
val1 = false;
val2 = false;
System.out.println(val1 ^ val2);
val1 = true;
val2 = false;
System.out.println(val1 ^ val2);

How to make GUI Form Login dan Input data in Java SE?

I want to share how to make GUI Form Login dan Input data in Java SE. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

----------
package gui;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;

public class mwi {

public mwi() {

JFrame frame = new JFrame();

JButton tombol1 = new JButton("LOGIN");
JButton tombol2 = new JButton("LOGOUT");
JLabel lblPengguna = new JLabel ("Pengguna");
JLabel lblPasword = new JLabel ("Password");
JLabel lblCreated = new JLabel ("Created by :Dani:.");
final JTextField txtPengguna = new JTextField (10);
final JPasswordField txtPasword = new JPasswordField (10);

tombol1.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent event) {
txtPengguna.setText("dani");
txtPasword.setText("do u want it?");
}
});

tombol2.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent event) {
System.exit(7);
}
});

Container contentPane = frame.getContentPane();
//mengeset jenis layout tanpa menggunakan jenis layout apapun
contentPane.setLayout(null);
contentPane.add(tombol1);
contentPane.add(txtPengguna);
contentPane.add(tombol2);
contentPane.add(txtPasword);
contentPane.add(lblPengguna);
contentPane.add(lblPasword);
contentPane.add(lblCreated);


//meletakkan komponen pada posisi tertentu
Insets insets = contentPane.getInsets();
//mengatur batas untuk msg2 komponen
//namaKomponen.setBounds(, ,,)
lblPengguna.setBounds(insets.left + 5, insets.top +10, 150, 20);
lblPasword.setBounds(insets.left + 5, insets.top + 40, 150, 20);
txtPengguna.setBounds(insets.left + 165, insets.top + 10, 150, 20);
txtPasword.setBounds(insets.left + 165, insets.top + 40, 150, 20);
tombol1.setBounds(insets.left + 5, insets.top + 100, 150, 20);
tombol2.setBounds(insets.left +170, insets.top +100, 150, 20);
lblCreated.setBounds(insets.left + 340, insets.top + 100, 150, 20);

frame.setTitle("Dani");
frame.pack();
frame.setSize(new Dimension(500, 160));
frame.setVisible(true);
}
public static void main(String args[]) {
new mwi();
}
}
=============================
package gui2;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.security.acl.Group;
import javax.swing.*;

public class Dani {

public Dani() {

JFrame frame = new JFrame();
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();

JButton tombol1 = new JButton("TAMPIL");
JButton tombol2 = new JButton("BERSIH");
JButton tombol3 = new JButton("KELUAR");
JLabel lblNim = new JLabel ("NIM");
JLabel lblNama = new JLabel ("NAMA");
JLabel lblJenkel = new JLabel ("JENKEL");
JLabel lblAgama = new JLabel ("AGAMA");
final JTextField txtNim = new JTextField (10);
final JTextField txtNama = new JTextField (10);

JComboBox cmb1 = new JComboBox ();
JList lst1 = new JList();

JRadioButton opt1 = new JRadioButton("Laki-Laki");
opt1.setSelected(true);
JRadioButton opt2 = new JRadioButton("Perempuan");
ButtonGroup group1= new ButtonGroup();
group1.add (opt1);
group1.add(opt2);

cmb1.addItem("Islam");
cmb1.addItem("Kristen");
cmb1.addItem("Khatolik");
cmb1.addItem("Bindu");
cmb1.addItem("Budha");

//user interface
tombol1.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent event) {
txtNim.setText("06.12.2021");
txtNama.setText("Vieta");
}
});

tombol2.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent event) {
txtNim.setText("");
txtNama.setText("");
}
});

tombol3.addActionListener (new ActionListener() {
public void actionPerformed(ActionEvent event) {
System.exit(0);
}
});
Container contentPane = frame.getContentPane();
//mengeset jenis layout tanpa menggunakan jenis layout apapun
contentPane.setLayout(null);
contentPane.add(tombol1);
contentPane.add(txtNim);
contentPane.add(tombol2);
contentPane.add(txtNama);
contentPane.add(tombol3);
contentPane.add(lblNim);
contentPane.add(lblNama);
contentPane.add(lblAgama);
contentPane.add(lblJenkel);

contentPane.add(cmb1);
contentPane.add(lst1);
contentPane.add(opt1);
contentPane.add(opt2);



//meletakkan komponen pada posisi tertentu
Insets insets = contentPane.getInsets();
//mengatur batas untuk msg2 komponen
//namaKomponen.setBounds(, ,,)
lblNim.setBounds(insets.left + 5, insets.top +10, 150, 20);
lblNama.setBounds(insets.left + 5, insets.top + 40, 150, 20);
lblJenkel.setBounds(insets.left + 5, insets.top + 70, 150, 20);
opt1.setBounds(insets.left + 150, insets.top + 70, 100, 20);
opt2.setBounds(insets.left + 250, insets.top + 70, 150, 20);
lblAgama.setBounds(insets.left + 5, insets.top + 100, 150, 20);
cmb1.setBounds(insets.left +150, insets.top +100 , 150, 20);
txtNim.setBounds(insets.left + 165, insets.top + 10, 150, 20);
txtNama.setBounds(insets.left + 165, insets.top + 40, 150, 20);
tombol1.setBounds(insets.left + 5, insets.top + 200, 150, 20);
tombol2.setBounds(insets.left +150, insets.top +200, 150, 20);
tombol3.setBounds(insets.left +300, insets.top +200, 150, 20);

lst1.setBounds(insets.left + 5, insets.top + 300 ,300, 20);

frame.setTitle("Dani");
frame.pack();
frame.setSize(new Dimension(500, 300));
frame.setVisible(true);
}
public static void main(String args[]) {
new Dani();
}
}

How to display 10 integer and summation in J2SE?

I want to share how to display 10 integer and summation. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

------
/*
* IsiMatrix.java
*
* Created on November 8, 2008, 9:56 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/

package matrix;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
*
* @author amikom
*/
public class IsiMatrix {

/** Creates a new instance of IsiMatrix */
public IsiMatrix() {
}

public static void main(String[] args)throws IOException {
int[][] matrix1=new int[3][3];
int[][]matrix2={{1,7,3},{4,10,6},{7,80,99}};
BufferedReader bf=new BufferedReader(
new InputStreamReader(System.in));
//mengisikan nilai matrix
for(int b=0;b<3 b="" br=""> for(int k=0;k<3 br="" k=""> System.out.println("Masukkan matrix[" + b + "][" + k +"]");
matrix1[b][k]=Integer.parseInt(bf.readLine());
}
}
//menampilkan isi matrix1
for(int b=0;b<3 b="" br=""> for(int k=0;k<3 br="" k=""> System.out.print(matrix1[b][k] + "\t");
}
System.out.print("\n");
}
//menampilkan isi matrix2
for(int b=0;b<3 b="" br=""> for(int k=0;k<3 br="" k=""> System.out.print(matrix2[b][k] + "\t");
}
System.out.print("\n");
}
}
}

How to display Input Output Programme in Java SE?

I want to share how to display Input Output Programme in Java SE. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

----------------
import javax.swing.JOptionPane;
public class ProgramIO{
public static void main(String[] args){
double jumlah,kurang, bagi,kali;
double bil1,bil2;
bil1=Double.parseDouble(JOptionPane.showInputDialog("Masukkan bilangan 1"));
bil2=Double.parseDouble(JOptionPane.showInputDialog("Masukkan bilangan 2"));
jumlah=bil1+bil2;
kurang =bil1-bil2;
bagi=bil1/bil2;
kali=bil1*bil2;
JOptionPane.showMessageDialog(null,"Hasil Penjumlah : + jumlah");
JOptionPane.showMessageDialog(null,"Hasil Pengurangan : + kurang");
JOptionPane.showMessageDialog(null,"Hasil Pembagian :" + bagi);
JOptionPane.showMessageDialog(null,"Hasil Perkalian :" + kali);

}
}

====

of if you use parseInt, this the code:

int bil1,bil2,jumlah,kurang,kali,bagi;
bil1=Integer.parseInt(JOptionPane.showInputDialog("Masukkan bilangan1"));
bil2=Integer.parseInt(JOptionPane.showInputDialog("Masukkan bilangan1"));
jumlah=bil1+bil2;
kurang=bil1-bil2;
kali=bil1*bil2;
bagi=bil1/bil2;
JOptionPane.showMessageDialog(null,"Hasil Penjumlah :" + jumlah);
JOptionPane.showMessageDialog(null,"Hasil Pengurangan :" + kurang);
JOptionPane.showMessageDialog(null,"Hasil Perkalian :" + kali);
JOptionPane.showMessageDialog(null,"Hasil Pembagian :" + bagi);

Minggu, 24 Agustus 2014

How auditor ask you about SLM?

One year ago, my office got certification of ISO 20000:2011. Then every year, my office conduct surveillance ISO 20000:2011. The auditor will ask you several question about all of process of ITSM. I am not telling you about ITSM but I want to share about SLM that they ask. First, your must show your service plan in the beginning. The service plan is consist of reference document of SLA, OLA, etc. It's also tell about your next improvement service. If you have service plan, you can tell the auditor all about your service and improvement in the next step. But if you haven't, you must tell them that you didnt make yet. Maybe make some major finding or mirror finding but no problem, you can make your ITSM more mature than before.
Then, the auditor will ask you about BRM (Bussiness Relationship Management). Have got your document of BRM?  If have document of BRM, show them. They will ask you about your document. After that, the auditor ask you about feedback dan SOP (standart operation proscedure) of feedback. Then, show them. They will ask you about escalation of feedback.
In the end, the auditor will ask you about user satisfaction survey. Have you did user satisfaction survey? What is the result? Good or bad? The reason of good or bad. Then, what the next improvement of user satisfaction survey? That's all I can share to you. You must prepare the document and the other reference.

Good luck.

Benefit of Green Coconut Water


Benefits of Green Coconut Water
Green coconut water is a natural isotonic beverage that is very good for the health of our body, and has the same electrolyte content as well with our blood. Coconut water also functioned during the war in the pacific 1941-1945 as a substitute for emergency plasma transfusions, streamed directly from the fruit on the soldiers who were wounded. Preferably after peeling coconuts, then immediately consume the coconut water.
  • Coconut water is efficacious as a diuretic, which is to expedite expenditure of urine. Coconut water mixed with a little lemon juice is beneficial to treat dehydration, as well as to combat interference in the stomach worm small children.
  • If the young coconut water mixed with milk is very good for children's food. The mixture of coconut water have properties to prevent clotting of milk in the stomach, vomiting, constipation, and gastrointestinal pain.
  • Coconut water also has a variety of medicinal properties. Among other things, drinking coconut water can also help overcome the toxic effects of sulfa drugs and other antibiotics, making drugs more quickly absorbed the blood.
  • Wash your face with coconut water continuously every day can cure or eliminate acne, dark spots, wrinkles on the face that came early, dry skin, and the face became visible glow.
  • Mix coconut water with a little honey. This herb is a tonic that is cheap but nutritious. This herb stimulates the body's sexual centers and negate the harmful effects of excess sexual arousal.
  • Stubborn acne can be treated with a mixture of 25 grams of turmeric paste with a glass of coconut water, then left for the night, then add 3 teaspoons of red sandalwood powder. Stir - stir all ingredients until smooth, then stored again undisturbed for 3 days. Strain this medicine with three layers of gauze. Save the juice was in the bottle, and apply on your face twice a day until the acne disappears.
  • Coconut water is also efficacious as a medicine injuries, broken foot, and eczema. Making potions is relatively easy. Soak a handful of rice in coconut water with its shell until the rice turns sour because of fermentation, then the rice is milled into a fine powder. Rice flour is used topically every day for 3-4 days in the sick body.
  • If coconut water mixed with a pinch of turmeric powder and water whiting in equal measure is the drug burns and negates the burning sensation in the feet and hands.
Green coconut is one kind of the various species of palm tree. Physically very difficult to distinguish which green coconut. But, after the split, the new aesthetically difference. If peeled green coconut, red fiber. Water is rather bitter taste, not like a fresh green coconut although not mixed with sugar. Itengarai green coconut is the best cure for some diseases such as : heartburn, constipation, neutralizing toxins, dengue fever, intestinal worms, dysenter. When used for washing face, then the benefits of green coconut isa rid of acne, skin smoothing face, tighten skin(anti- aging) and when used for shampooing, can prevent the onset of gray hair .
In addition, green coconuts can be used as therapeutic uga gurah, how to condense the prophecy of green coconut water, then drink the next. When this is done every morning, God willing, the sound will be longer and melodious.

Kamis, 14 Agustus 2014

If your body lack of water

 

Do you hate drink? Yes, I do.
Truely, I hate drink mineral water but i love sweet syrup or tea. That's not good exactly for my body. I often
headache if my lack of drinking water in the morning. I want to share about result of body lack water.
The following result if the body lacks water, As reported by the American College of Sports Medicine :
  1.  Lack of water or dehydration causes the fluid in the brain decreases, oxygen intake which should flow to the brain was reduced. As a result, brain cells become active and growing, even shrinking. This makes the normal function becomes reduced, so it makes one a slow, easy to forget, and not the concentration.
  2. Dehydration experienced by the body can cause symptoms ranging from mild and moderate such as fatigue, thirst, dry throat, body heat, headache, concentrated urine, rapid pulse, until severe symptoms such as hallucinations and death.
  3. Lack of water can create a bladder infection. Symptoms of bladder infection can be elevated body temperature, pain, especially when the end of urination, feeling the urge to urinate that can not be detained, tenderness over the pubic bone. Sometimes there is blood in the urine.
  4. Women should consume more water because the bladder channel length shorter than men. Drinking plenty of water will help the bacteria out of the urinary tract and reduce the risk of bladder infections.
  5. Skin so dull due to lack of drinking make capillary blood flow in skin is also not optimal.
  6. Lack of drinking water can interfere with kidney function therefore essential water to prevent kidney stones. With enough water then the components forming kidney stones become easier shed with urination.
According to Professor Hiromi Shinya, MD, an expert enzyme that is also professor of medicine at Albert Einstein College of Medicine in the U.S., the body must receive adequate water supply. And consume 6-8 glasses of water per day (1.5-2 liters) is supposed to do.

Benefits of Walking for Health Every Day



 Alasan Kenapa Anda Harus Jalan Kaki

Benefits of Walking for Health Every Day
1 . Healthy heart
Walking regularly can lower levels of LDL ( bad cholesterol ) while increasing HDL ( good) cholesterol and maintain blood pressure . According to the Stroke Association , walking briskly for 30 minutes can help prevent and control high blood pressure .
2 . Losing weight
Walk as much as 2 mph for 30 minutes can burn 75 calories , which could then be coupled with the fast way to burn 99 calories . It can help you lose weight .
3 . Improve posture
Benefits of walking can help strengthen and shape the legs, giving the calf which contains , thighs , hamstrings and glutes lift ( buttock muscle ) , especially if the added weight .
4 . Prevent Osteoporosis
Walking helps reduce bone loss in the body .
5 . Prevent Diabetes
Walking can help regulate blood sugar in the body , thereby reducing the potential for diabetes.

Walking Benefits To Increase Energy
Walking briskly is a natural energy booster because it improves circulation and increases the supply of oxygen to every cell in the body and helps the body to easily move . Stiff joints and muscle tension make gestures feel sluggish .

Walking Technique For Sports
Here are a few preparations before walking as a sport :
Use the right shoes . Choose shoes with proper arch , heel and textured flexible soles and thick to protect the feet . If walking outdoors when it is dark , wear bright colored shoes or reflective tape for visibility .
Be careful - If you walk outside , avoid roads with pavement cracks , holes or uneven grass .
Heating - Walk in place for five to 10 minutes to warm up the muscles and prepare the body for exercise.
Cools - Finished running , cut to how fast walk slowly for five to 10 minutes to help the back muscles relax .
Stretching - After cooling , stretch your muscles gently . If you prefer to stretch before you walk away , remember to warm up first.

Benefits of drinking water in the morning




 
Water is one of the essential elements for the body. Without water, the body will become dehydrated and weak. If the lack of fluids in large quantities will cause a headache. In addition, lack of fluids in the body can lead to difficult defecation. For that we should always consumption of water with levels of 2 liters a day. Here are the advantages of drinking water in the morning:

Benefits of drinking water in the morning  :
Always Appear Younger. In fact, drinking water in the morning is very effective to remove and clean up the poisons in the blood through sweat and urine. So that the body will be healthy and fresh throughout the day .
Rejuvenation Muscles And Your Blood Cells. Drinking water in the morning worthwhile to renew organs and the muscles around the blood cells in the body.
Lymphatic System Balancing. When the lymph system to work optimally, the body will have more power to fight infections that may interfere with the quality of your health you have.
Controlling Body Weight . The ideal weight is the dream of every perso. For those of you who want to adjust the proportional weight , then start to meet the need of water in the morning.
Have a Healthy Colon . The colon is one organ in our pencernan system. With drinking water in the morning. will have a positive impact on colon health. So that the absorption of nutrients from food can work well too.
More Kidney Health Organ. Sufficient for water intake in the morning can help lighten the work the kidneys while keeping the kidney health.
Streamlining defecation. For someone who experienced constipation or difficult bowel in the morning, then you should drink water when you wake up which aims to help smooth the bowel movement.