A lot of software is available as ISO files or IMG files and most folks would like to install this directly without having to go through the hassle of burning a DVD. This can be done by mounting the ISO file as a drive and installing from that drive.
Windows 7 and older Windows do not include the capability to mount a ISO file, but there are tools that offer this feature. The best I have found is Virtual CloneDrive. Download it, install it and any time you need to mount a ISO file, right-click it and choose Mount. When you are done and unmount it by clicking on the Virtual CloneDrive icon in the system tray.
Tried with: Virtual CloneDrive 184.108.40.206 and Windows 7 x64
Windows programs can sometimes throw a dialog box or a message box with an error message or something similar in it. It might be necessary to copy the text displayed in the dialog. For example, you may want to search for the error text to find a solution.
The solution seems to be surprisingly simple. First, click anywhere in the dialog box, so that it gets focus. Next, press Ctrl+C to copy and paste it into any text editor by pressing Ctrl+V. All the text in the dialog box is copied over, including the title of the window and the text on the buttons.
For example, the error dialog box shown above generates this text when copied:
Unable to load d3dx9_43.dll. Please install the latest DirectX End User Runtime available at www.microsoft.com/directx.
I use a computer where I dual boot between Windows and Ubuntu. To avoid wasting disk space, I would like to use the same Dropbox directory between both Windows and Ubuntu. Here is how I was able to do this:
I first installed the Dropbox client on Windows. Assume it uses the directory C:\Users\joe\Dropbox in my NTFS partition.
Boot into Ubuntu. Edit /etc/fstab so that the NTFS partition which contains the Dropbox directory on Windows is mounted automatically at boot. I assume it is mounted at /media/my-c-drive
Install the Dropbox client for Ubuntu. During installation, let it pick its default directory as /home/joe/Dropbox
You can see the Dropbox client running in the Panel. Quit it.
Delete the Dropbox directory and replace it with a symbolic link to the Dropbox directory on the NTFS Windows partition:
Start the Dropbox client again and you are done. It will use the same directory as that used by Windows for syncing.
Note: As you might have suspected, there is a small problem with this technique. Every time you switch between Windows and Ubuntu, the Dropbox client will re-index the contents of its directory. This will happen in the background, but it will consume CPU, disk and network bandwidth. How irritating this is depends on the size of your Dropbox directory. If your Dropbox directory is large, then this type of sharing can only be a temporary solution for these reasons.
Download and install the Linux Live USB Creator, also called LiLi. It is installed with the name LiLi USB Creator in the Windows Start menu or Start screen.
Plug in a USB flash drive of capacity 1GB or more. It should be mounted by Windows as a drive.
Run LiLi. Yes, it has a weird and funky GUI. Choose the USB drive and downloaded Ubuntu ISO file for installation. If the settings you chose are correct, you should be able to click the Lightning button at the bottom. LiLi should make a bootable Ubuntu installer on your USB flash drive.
Restart Windows and boot from the USB flash drive to install your Ubuntu.
The vim-powerline plugin can be used to enable a statusline in Vim that is both beautiful and informative. Using it fully on Windows and especially for use with PuTTY has a few problems:
The Consolas font needs to be patched to view the fancy Unicode symbols in the statusline.
Visual mode string symbols are not downloaded properly from Github.
Mercurial symbol in Consolas, a lightning symbol, does not display for some reason.
Patched Consolas font name cannot be distinguished from the default Consolas in PuTTY.
I have forked the main vim-powerline repository and fixed these issues in it. These fixed files can be obtained here. Follow the instructions from my post on vim-powerline with this fork and you should be able to get the plugin running on Windows.
For PuTTY, remember to change the font for you SSH session to Powerline-Consolas and also ensure that the terminal can support 256 colors.
There are few good-looking fixed-width fonts. Now, Ubuntu has added a handsome new entry to this set.
Ubuntu Mono is an elegant and beautiful fixed-width font that can be used for terminals and source code. It can be downloaded for free here. Just unzip the file, select the .ttf files, right-click and choose Install.
Set Ubuntu Mono as the font in your PuTTY sessions, Visual Studio, Vim or any other editor. Enjoy the beauty of this font 🙂
The markdown format is increasingly used at websites like GitHub. Thus, there is a need for a simple markdown editor that can be used to edit and view markdown files.
MarkdownPad is a markdown editor for Windows which I found does this job well. Just download and install. Associate .md files with MarkdownPad, which can be found as MarkdownPad.appref-ms in the directory %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MarkdownPad
Tried with: MarkdownPad 220.127.116.11 and Windows 7 Professional x64
On Windows, there are three types of configuration files read by Mercurial: local (to a particular repository), per-user and per-system. When a configuration setting appears in more than one of these files, the local overrides per-user which overrides per-system.
The local configuration file is named hgrc and is found in the .hg subdirectory of the repository.
The per-user configuration file can be named either .hgrc or Mercurial.ini. It can be placed either in %USERPROFILE% or %HOMEDRIVE%%HOMEPATH% directory.
The per-system configuration file has to be named Mercurial.ini. It can be in the installation directory of Mercurial.
There are a couple of other per-system configuration options that are more complicated: .rc files in the installation directory or using the registry.
More information about configuration file names and paths can be found using:
Since I do not use a smartphone I miss out on the functionality provided through iPhone or Android applications written by my university for the use of students and staff. For Android applications, I found a saviour: BlueStacks. This is a Windows program that allows you to install Android applications from the marketplace and run them. I found the search functionality in the marketplace pretty useless, but the installation and execution of applications worked without a hitch. Do note that this is not a smartphone or tablet emulator and nor it does it emulate the Android operating system. It can be used only to execute Android applications.