Monday, June 22, 2015

Is it better to skip breakfast and Lunch?

Answer By Daniel Younan,

In my 13 years of training I would always hear people tell me "how are you skipping breakfast", "its the most important meal of the day"

that's a load of crap.

Your first meal is the most important meal of the day.  Doesn't mean it has to be eaten once you wake up.  

take my first meal at lunch.

Our metabolisms were forged from our ancestors some 40,000 years ago who didn't know when or where their next meals would come from.  They were active all day, walking ungodly distances in search of food and running for their lives when they were the food

There are days when their efforts to find food would yield a big fat zero.  

Having three square meals a day would be a blessing.  Sometimes it would be just one meal, or none at all. When you're in a situation like that, the body finds a way to survive, and that survival is hinged on the storage of fat.

Our society these days is obsessed with consuming.  We consume way more than we need.  Just when we think we’ve had enough, we want more.  

Appetizers, dinner, dessert, drinks, all you can eat buffets, french toast with syrup and a sugar-filled latte for breakfast, pizza and a milkshake for dinner.  

And its not like we spent all day roaming the land to find this food.  How do we get it?  Basically placed in our mouths.  We either drive to the fast food joint or call and get it delivered to our door.  We drive obscene distances to go to the gym to walk on the treadmill for twenty minutes and drive back. We are not earning our food.  

We are not working hard enough to be allowed to eat three square mealsSkipping a meal wont kill you. I promise. Its actually good for you and its called Intermittent fasting.

What is intermittent fasting (IF)? 

Simply put, it is the conscious decision to skip a meal or meals during the day.  In this way you are choosing when you take your meals and when not to.  The ideal time to take your meal while IF is after physical activity.  I have been skipping breakfast ( I know what you're thinking, blasphemy!) off and on for years now.  

I am still alive and well. 

I was never hospitalized or fell ill from this.  By skipping breakfast, my body will need energy to burn and that energy comes from fat deposits.  During your fasted state your body does not have previously ingested food to use as energy.  It has no choice but to draw from fat.  Awesome!  

This is doubly true if you are working out while fasting.  Your glucose and glycogen levels are low over the course of your fast and your body cant replenish without a pre workout meal.  So it adapts and finds a way to fuel the body.  Bring on the four course fat-cell meal!  More fat being burned.

You are not starving or torturing yourself.  Yes, your stomach will growl and it will feel like it is eating itself.  Good, let it!   The reason why its growling and you're so hungry is because you taught yourself this.  If you try IF for the next two months, you will notice a change in your eating habits.  Your appetite will be suppressed.  You will lose weight.  You wont die, I promise you.  This is not malnutrition. You are simply letting your body take from its storage and use that as fuel.  If you are properly eating and giving your body all the righnutrients, having three or four meals a day is not necessary.
   
Benefits of intermittent fasting?

I previously mentioned our ancestors would sometimes go without eating for a few meals before their next score.  While they probably didn't realize it at the time, research has shown this has many health benefits.

Intermittent fasting has a number of health benefits.  When done properly it could extend your life, regulate your blood glucose, manage your body weight and give your digestive system a much needed break.

So stop stuffing your face and give it a try!

Friday, July 16, 2010

Re-enable lower panel in Ubuntu

Restoring Default Ubuntu Panel



If accidentally you delete your lower panel in Ubuntu and could not bring it back after attempting several trials, you can try this below:

gconftool-2 --shutdown
rm -rf ~/.gconf/apps/panel

pkill gnome-panel

Thursday, June 24, 2010

How to enable rar\unrar in Ubuntu

As I am in a serious Ubuntu mood at the moment, I thought I would throw up another quick little guide. In order to enable rar\unrar in Linux (this tested in Ubuntu 9.04), open a terminal window and type:
sudo apt-get install rar
Then, after rar is installed, type the following
sudo ln –fs /user/bin/rar /usr/bin/unrar
Now you can extract rar-archives with the default archive manager in Ubuntu! Enjoy!

Thursday, June 10, 2010

SVN Configuration


SVN Configuration :-

 Setup your svn server.

1)      install Subversion setup at serverside.
2)      Install SVN services software which simply on the svn server from the windows services if you activate or on it from this services software. So, you don’t need to
On it manually from windows services. And also it on the services automatically whenever you start your windows.
3)      add an environment variable for SVN_EDITOR. You can do this by right-click on my Computer > Properties. Go to advanced. Hit the Environmental Variables button. Just add another in there called SVN_EDITOR with a value of C:\windows\notepad.exe
4)      Make the svn repository. And steps for it is given below.

