Creating the ascii art using VIM plugin DrawIT

Installing VIM plugin DrawIT

Install the plugin if it is no available in your machine

This script/plugin is distributed as a vimball

This call be downloaded here

To download source go to /usr/local/src Create a directory VIM. go to the directory /usr/local/src/VIM (NOTE: it isn't manadetory to keep source in this location, it's upto you)

Dowload the source with following command

wget http://www.vim.org/scripts/download_script.php?src_id=21108 -O DrawIt.vba.gz

To install follow the instructions

Open file vim DrawIT.vba.gz In command mode enter :so % quit :q

Quick start with DrawIt

That's all you have to do to install a plug in. Now to test, open a new file

and type the following in command mode

\di

If you see [DrawIt], the plugin is enabled an you can draw you art.

Here is how you will start and stop DrawIt

\di start DrawIt \ds stop DrawIt

User your arrow keys to draw whatever you want


About SCM Source Code Managment System

Sun 27 September 2015 by Naveen Tamanam

GIT The Source Code Management System(SCM)

Many people uses version control system but they have on idea why they are using it, as the team is using, they will also use it get work done.

Why do we need version control system? Here are the few requirements, from where ...

read more

Introduction to Erlang part 1

Tue 14 July 2015 by Godson

Erlang:

Erlang is a functional programming language. If you have ever worked with imperative languages, statements such as i++ may be normal to you; in functional programming they are not allowed. In fact, changing the value of any variable is strictly forbidden.

Installation:

sudo apt-get install erlang

In Erlang, you ...

read more

Introduction to bootstrap 3

Sat 11 July 2015 by Aleem shaik.

Introduction to bootstrap 3.

read more

How to measure the duration of a function call or code block in python

Mon 06 July 2015 by Godson

Some times we may encounter the situation where we need to know total time taken by the function call. Here is the code which is pretty much handy and simple to measure the total time taken by the function(call)

import time

class MeasureDuration:
    def __init__(self):
    self.start = None ...
read more