The Perfect Javascript Editor

Being primarily a Java developer using Eclipse IDE, there are two things I always look for in any IDE - content assist/code completion and syntax checking/highlighting. While the latest version of Eclipse (Neon) has made a lot of improvements over the previous versions in terms of the JSDT plugin for Javascript developers, it's far from perfect. The syntax highlighting works upto some extent but the content assist is still very primitive if at all useful.

[Read more]

SSH into CentOS 7 guest from host machine using VirtualBox

I have mostly used Ubuntu and Debian-based distributions till now which means the other side of the Linux world, where the RHEL based distributions reside is still a grey area to me. Recently I needed to install CentOS server in VirtualBox to test something out. But soon I found that it's a little cumbersome to work in the VirtualBox vm window because I can't copy/paste texts normally to/from the VirtualBox as I can do in Terminal and I can't cycle through the open windows in my guest machine using Alt+Tab when I am using the vm. So I decided to ssh to the CentOS guest from the host machine and work from the host Terminal instead.

[Read more]

Installing qemu with kvm and virt-manager

I have used Oracle Virtualbox before. It has an easy and intuitive UI, supports all the features I needed and is open-source. But this time I decided to use another widely recognized virtualization solution on Linux, qemu, along with kvm.

First of all, let me give some brief idea about qemu, virt-manager and kvm. Qemu is the software which can be used to install and run a guest OS on top of the actual OS to put it in a very simple way although it's much more powerful than that. It can be compared to Virtualbox except that qemu itself does not have a UI, instead it's a command line utility. Virt-manager is some thing that provides a GUI to qemu. Together virt-manager and qemu can be thought of as the Virtualbox. On the other hand, kvm is the Linux kernel module that can help qemu execute the virtualized instructions directly on the CPU which can improve the performance greatly. This is to be kept in mind that qemu can run even without kvm but the speed will be much slower.

[Read more]

[Solved] Keyboard Shortcuts with Control key not working under Xubuntu/Xfce

Have you ever faced a situation where you are using an IDE like Eclipse that uses a lot of Control + some other key combination shortcuts to do various tasks and you are pretty much used to those shortcuts but those shortcuts do not work under Xfce? Well I like Xubuntu because of the lightweight Xfce desktop environment but being primarily a Java developer, I also use Eclipse IDE a lot and not being able to use the keyboard shortcuts that I am very much used to was a pain. Not anymore. After spending some time looking up on the internet, I found the solution. Here it goes.

[Read more]

Coding with Go - Part 1 : The Workspace Setup

Go (sometimes referred as Golang) is the system programming language from Google which is my new interest these days. Some of my favourite points about Go so far:

  1. It's a compiled language and I like compiled languages. To somebody who has used C/C++ and later Java for programming, this should come as no surprise.
  2. It has fairly easy syntax and it's not a lot different from C which definitely helps to learn the language quickly.
  3. It can be used like a scripting language.
  4. It has a fairly large built-in package collection.
  5. It has first class Linux support.

Here's what I did to get my workstation ready to code with Go:

[Read more]