My First experiance with Vagrant

Posted on Sat 22 August 2015 in General0 Comments

Last week, I have faced some internet issue with my ISP. So in free time; i spent some time exploring vagrant boxes with its command line help and followed the instruction to setup the box. I have earlier tried that but that was followed using some online post and didn ...

Continue reading

installing python3.3 on Ubuntu

Posted on Tue 14 January 2014 in General0 Comments

my system is ubuntu 12.04 at Digital Ocean, and i am going to install python3.3 and pip3.3

here are few simple steps with which you can do so!

\$ apt-get install python-software-properties
\$ add-apt-repository ppa:fkrull/deadsnakes
\$ apt-get update
\$ apt-get install python3.3
\$ curl http://python-distribute.org/distribute_setup.py ...

Continue reading

Processing files larger than RAM in python

Posted on Tue 11 September 2012 in General • Tagged with large files, mongo-db log reading, python, reading files larger than RAM in python0 Comments

I got a log file of 131 GB from Mongo-DB that has been collected in last 6 months. So I just thought lets calculate the number of lines.

Here files size is greater than RAM, so after searching over internet; i got solution on http://stackoverflow.com.

I have modified ...

Continue reading

Excel Macro to Prevent Excel from Removing Leading and Trailing Zeros in a single Cell or Selection of Cells

Posted on Sat 23 June 2012 in General • Tagged with excel, leading zero, macro, Trailing zero0 Comments

With use of macro given below you can apply ="cell_value" on any selection.

Solution is:

[caption id="attachment_397" align="alignleft" width="460"]macro for
preventing leading and trailling zeros in
excel macro for preventing leading and ...

Continue reading

working with pypm/python in internet proxy on windows

Posted on Wed 11 April 2012 in General • Tagged with easy_install, internet proxy, pypm, python, windows0 Comments

Well guys,

Currently I am working on PC in my company's development center.Its an Windows XP. This place is highly secured, you need to get all proxy setting for your internet use.

I want to install few python packages with pypm, but in DOS prompt it is not ...

Continue reading