Sunday, August 24, 2014

Installing Ubuntu on VirtualBox

I have a Windows 8 machine on which I will be installing Ubuntu 14.04 inside Oracle VM VirtualBox. First download VirtualBox and install it. For this example I am using 4.3.12. Download the image file for Ubuntu.

Once you have installed VirtualBox open it and click on "New" on the toolbar to begin the process of creating a new virtual machine.

Give a name to your virtual machine and select which OS you would be installing in it and click on "Next".

Sunday, August 10, 2014

Remove passwords from PDF files

A very simple trick to remove passwords from your password protected PDF files so that you can forward them.

Open your password protected PDF file in Google Chrome. Now hit Ctrl + P and save password protected PDF file as, well, again a PDF file. This would save a copy without the password.

Tuesday, August 5, 2014

Enable "Developer options" on your HTC One X

Recently I noticed that the Developer options on my HTC One X was gone. I remembered before updating it to 4.2.2 it had the Developer options. Then I remembered that from Android 4.2 and higher the Developer options are hidden by default.

To get back Developer options go to "Settings > About > Software information > More". Once there tap on "Build number" seven times to enable it.

Friday, August 1, 2014

Remove Skype from taskbar in Windows when you close it

Skype has an annoying bug feature; when you close it, it does not disappear from the taskbar unlike other programs. To make Skype behave like other programs, in menu go to "Tools > Options". Under "Advanced > Advanced settings" uncheck "Keep Skype in taskbar while I'm signed in".

So now when you close Skype it disappears from taskbar but it is still running and you can see it in notification area of taskbar.

Tuesday, July 22, 2014

Using ‘html’ option in SP.UI.ModalDialog.showModalDialog

I was trying to use SP.UI.ModalDialog.showModalDialog with html option using the below code:

But I was running into this weird error:

Wednesday, July 16, 2014

Sharing folders between Windows (host) and Ubuntu (guest) in VirtualBox

I have Windows 8 installed with Ubuntu 12.04 in Oracle VM VirtualBox and quite a few times I want to share files between them. For that, first you need to install VirtualBox Guest Additions for Linux. Guest additions consist of device drivers and system applications that optimize the guest operating system for better performance and usability.

To install Guest Additions go to Ubuntu Launcher and you would see VBOXADDITIONS_X.X.X_XXXX mounted.

Tuesday, June 24, 2014

Create Facebook cover photo from your HTC phone

HTC provides a nifty option to crop the photos in dimension specified for Facebook cover photos i.e. 851×315.

  1. Open the picture that needs to be cropped from your Gallery.
  2. Tap on “Edit” and then tap on “Transform”.
  3. Select “Crop” option.
  4. Now tap on the overflow icon (three vertical dots) and select “Facebook cover”.
  5. The cropping tool will now resize in proportionate to the dimensions specified for Facebook cover photo.
This option is present on my HTC One X running on Android 4.2.2 with Sense 5 and I am guessing here that it should be present in other HTC phones with Sense 5. If it doesn't then let me know in comments.