Categories
How to

Enable POP for your Yahoo account

The workaround I mentioned below doesn’t work anymore, but POP/IMAP should be enabled for all accounts. I have tried that with another Yahoo Account and it works.

If you need to do use Yahoo address in gmail then maybe the less secure apps must be enabled in Google.


I have all my email accounts added in my gmail which works as an email client and I can access all of them through my gmail account. This is a very useful feature for everyone who has more than one email accounts to keep track of. For this you need POP enabled, which lets any email client download messages from your email provider’s server. Enabling POP is available for all of gmail accounts but for a normal yahoo account it asks you to upgrade to a plus account if you want to enable POP. POP can be accessed by going to POP & Forwarding in Mail Options for Yahoo.

Upgrade to Mail Plus

There are two ways to enable POP for your Yahoo account, the obvious one is to pay them and get Mail Plus and the other workaround to get it working for free is discussed below.

Enabling POP on Yahoo for free:

  • Log in to your Yahoo Account, look for your name on top left of the screen, with a small arrow with it.
  • Click on your name which will open a drop down with some options, findand click on Account Info in this list.
  • It shall ask you for your password, enter your password to get on your account info page
  • Scroll down this page for Account Settings section, and click on Set language, site, and time zone


  • On the next page change Regional Site and Languages to Yahoo Asia.
  • After that refresh your browser and go to Mail Options under the Options menu on top.
  • Click on POP & Forwarding on left and you will see now you can enable POP for your Yahoo Account !

POP Server Settings for Yahoo!

The following settings can be used to setup your Yahoo! account on any other email client

Incoming Mail (POP3) Server pop.mail.yahoo.com (Use SSL, port: 995)
Outgoing Mail (SMTP) Server smtp.mail.yahoo.com (Use SSL, port: 465, use authentication)
Account Name/Login Name Your Yahoo! Mail ID (your email address without the “@yahoo.com”)
Email Address Your Yahoo! Mail address (e.g., [email protected])
Password Your Yahoo! Mail password

If it does not work for anyone then please tell me about it in the comments section below, same goes for any queries that you may have.

Follow me on Twitter : umairr

Categories
DFP/ Admanager How to

Display two creatives simultaneously on a page DFP Google Admanager

I was caught up with a problem where I had a display two creatives simultaneously on a page where I had two placements. I had 3 sets of two creatives each which were to be shown as a set every time the page loaded. That means no ads of different sets can be shown together.

There is no apparent option in DFP/ Google Ad manager to show two creatives in sync, but I was able to find a workaround, explained below;

  1. Create a new lineitem/slide for every set of creatives and added two creatives each in those slides.
  2. In the Settings panel go to see the Adjust Delivery panel on right, go to Display Creatives option and choose As many as possible from the drop down.

    display creatives option in DFP
  3. Below Display Creatives you will see Rotate Creatives, choose Evenly from the drop down for this column.

    Rotate Creatives option in DFP
  4. Do the same for every lineitem.
  5. Make sure that all the lineitems have similarity in every other criteria, that is no lineitem supersedes any other lineitem in any way, may it be the cost, or priority, or any other metric.

This is it, all your creatives will now be shown as a set of creatives each time.

apparent
Categories
How to Tips Virtualization

Sharing files with a linux guest on VirtualBox

One of my friends recently installed Ubuntu on a VirtualBox, and he had a really tough time sharing files between the Ubuntu guest and the Windows 7 host machine. In this article I will describe the two most common ways to share files between the host and a *nix guest os inside VirtualBox.

Some information in this article assumes you are fimilar with working on a linux command line. Even if you have not used the linux commandline before, fear not, as you can copy and run the commands without any modification on a Ubuntu guest machine. For other versions of linux, you might be required to make a few changes to the commands (mentioned wherever possible)

Let’s get started. Assuming you have already performed the following steps before we can enable file sharing between the host and guest machine.

1. Create a virutal machine for Ubuntu in VirtualBox.
2. Install Ubuntu (its free!)
3. From the machine settings, enable Network adapter (either bridged or host only adapter, host-only is recommended) and shared folders.
4. Login once onto the Ubuntu GUI with your userid and password.
5. Install Guest Additions on the Ubuntu machine from the VirtualBox GUI and restart the machine once.

Now we are ready to start sharing files between our host and guest os.

Sharing files over the Network

  • Right click the Network Icon on the top right corner of desktop and select ‘Edit  connections’.
  • Double click the ‘auto eth0’ entry and select the ‘IPv4 ettings’ tab on the dialog that just opened.
  • Depending on whether you selected briged network or host-only adapter for the virtual machine setting, configure the network. I usually prefer host-only network as it keeps the machine secure and the data transfer is pretty fast, not to mention hassle free configuration.
  • Once the network is configured, Open network browser using the Menu ‘Places -> Network’ on the top left of screen.

You should see ‘Windows Network’ as a folder in the explorer pane. Double click it and you should also see your host machine name displayed. Inside it you will see your folders listed that you shared over the network. Please note that you might be required to enter a valid Windows machine userid/password when you access the folder.

