Vim Bootstrap – generate .vimrc for your favorite programming language

Programmers in the current era like to work using IDEs because it is more user friendly. But there are reasonable number of programmers who still use command line for programming. Their favourite editor might be Vim. Vim is easy to use, light-weight and comes with almost every Unix distribution. Unlike IDEs, it does not hang easily. The only problem with Vim editor is that it does not have inbuilt syntax highlighters. Checkout Vim Bootsrap , problem solved. Using the site you can generate .vimrc file for your favourite programming language. Copy the .vimrc file in your home directory. Now, you are ready to start programming using your favourite language. Vim Bootstrap comes with support of c, python, php, javascript, perl, go and lot more.

JSFiddle : Write and share JS easily

Javascript is the backbone of frontend developers. In fact, knowledge in javascript is an added advantage for every web developer. Need some tool/website for trying out javascript?  Need a site which can be used for sharing your js code?  A site that can be used to edit js code by multiple persons simultaneously? All in one, check out 🙂

You can edit your js code and can share the code by a unique url using jsfiddle. On the left side of the site, you can select the library you want to use and there are separate boxes for editing html, css and js. Here is an example fiddle using jQuery.

Using collaboration,  you can invite multiple persons to edit your code. Moreover, the site has support for almost all front-end libraries/frameworks. It supports jQuery,  Dojo, ember.js, angular js, underscore.js, Extjs,  prototype.js  and a lot more. Give it a try, I’m sure, jsfiddle won’t disappoint you.

Become a successful software developer

Success is what everyone wants. It can only be achieved through sheer hard work. How can you become a successful software developer?  Well, it is not that hard. Practicing a few small things can do wonders.

Solve problems:

Try to solve maximum problems. You can find a lot of resources in internet. For example, you can find python practice book here. Remember, practice makes man perfect.

Simple Hello,world!:

When you start to study/implement something, first you have to make sure  simple things work properly. Always go for ‘Hello,world!’ first.

Write simple, readable code:

Writing bunches of code does not make you a good programmer, write code as simple as possible. It should be readable and self explanatory.

Personal projects:

Do some personal projects. Implementing a project will increase your confidence level upto a great extent. You may come across some difficulties, but in the end you will be a happy person. It helps you to identify your strengths and weaknesses. It would be nice if you can reverse engineer some of the projects you like. Push your work on  github. So that, you can show others what you have done.


Want to become the best in the industry? The only shortcut is, to become a good googler. Googling is an art. You might have noticed that an experienced developer gets solutions easily while googling than a less experienced developer. It will also be more accurate. That is, googling skill improves through experience. If you are a newbie, don’t worry there are some tips and tricks to improve your googling skill. Here is an article which can help you to be a good googler.


Communication plays a key role in becoming a successful professional. Efficient communication increases productivity. When you are starting to do a task, make sure that you are clear on it. Discuss with your seniors and team lead to get a more clearer picture. When you discuss with others, you will get more points on the topic and get feedback of your approach.


Blogging is another way to improve your knowledge. By blogging, you can share your ideas and knowledge. Writing a blog in a topic which you are comfortable, will make you thorough with it. It also improves your language.

Read Tech news:

You should be technically updated. You can achieve this trait by  reading some of these sites.


Active in forums:

Be active in forums and discussions. It will improve your knowledge and make you sharper. Stack Overflow is a good site to start with.

Executing bash commands via python

In python, executing bash commands can be done using subprocess module. It’s pretty easy to use and it’s a powerful module. For simple commands,  we can use


import subprocess"command1")["command1", "arg1", "arg2"])


import subprocess["ls", "-l"])
total 4

-rw-rw-r-- 1 tevin tevin 15 Sep 3 15:29 test.txt

You can also use subprocess.check_call  and subprocess.check_output


For more flexibility, you can use Popen . Using this you can store the output of command as well as any error occurred during command execution.


process = subprocess.Popen(["ls", "-l"])
(output, err) = process.communicate()

communicate  method interacts with process and waits for the process to complete. It returns a tuple consisting of stdout and stderr.

Executing commands in background:

subprocess.Popen() only runs a process in the background if nothing in the python script depends on the output of the command being run. For example, the following code won’t be executed in background.

import subprocess

process = subprocess.Popen(["ls", "-l"], stdout=subprocess.PIPE)

Thinking about what is subprocess.PIPE?

subprocess.PIPE: Special value that can be used as the stdin, stdout or stderr argument to Popen and indicates that a pipe to the standard stream should be opened.

Changing directory(cd command):

You might be thinking that why ‘cd’? Why it can’t be executed using subprocess?

If you use“cd ..”), it will throw an error ‘No such file or directory’. It is because cd is a shell internal. So you can only call it as'cd ..', shell=True)

But it is pointless to do so.  As no process can change another process’s working directory (again, at least on a UNIX-like OS, but as well on Windows), this call will have the subshell change its dir and exit immediately. Don’t worry you can change directory using os.chdir(path). – An answer to meditate at workplace

All are stressed at your workplace for one reason or other. Listening to music or seeing beautiful places will release your pressure upto an extent. is an answer to get relieved at your workplace. It comes with calming music and beautiful nature scenes.  In fact, it helps you to meditate.

You can choose either guided calm or setting a timer. In guided calm, a person(recorded voice) will guide you to be calm. The person will give you proper instructions. You can set timers ranging from 2 minutes to 20 minutes. Also, you can change music as well as nature scenes as you wish.

Luckily for mobile phone users,  there are iPhone and android apps for the same. I assure you, it will be a nice experience and should make you calm.

Come and get inspired

If you want to accomplish something, you need inspiration. Inspiration may come in the form of books, people, incidents etc. Certainly words of legends will help. All legends were winners one way or other way. “Winners don’t do different things, they do things differently”.

Here are some inspirational quotes of some computer tech giants.

Linus Torvalds (Founder of linux):

Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.

Richard Stallman(Father of Free Software/Open Source):

If you want to accomplish something in the world, idealism is not enough – you need to choose a method that works to achieve the goal.

Bill Gates(Founder of Microsoft):

It’s fine to celebrate success but it is more important to heed the lessons of failure.

Steve Jobs (Founder of Apple):

Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma – which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition.

Larry Page(Co-founder of Google):

If we were motivated by money, we would have sold the company a long time ago and ended up on a beach.

Googling tips

Google is part of everyone’s life.  Especially people who are working in software industry, google is inevitable. If you can search google effectively, you can become a king in software industry. So, here are some tips and tricks that make your life easier 🙂

  • define : If you want to get the definition of a word use ‘define’ keyword.

    Eg: define  word
  • time: Get the time of a location.

    Eg: time ottawa
  • weather: Get the weather of a location

    Eg: weather ottawa
  • Calculations: Do your mathematical calculations in the search box

    Eg: sin(ln(sqrt(31E4)))
  • “search_term”: Search for the exact term.

    Eg: "India"
  • -search_term : Used for excluding a word. This is especially useful for words with multiple meanings, like Jaguar the car brand and jaguar the animal.

    Eg: jaguar speed -car
  • filetype: Used for filtering your results with given file type.

    Eg: If you are searching for css tutorial and you only need ppt files. Then, search css tutorial filetype:ppt
  • site: Search within a site or domain. It used when you want to get results from a particular site.

    Eg: If you want to get results only from, search python comprehension
  • related: Search for pages that are related to the given url.

    Eg: You know facebook is a social networking site and you want to know what are the other social networking sites. Search
  • info: Get information of site.

    Eg: If you want get information about a site, say,  search
  • conversions: For unit conversions use in or to operator

    Eg: 1 pound in kg

Happy googling 🙂

For more information, go to