1.      mkdir /home/user/myrepo/
2.      svnadmin create /home/user/myrepo/
3.      remove 3 comments at 3 lines given below from the svnserve.conf located at repository location in “conf ” directory.
anon-access = read
auth-access = write
password-db = passwd
4.        Edit password database file: C:\SvnData\MyProject\conf\passwd and optionally move the file to the target location if you changed default location in configuration file. The file structure is: [users]user1 = password1user2 = password2.
We can also enter the username and password like given below.

harry:passwd1
sally:passwd2

           

5)      Create the different Directory in repository for storing projects, repository, etc….

Mkdir /home/user/myrepo/Projects

This is Command “svn mkdir svn://192.168.0.1/Projects”.

If you want to delete any directory created like above then type below command.

svn delete svn://192.168.0.1/Projects

6)      After making svn repository check the repository using below command.

รจ    svn ls svn://localhost/
It will showing the content in your repository. For now it will just showing Projects directory becoz we have created only one directory.

7)      then Import the project in repository at particular location wherever you want to store using svn import command.

Ex.
D:\users\work\src>svn import TaskManagementSystem "file:///D:/users/work/svnrepository/Projects/TaskManagementSystem"

Where, TaskManagementSystem Project folder is stored in src folder with the source files. And TaskManagementSystem name is the name of directory which you want to import in your specified repository location followed by next path from the location where you execute this command in our example it is from D:\users\work\src.

8)      You can now checkout your project from the repository location to client machine using svn checkout command.

svn checkout svn://192.168.0.1/Projects/testpro
or if you want to checkout or want to do any client side operation without command then you can use tortoise svn and setup is also given in svn installable folder.
And there is minimal requirement to access the svn server from any client machine is to install the svn client setup which is also given in installable folder.

9)      To take a backup of svn repository :
svnadmin dump D:/users/work/svnrepository/ > D:/users/work/svnbackup/svnrepobackup.dump

10)  To load a svn repository from Backup dump of svn repository.
$ svnadmin load newrepos < dumpfile

11)  To remove the repository : svnadmin deltify D:/users/work/svnrepository/


12)  To restore the repository from the backup dump :
svnadmin load D:/users/work/svnrepository < D:/users/work/svnbackup/svnrepobackup.dump

       13)   Or you can take a backup of repository and also can restore the repository by manually copy paste the repository folder.

Thursday, March 25, 2010

Inquiry (Contact me)

This is an inquiry form.
anyone can make an inquiry for any problem regarding Technology.

Commands - (Technology Refrences)

There are lots of kind of commands you found here like Software technology, networking, etc....

There are certain commands used to establish the svn (Subversion) server.

Subversion (SVN) :-

svn import svn://localhost/Projects/TaskManagementSystem/

svn import TaskManagementSystem "file:///D:/users/work/svnrepository/Projects/TaskManagementSystem"

To take a backup of svn repository :
svnadmin dump D:/users/work/svnrepository/ > D:/users/work/svnbackup/svnrepobackup.dump

To load a svn repository from Backup dump of svn repository.
$ svnadmin load newrepos <>

To remove the repository : svnadmin deltify D:/users/work/svnrepository/

To restore the repository from the backup dump :
svnadmin load D:/users/work/svnrepository <>

Monday, March 22, 2010

Java - References

This is all about java references to solve the developers queries and to resolve the developer errors. This is very useful links need for developers.

1. http://www.javawhat.com/gotoDirectorySubmenu.do?submenu=tutorials
2. http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html

Monday, May 11, 2009

Protect your email address book

How to protect your e-mail address book


A computer repairman says this is like having gold. This is a good thing. I learned a computer trick today that's really ingenious in its simplicity.


As you may know, when/if a worm virus gets into your computer it heads straight for your email address book, and sends itself to everyone in there, thus infecting all your friends and associates.


This trick won't keep the virus from getting into your computer, but it will stop it from using your address book to spread further, and it will alert you to the fact that the worm has gotten into your system.


Here's what you do:


First, open your address book and click on 'new contact,' just as you would do if you were adding a new friend to your list of email addresses. In the window where you would type your friend's first name, type in ' A'.


For the screen name or email address, type AAAAAAA@AAA.AAA


Now, here's what you've done and why it works:

The 'name 'A' will be placed at the top of your address book as entry #1..

This will be where the worm will start in an effort to send itself to all your friends.

When it tries to send itself to AAAAAAA@AAA.AAA, it will be undeliverable because of the phony email address you entered. If the first attempt fails (which it will because of the phony address), the worm goes no further and none of your friends will be infected.