Configuring and using Shared Folders

  • In VirtualBox GUI, open virtual machine settings and select ‘shared folders’ tab.
  • Click the plus sign icon. In the dialog, enter the path to the folder on your host machine which you want to share, and also give it a name. For this example, I will name it ‘Shared’. Uncheck ‘Auto-mount’ option and check ‘Make Permanent’ option. This will make sure when the virtual machine restarts, the folder will still be accessible inside the machine.
  • Back to the virtual machine, if you are comfortable with text file editing in linux, add the following line to /etc/fstab file (you might need to use sudo)
    Shared /media/sf_Shared vboxsf defaults,rw,uid=1000,gid=1000 0 0
  • Alternatively, open a new Terminal from the Applications -> Acessories menu on top left of screen and run the following command inside the terminal.
echo "Shared /media/sf_Shared vboxsf defaults,rw,uid=1000,gid=1000 0 0" | sudo tee -a /etc/fstab

This will have the same effect as if you edited the file as described above.

  • Now run the following command inside the Terminal
sudo mount -a

If all went well, you can now use the shared folder inside your virtual machine. Open Places -> Computer from the top left menu. Open FileSystem and then double click the ‘media’ folder. You should see a folder called ‘sf_Shared’. This is the folder you just shared from your host machine. If you get ‘access denied’ error, you will need to do a bit extra to access the folder, which is also described at the end of this article.

Troubleshooting folder access problems

In some cases (usually when Ubuntu has more than one user accounts), you will get access denied errors when you try to access a shared folder. To fix this problem, try the following:
Open a Terminal window and type the command ‘id’ (without the quotes). The output will be something like this

uid=1005(samnan) gid=1005(samnan) groups………..

Note the uid and gid number from the command output. Now instead of the original command we used to enable shared folder inside the virutal machine terminal, type the following command, replacing <<uid>> and <<gid>> with the numbers you just picked from the ‘id’ command output.

echo "Shared /media/sf_Shared vboxsf defaults,rw,uid=<<uid>>,gid=<<gid>> 0 0" | sudo tee -a /etc/fstab

Follow the rest of the steps as usual and you should be able to access the folder without any problems.

Categories
How to Tips Virtualization

Cloning a Virtual Machine in VirtualBox

Update: As of version 4.1.0 and above, VirtualBox GUI has support for cloning a virtual machine. The following method still applies to older versions, however, you are encouraged to upgrade to the latest version for best experience.

VirtualBox has emerged as a viable free alternative to the popular vmware virtualization platform. While it contains less features than vmware, it still is very good at running virtual machines at fast speed without much problem, allowing you to test your software and perform lots of other useful experiments inside virtual machines without affecting your main system.

VMWare has a very nice feature that allows you to ‘clone’ a virtual machine easily from its main interface. It takes a few minutes depending on the size of harddisk, and gives you a copy of the machine at the end of the process. VirutalBox, while being pretty neat at doing other stuff, has no such option in its GUI. Here’s how you can clone a machine for VirtualBox with the minimal effort.

The cloning process involves these steps:

  1. Open a command prompt on your system.
  2. Navigate to the folder where the harddisk of the source vm resides
  3. Clone the virtual disk file into a new one
  4. Create a new machine with the new hard disk and same specs as the source machine

Open a command prompt and use the following commands to complete the second and third step.


cd E:\VM\VBOX\

set path=%path%;C:\Program files\Oracle\VirtualBox

vboxmanage clonehd MYXP.vdi MYXP_2.vdi

In the above, replace E:\VM\VBOX\ with the path where your virtual machines are stored. This can be found by going to VirtualBox preferences. The second line contains the installation path for VirtualBox (the one presented here is the default for VirtualBox 4.xx installation)

vboxmanage is the actual goodie that comes with VirtualBox and can be used for lots of neat stuff once you get hold of it. The last command creates a copy of the harddisk file as another virtual harddisk. This is MUST, because simply copying the hard disk file from explorer will not allow you to use that file as a valid hard disk.

Once you run the last command, it will show some progress and once complete, you will have a copy of the old hard disk file as a new one by the name MYXP_2.vdi

There is only one thing left to do now. Open Virtual box GUI and create a new virtual machine with the same specs as the one you created for the first machine (I am sorry, but at the moment this is the fastest and neatest way to do this step)
Select the hard disk you created by cloning earlier above and you will have a new machine with the same configuration and hard disk state as the previous one.

Categories
Facebook Tips

How will a page show up on Facebook Share.

Facebook share is widely used these days to share web pages people like, on their profile. The sharing mechanism is quite simple, fetches the related image and excerpt from the url being shared to ensure that the person seeing the post gets an idea of what the shared page is about. A webdesigner has control over how the webpage will look when shared on facebook. How to control what image and text shows up when your page is shared is explained here.

This post is focused on how to test exactly what your page will look like, even the minor details. Facebook has a very simple tool for this called URL Linter.

Just paste the URL of the page to be tested and facebook will fetch the title, description/excerpt, image, the link shown with the post, and any other meta properties on the page. This is extremely helpful for any page which is expected to be shared alot on fb, so that it can be tested before making it public. Another advantage of using this url linter is that once you make changes to your page and try the linter it will go for the latest version and not show the cached copy while normal facebook share will show a cached copy for a url that has been shared previously.

I hope this post gives you an edge while using Facebook share.

Found this post helpful? Want to return the favor? Use the button below :)




Categories
Tips

How to clear your DNS Cache in Windows

Windows usually caches the DNS records for faster resolution of web pages, at some point one needs to refresh that cache, this is how you do it,

Open the Command Line Interface of Windows, (Run -> type cmd)

and run the following command

ipconfig /flushdns