How to lose weight fast (5 easy steps)

My 10 year class reunion has come and past, and a lot of people were worried about the impression they’d make after all of these years. We’ve all been there. So if you’re looking to slim up and lose weight fast, here are 5 techniques that might help you lose 5 pounds in one week or 5-7 days!

Natalia Siwiec in a Bikini

Swimming is also a great exercise to consider when trying to lose weight fast. It burns calories while swimming and also gives you a calorie after burn effect.

  1. Restrict calories moderately, starting with 200 calories a day. Gradually increase the calorie restriction to 500 per day over a one week period.
  2. Eat a balanced diet. Include 1 lean source of protein, 1 serving of complex carbohydrate, and 2-3 servings of vegetables and fruit at each meal. The total daily percentage of protein is 40%, carbohydrates 40%, and fat 20%.
  3. Eat 5-6 small meals per day.
  4. Exercise. Walk 30-45 minutes everyday. After one week, add ankle and wrist weights for added resistance. Walk up hills or on inclines as your conditioning improves.
  5. Resist food cravings by brushing your teeth when you feel hungry. Food cravings are strong in the late afternoon. If brushing your teeth fails, eat one of your meals during this time
Quick weight loss

Make sure to use a scale that’s correctl(51.9 kg = 114.49 lbs = 8.17 stone)

How to use basic VI commands

I’m bored right now so I’m messing around on my server. Sometimes people forget VI Commands so I thought I’d share some basic VI commands. Hopefully this quick reference can help somebody out. For those that don’t know, VI is an editor used in the Linux/Unix environment to edit files that contain text. http://en.wikipedia.org/wiki/Vi

To edit a file in SSH you’ll run this command

vi /path/to/file/whatever.sh

First… you must learn there are 2 different modes.

Insert mode and Command mode

hit escape to enter command mode.
from command mode… these are the keys to go into insert mode

i => will make you start inputing at the cursor
a => will make you start inputing after the cursor
o => will open up a new line below the current line your cursor is on,and move the cursor there.

when in insert mode, hit the escape key to enter command mode again
basic command mode commands

:w => save the file
:wq => save the file and quit
:q! => quit w/o saving

/textstring => searches for the textstring in the file ( hit n to find
next instance and N to find previous )

simple copy and paste

yy => yanks single line ( aka copy line into buffer)
p => will paste buffer onto the line below where the cursor is.

to get fancy, you can prepend yy with the number of lines you want to
copy ex .

5yy  => will yank 5 lines from where the cursor is and below in the buffer
p => will paste those 5 lines

dd => cuts single line ( aka cuts line into buffer )
p => will paste cut buffer onto the line below where the cursor is.

And that’s about it. For more in depth instructions you can check out these two sites:
http://osr600doc.sco.com/en/FD_create/vi_summary.html
http://www.cs.colostate.edu/helpdocs/vi.html

How to empty the qmail queue

To clear all messages from the queue the first step is you must shut down qmail. Here are the SSH commands for that.

  • Using qmail-rocks scripts:
    /etc/rc.d/qmail stop
  • Or you can try the following
    qmailctl stop
  • Or you can try this
    init.d/qmail stop

To clear the qmail queue, use the following SSH commands to change to the queue directory and clear the queue.

  • cd /var/qmail/queue
  • find intd todo local remote mess info bounce -type f -print |xargs rm

After it’s clear you can start qmail back up using a similar command that stopped the service, but say start.

  • Using qmail-rocks scripts:
    /etc/rc.d/qmail start
  • Or you can try the following
    qmailctl start
  • Or you can try this
    init.d/qmail start

Now the queue should be empty!

For learning the ins and outs of Qmail I recommend this Qmail book

How to TAR a file or folder, GZIP, and UNTAR (create TAR files archive)

If you’re running a Linux based server, here a step by step guide on how to tar a file and then how to gzip (compress) that file using a simple SSH command.

When you are logged into your server through SSH, you can use this command line to tar and then gzip your folder into a tarball file. This will compress your file into the current directory

  • tar -czf whatever.tar foldername
    (another method would be…)
  • tar -czf whatever.tar.gz foldername