Here's the second great advantage of this method: If an email cannot be delivered, you will be notified of
this in your In Box almost immediately. Hence, if you ever get an email telling you that an email addressed to AAAAAAA@AAA.AAA could not be delivered, you know right away that you have the worm virus in your
system. You can then take steps to get rid of it!


Pretty slick huh?


If everybody you know does this then you need not ever worry about opening mail from friends.

DO IT NOW and pass this on to all your friends.

Sunday, April 12, 2009

Configuration

Java Configuration

1) setup the java
2) set the path java path in the environment variable.
3) if the program is not running then make the batch file

To make the batch file type the below command in your command prompt.

copy con bfile.bat
path=%path%;C:\Program Files\Java\jdk1.5.0_06\bin
ctrl+z

Detail :-

copy con java.bat
path=%path%;Your java bin file path(i.e. H:\jdk1.3\bin)
ctrl+z;then enter

You Can Give any Name to That batch File.

Friday, September 19, 2008

yahoo messenger script problem Internet explorer - script error

Here I wrote some tips to remove this script errors in internet explorer. use it
, It will resolve your problems.

1) If this does not work please try the following

go to Start - then Run - then type regsvr32 jscript.dll - then press OK

then

go to Start - then Run - then type regsvr32 vbscript.dll - then press OK

This should fix the issue.


2)
To enable scripting:

1. Click the "Tools" menu on your Internet Explorer toolbar and select "Internet Options."
2. Click the "Security" tab.
3. Click the Internet (globe) icon and click the "Custom Level" button.
4. Scroll down to "Scripting."
5. Enable the following:
* Active scripting
* Allow paste operations via script
* Scripting of Java applets are all enabled
6. Click the "OK" button at the bottom of the window.


3) Download script update version :

The easiest way to clear up this is to goto microsoft and download the latest version of scripting. Which is currently script 5.7 which is currently what is included with Windows Vista. Windows XP originally came with 5.6 . If you are running Windows 98, Microsoft took down the script download. You will have to try to find a copy of script 5.6 from another source.

Link: is in notepad file also : download script version 5.7 from here:
http://www.microsoft.com/downloads/details.aspx?familyid=C03D3E49-B40E-4CA1-A0C7-CC135EC4D2BE&displaylang=en

or take my downloaded file from this Email attachement :


4) Type this in Run : regedit

Workaround: At the current time, you can turn it off for only the session (meaning once you exit it, it resets). You can navigate to your C:\Program Files\Yahoo!\Messenger directory, and open filter1.enc in Notepad and remove everything inside and save it.

You can turn it off from your registry by going to the following key.

HKEY_CURRENT_USER\Software\yahoo\pager

on the right you will see an entry called WordFilter

Right click it and pick Modify and change value to 0

This will disable Wordfilter.

5) Yahoo! Messenger ignores (nearly) everyone in the chat room.

Workaround: This is because there is a bug in the 'Ignore anyone who is not on my Messenger List' feature. To correct this..
  • Go to the Yahoo! Preferences
  • Then go to Ignore List
  • Select 'Ignore only the people below:'
  • Press Apply then ok

Monday, September 1, 2008

JavaScript - YUI-based alert box - replace your ugly javascript alert box

If You want to change the look up of your simple alert message box into your JavaScript then follow
simple steps given below.

You just need to include the two script source file name and path. as i have given below include that
one in your javascript.

< type="text/javascript" src="http://yui.yahooapis.com/combo?2.5.2/build/yuiloader/yuiloader-beta-min.js">
< type="text/javascript" src="js/alert.js">

but you have to download one alert.js file from here.

although, let i have given below one simple Demo for it,


View Code:
<>
<>
This is yui message
< /title>
<>
< type="text/javascript" src="http://yui.yahooapis.com/combo?2.5.2/build/yuiloader/yuiloader-beta-min.js">< /script>
< type="text/javascript" src="js/alert.js">< /script>
< /head>
<>
< type="button" value="press it" onclick="alert('This is click event');">
This demo file
< /body>
< /html>

Thursday, July 17, 2008

Windows Registry Guide - Registry tweaks

Empty Temporary Internet Files on Exit  -

This setting controls whether Internet Explorer should delete all of the temporary Internet files stored during the session when the browser is closed.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find or create the key below.

Create a new DWORD value, or modify the existing value, called "Persistent" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Internet Settings\Cache]
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Internet Settings\Cache]
Value Name: Persistent
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = empty, 1 = do not empty)