How to disable middle click scroll wheel on generic mouse

I have a generic mouse, and I wish I could click it to make it double click but nooooooo… instead if makes me autoscroll up or down on the page I’m reading. It’s annoying. I found a solution to disable it. It’s in the FireFox settings under

Tools > Options > Advanced > under General Tab > uncheck Use Autoscrolling

I found the step by step instructions including screenshots over at howtogeek.com

Generic Mouse Middle Scroll Wheel

Sometimes the scroll wheel just isn't worth the hassle-hoff!

If anybody knows how to make the scroll wheel double click when I press it on a generic USB mouse let me know!

How to add more search engines to Google Chrome

Adding, editing, and removing search engines on Google Chrome is easy. I prefer the steps that I saw on the Google site. Here they are:

  1. To start adding searches on Google, simply click the wrench tool on the top right side of the Google browser.
  2. Then click the option tab
  3. Next is clicking the basic tab on the left upper side.
  4. Go to search and click the manage tab choosing google on the option.
  5. On the search engine, click the add bottom.
  6. Then from the bottom of the dialog, there’s a section that needs to be filled out.
  7. The form is asking for a name (name for the search engine), keyword (shortcut word for the search engine) and URL (the website for the search engine that you want to add).

Or you can go to Google search and simply type the words “how to add search engines on Google”. And there it is, you can now follow the instructions stated there.

How to add to and edit iptables

If you’re using a firewall on your server, you’ll want to edit your IPtables. Here’s how you can add new IPs or edit existing ones. Remember port 22 is for ssh and port 21 for FTP.

  • vi /etc/sysconfig/iptables

Edit the IPs in /etc/sysconfig/iptables. Then save changes and run this command to commit changes

  • service iptables restart

Successful service iptables restart should result in this:

Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
Applying iptables firewall rules: [  OK  ]

Example of what iptables should look like

http://www.brandonhutchinson.com/iptables_fw.html

http://oceanpark.com/notes/firewall_example.html

http://www.iitk.ac.in/LDP/LDP/nag2/x-087-2-firewall.example.html

http://www.liniac.upenn.edu/sysadmin/security/iptables.html

Or search google for “example iptables config file”

How to boil eggs (for Easter)

Boiled Easter Eggs

Boiled eggs decorated for Easter (cool Easter eggs picture above)

Decorating Easter eggs can be fun, but the first step is getting them ready. Boiling an egg is as simply as ABC. Here are the steps:

  1. Get the eggs out of the carton and ready for action.
  2. Place your desired number of eggs into a pot that you’ll use on the stove top.
  3. Now you need to add water, make sure to add enough to cover all of the eggs.
  4. Bring the water to boil without covering the pot (this will help avoid the eggs from cracking.)
  5. Egg boiling tips – Now if you want your egg softly boil, you need to boil it only for 5 minutes. But if you want it hard boiled, you need to boil it for 5-10 minutes. I usually go to 7 minutes.
  6. After boiling the eggs, remove the excess water from the pot and run cool water on top of the just boiled to cool down the eggs before you start to decorate or peel them.

If you have any tips or fresh ideas, feel free to share in the comments. Happy Easter!

How to delete your Facebook account

How to delete a facebook account

Want to delete your facebook account but don’t know how? Check these simple steps.

deleting social media facebook account

If only it was as easy as ctrl+alt+delete!

  1. Sign in to your account.
  2. When you’re already logged in, go to account tab on top and right side of the facebook site.
  3. Click the account setting.
  4. Then you will see your account (settings, networks, notifications, mobile, language, payments and facebook ads).
  5. On settings, you are going to see your name, username, email, password, linked account, security question, privacy, and account security, download your information and deactivate your account.
  6. Clicks deactivate your account. Note: In Deactivating your account will disable your profile and remove your name and picture from anything you’ve shared on Facebook.
  7. Facebook will ask you to give the reason in deactivating your account and your explanation.
  8. Then you have to confirm it by clicking the confirm box.
  9. Note that your profile is not deleted right away, it is said that your account will be deactivated for two weeks, and if you DO NOT USE FACEBOOK IN ANY WAY during that period,
  10. Your account is permanently deleted.

How to clear the Qmail Queue (clean & delete it quickly)

Awe shiznit!! Is your qmail queue on your server out of control? Look no further! Here’s a quick and easy way to clear, clean, or empty your qmail queue.

Clear & Clean Qmail Queue Completely, Safely & Fast!

This script should not remove anything it should not remove, and it should clear all e-mail from your qmail queue safely so you can start sending mail normally again. (This is for qmail only and not a solution for any other mail programs.) You’re going to need ssh access and an ssh program like putty or putty portable.

Let’s get busy with the Qmail Clear script:

  1. Log into your server through ssh
  2. type this:
    su –
  3. type this:
    wget http://www.howtohacks.com/scripts/qmailclear.sh
  4. type this:
    sh qmailclear.sh or sh ./qmailclear.sh
  5. done.

I took the downloadable script down so you’ll need to write it yourself, but just as a quick summary so you know what it’s doing, the Qmail Clear script looks like this:

echo Cleaning Queue
mv /var/qmail/queue/lock /root/
cd /var/qmail/queue; find . -type f -exec rm -f ‘{}’ \;
mv /root/lock /var/qmail/queue/
echo Queue is now Clean

If this didn’t do the trick and you’re receiving oversized file truncating errors (or “Argument list too long”) then you should use this more intense script. It will take longer but it will get the job done.