If you’d like to tar your file and have it put in another location use this:

  • tar -czf /directory/directory/whatever.tar foldername

Now that you have a tar file, here’s how to untar / ungzip (or unzip, uncompress) a file in SSH. Using this command you’ll untar and uncompress your file, then it will place that folder in the directory you are currently in restoring your old folder and file structure.

  • tar -xf whatever.tar
    (another method would be…)
  • gunzip -dc whatever.tar.gz | tar xvf –

Here are a list of tar options, and their significance.

-c = create
-f = read to/from the named file (instead of the device /tape)
-t = list contents of .tar file
-r = append to a .tar file
-v = verbose (tells you everything its doing)
-x = extract contents of .tar file
-z = compress files

Want to learn more SSH commands? I recommend the book Linux in a Nutshell

If you’re a server admin, another thing you might be interested in is how to clear the qmail queue.

How to say hello in different languages

There are thousands of words to express our way of greeting – using different languages! Learning different kinds of greeting in other languages is a must especially if you love traveling. But what are the basic ways to say hello in different Languages?

Let me show you how! Here’s “hello” in 12 languages:

1. On top on my lists is in English- we say it “hello”.
2. Spanish – “Hola”. We pronounced it as Oh- la.
3. Chinese – “Ni- Hao”. We pronounced it as Ni- Hao.
4. French – “Bonjour”. We pronounced N as a nasal vowel, which is produced with a lowering of the velum so that when we say it the air escapes through the nose and mouth.
5. German – “Guten Tag”. We pronounced it as Gootan Tahg.
6. Korean – “Ahn Nyeong Ha Se Yo”. We pronounced it as ahn-yan-ha-say-yo.
7. Russian – “Zdravstvuyte”. We say it Zdra-stvooy-tye.
8. Japanese – “Konichiwa” is used for hello. “Ohayoou Gozaimasu”. We pronounced it as O-ha-yo go-zai-mass, that means “Good Morning.”
9. Italian – “Buon Giorno”. We say it as Bwohn geeornoh.
10. Hebrew – “Shalom”. It’s Shalom ( same meaning as hello, goodbye and peace)
11. Greek  – “Yia Sas”. It is pronounced as Yah- sas.
12. Tagalog – “Kumusta”. We say it Ku-mus-ta. (Same meaning as hello how are you?)

Even though we have many languages with many ways to express our greetings, it’s still  how sincere we say it and show it to who we are talking. Now, you can face different kinds of people (or at least 11-12) and show your respect in greeting them using their languages.

(photo credit: Theoddnote)

Theoddnote

How to make papaya candy (recipe)

Here’s an easy recipe to make great tasting papaya candy. Here’s what you need:

  • fresh yellow-green papaya ( not too young or too ripe)
  • 2 tbsp lime diluted in 10 cups of water
  • sugar
  • yellow food color

Here’s what you need to do.

1. Choose a semi-ripe papaya.
2. Peel and cut into small cubes for about 3/4″.
3. Soak it in lime solution overnight.
4. Next day, wash the papaya thoroughly

papaya fruit with lime cut in half

ripe papaya and limes sliced in half

5. Soak for 2 hours in water tinted with yellow food coloring.
6. Put the papaya in a pot, and add colored water until the fruit is completely covered (just enough to cover the top of the fruit).
7. Boil papaya in colored water for about 1 minute (until tender) and drain immediately. Save this water for later!!
8. Wash the papaya and drain again, getting rid of this water.
9. Make a syrup of 1 part sugar to 1 part of previously boiled water that you saved.
10. Bring to the syrup mix to a boil so the sugar is disolved and add papaya.
11. Cook for 10 minutes and let it stand overnight.
12. On the next day, boil again the syrup until it dries up with continuous stirring. It will harden the sugar.
13. Spread it in baking sheet. Dry it under the sun or in oven for a low heat for an hour or until the candy hardens and ceased to be watery.

papaya candy recipie

delicious papaya candy!

Some extra notes:

