Recent posts

Specify gem version in ruby script

Amazon has recently launched AWS SDK for Ruby version 2. This was a good move, but unfortunately version 2 is not compatibe with version 1. Due to this my ruby scripts which were using old gem failed to work when I updated 'aws-sdk' gem.

This is how I tackled it. Now, that I have both the old and new version of them gems, I altered my old scripts to work with the v1 gem and the new ones to work with v2 gem.

Continue reading →

Sort Tabs in Sublime Text

As I have ascertained in earlier posts for posts for Windows and Mac OSX that Sublime Text is an awesome tool.

Not only I use it heavily to write ruby and shell scripts, but also puppet codes and even for my blog posts which uses Markdown. The gold just not lies in writing codes, it is overall an excellent text editor which makes it a 'must have' utility on everyone's machine.

By far, I have just found one functionality missing in this divine software, the option to sort tabs. Let me know if you find any thing else missing in this too, or rather Google it out, may be there is a plugin for it.

My work involves to keep multiple files open at the same time, at times more than 30-40 files at the same time. Sublime Text gives me an option to open multiple files in tab view, but dearths a way to sort tabs, which in my view is pretty useful when working with multiple files.

Continue reading →

Networking in VMware Fusion

I am in a long flight from Sydney to Dallas and was looking to kill some time. What can be better than writing a post for my blog :).

I have seen and helped many people struggling with networking in VMware Workstation or VMware Fusion. Common problems are unable to connect (ping/ssh/rdp) to the virtual machine from host or other VMs in the farm.

I am writing this post to configure networks in Virtual Machines such that you have access to it from host machine (where VMware Fusion is installed), from other VMs and to internet as well (if required).

Continue reading →

Older posts

Next page →