Let’s get busy with the Qmail Clean script :

  1. Log into your server through ssh
  2. type this:
    su –
  3. type this:
    wget http://www.howtohacks.com/scripts/qmailclean.sh
  4. type this:
    sh qmailclean.sh or sh ./qmailclean.sh
  5. done.

DO NOT restart any process. DO NOT reboot the server. DO NOT do anything until the script says it is done. If you restart a process, etc, it will break qmail and that’s no fun. Just run the script until it’s complete.

You can download the script and view all of the code yourself, but here’s a quick summary of the main lines of code so you know what’s taking place when running the Qmail Clean script:

echo “Stopping Qmail”
/etc/init.d/qmail stop
echo “Clearing the Mail Queue”
cd /var/qmail/queue/info
rm -rf blah blah blah
echo “Info folder clean, clearing mess folder”
cd /var/qmail/queue/mess
rm -rf blah blah blah
echo “Mess folder clean, clearing remote folder”
cd /var/qmail/queue/remote
rm -rf blah blah blah
echo “Remote folder clean, clearing intd folder”
cd /var/qmail/queue/intd
rm -rf blah blah blah
echo “Intd folder clean, clearing local folder”
cd /var/qmail/queue/local
rm -rf blah blah blah
echo “Local folder clean, clearing todo folder”
cd /var/qmail/queue/todo
rm -rf blah blah blah
echo “Mail queue cleaned”
echo “Restarting Qmail Now”
/etc/init.d/qmail start
echo “Qmail Started!”
echo “Done!”

If you’re interested in reading more about Qmail I recommend this book Qmail book and also these links:
A reference for qmail users – qmail.org
A qmail tutorial site – Life With Qmail

How to pour the perfect beer

St. Patrick’s day is right around the corner… and everybody is Irish on March 17th! That means green beer, fun parties, and good memories! Did you know that beer is the most consumed alcoholic drink all over the world? There are many types of beer to choose from, from mild to hard kind of beer. They have the Pale Ale, Stout, Mild, Wheat, Lager and Lambic. Whatever kind of beer is served in front of you, it is still best if you can pour it perfectly on your glass.

the perfect beer

The question is how you enjoy drinking your beer? First, let’s pour it make let’s make it perfect.

  1. Choose the best and your favorite beer.
  2. Chilled it.
  3. A beer glass, a mug or just simply a glass.
  4. But it’s better if you can use a chilled or frozen mug too.
  5. Always hold the glass on a 45 degree angle.
  6. Pour the beer slowly with at least 1 inch from the mouth of the glass.
  7. Pouring the beer in a nice and slowly way can give your beer a right amount of foam.
  8. Then sip your beer right away. Enjoys the beer while it’s chilled.

How to create a Facebook account

In order for you to create a facebook account, you must need first a valid email address. Your email address is a proof that you’re a real person and really want to have a facebook account. Here are the steps:

  1. Create a valid email account. This is where they will send a confirmation letter after you create an account on facebook.
  2. Sign up on their facebook page at www.facebook.com
  3. Complete the form: First name, Last name, email address, Password, Sex and Birthday. Facebook requires all users to provide their real date of birth to encourage authenticity and provide only age-appropriate access to content.
  4. If it’s for your personal account, sign up using personal account. But if you to represent your band, business, or product you should create a Facebook Page.
  5. Then after you fill up the necessary form and submit it on facebook, a confirmation email will be sent on your given email account. Make sure it’s valid or else your account will be void.
  6. Facebook will ask for a code given on your email and you have to paste it on a box where it is asked.
  7. Then, here you go. You now have a personal account or facebook page.
  8. If you want to make you personal account private, you just need to edit your privacy setting that can be seen once you sign in on facebook.

Make sure to read the privacy policy and terms of service!

While creating account on facebook, they have a very tight policy and rules that you must read. And because many are using facebook all over the world, facebook has been known to be very tight when it comes to their restrictions. If you don’t follow them, you will be blocked for an hour or so and if you continue doing what they don’t like, you may end up be banned and blocked permanently.

How to tie a scarf

A beautiful colored scarf can be a great help in making your wardrobe glamorous even if it’s plain in color. Wearing a scarf can make you look good and fashionable. There are many available these days in a variety of fabric, colors, and name brands (like Louis Vuitton).

A scarf that's beautifully tied

Learning different styles of tying a scarf is a great advantage especially if you are very fashionable.

Here’s a great way to tie a scarf, it’s easier to do when compared to tying a tie.:

  1. Choose the best or appropriate color of scar for your dress.
  2. Fold your scarf diagonal /or twist each sides.
  3. Hang the scarf in the middle of your neck.
  4. Allow each end pass through the loop, just like tying both ends like a knot.
  5. Hold both ends and let it reach the color of your blouse.
  6. Grab each loop ends.
  7. Loosen or tighten as necessary depending on how tight or loosen you want it.

How to Zip a file (and compress it)

First we need to know what is zipping a file. Zipping a file means compressing a large amount of file to make it smaller. So how can we zip a file? In my everyday work, I only use Winzip but there are other software that you can use to zip a file like the free 7zip.

Here are the steps:

  1. Winzip is one of the common zip file compressor. You need to find a zip file compressor like a Winzip. Install Winzip or 7zip if you don’t have a zip software installed already.
  2. Go to the folder of the items that you want to zip.
  3. Then right click and go to Winzip and click add zip to.
  4. Choose where archive that you will put your zip files.
  5. Then you need to click add so that the items to be zip will be placed and started to zip the file.
  6. It will take a little while to zip a file depending on the amount of the files that you want to zip.
  7. Then you can now see the zipped file on where archive you add it.

Zipping a file is a big help especially in emailing large amount of files such as images.