If you want to make other candies, check out The Ultimate Candy Book
with over 700 recipies! Also if you’re an food or desert lover and happen to be in Asia, check out Dine Mates to connect with others and possibly meet up for a meal with others in your area.

Papaya is a wonderful fruit and it’s easy to make your own candy using papaya. Fruit is very good for you, but if you’re diabetic you’ll need to make sure to take a close look at the number of carbs you consume.

Also make sure you know your allergies and possible side-effects. Caution should be taken when harvesting, as papaya is known to release a latex fluid when not quite ripe, which can cause irritation and provoke allergic reaction in some people. The papaya fruit, seeds, latex, and leaves also contains carpaine, an anthelmintic alkaloid which could be dangerous in high doses.Excessive consumption of papaya, as of carrots, can cause carotenemia, the yellowing of soles and palms which is otherwise harmless.

How to fix sendmail, iptables, and email delay/not sending

I had some issues with sendmail actually sending out an e-mail. Then sometimes if I stopped the iptables firewall some emails would make to my inbox but that’s quite a big delay. What I had to do to get my mail working smoothly and sending right away was to allow my server’s (or lan) IP address to access sendmail. Here’s the code I put into my iptables config file. I couldn’t find a real solution that worked for me so I edited /etc/sysconfig/iptables and copied this

-A INPUT -p tcp -s 0/0 –sport 80 -d MYSERVERLANIPHERE –dport 1024:65535 -m state –state ESTABLISHED -j ACCEPT

Then pasted, and changed the port to 25 instead of 80

-A INPUT -p tcp -s 0/0 –sport 25 -d MYSERVERLANIPHERE –dport 1024:65535 -m state –state ESTABLISHED -j ACCEPT

Then I restarted my firewall (service iptables restart) and booyah! Shiz iz workin.

If you’re a server admin, another thing you might be interested in is how to clear the qmail queue.

How to remove ICQ from “New Tab” search in Internet Explorer

How do I uninstall the ICQ “New Tab” Search from Internet Explorer 8? It’s easy to remove ICQ from your browser and there are a coupe things you can do. You’ll want to close Internet Explorer before doing this.

1) If it’s still available you can download the uninstaller and remove it using ICQs tool.  The Uninstaller can be downloaded by clicking here or the image below.

click do download from icq.com

This is what it looks like when you run the program itself.

This is what happens when you launch the program

2) This method involves editing your registry. Do this at your own risk!

Click the start button > click “run” > in the box enter text “regedit” without quotes. This will launch the registry editor.

Now you need to navigate to this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AboutURLs

Now right click on “tabs” to bring up the menu > then left click on “modify” > in the “edit string” window replace the text in the “value data” box with the following:
res://ieframe.dll/tabswelcome.htm

Close the registry editor, launch Internet Explorer, and you should see the original “New Tab” screen instead of the ICQ search. If you need more assistance with ICQ then I recommend checking out their knowledge base and message board.

How to remove ICQ default search in FireFox

I installed ICQ 7 the other (ICQ 7.2) and it took over my PC a little. It installed a toolbar for FireFox and Internet Explorer and also set itself as the default search engine. To remove it I went into my control panel, clicked on Programs and Features, removed the ICQ Toolbar. But ICQ was still the default search when I typed something in the address bar (instead of the search bar). So I searched and searched and found the solution in the ICQ forums (Too bad, as of April 3rd 2011, ICQ blogs, groups fight and forums are no longer
supported at ICQ.com)

To remove ICQ toolbar from FireFox

  1. Go to Tools->Addons and find the ICQ Toolbar and uninstall it.

To change the FireFox search back to normal:

  1. Open a new tab in FireFox
  2. Type about:config in the address bar
  3. Type keyword.URL to find the entry
  4. Right click on it and choose reset or click modify change that entry to http://www.google.com/search?ie=UTF-8&oe=utf-8&q= to return to the normal Google search. (keyword.URL should currently show http://search.icq.com/search/afe_results.php?ch_id=afex&tb_ver=2.0.0.4&q=)
keyword url function in firefox

keyword.url function in firefox

You can change the default search URL to anything you want instead of Google. Here’s more info about the FireFox keyword.URL