Quantcast
Channel: Code4Reference » How to do
Browsing all 10 articles
Browse latest View live

How to install Python2.7 on Ubuntu 10.04

Sometimes it’s require to install python2.7 on Ubuntu 10.04 which has python2.6 pre-installed, because some of the libraries are not compatible with python2.6 and they can work well if system has...

View Article



which one is better valueOf() or toString() in Java

Developers often get into dilemma when they have to convert the object to string representation by choosing between valueOf() and toString() method. Because both the methods do the same thing but in a...

View Article

MySQL commands: Important for db admin, but usually forgotten.

As a developer, we hardly use DB admin commands and mostly we forget command after use. I am trying to summarize some of the commands. If you find there are few more commands which fall under this...

View Article

Apache Server and JMeter debugging.

I had been using JMeter to generate load for my production server to test my application. The test-plan has 13+ HTTP sampler to make different request and one Regular Expression extractor to extract...

View Article

Setting Mail Transfer Agent (MTA) on EC2 using exim4

One or the other reason we need configure the Mail Transfer Agent (Mail-server) to send and receive mail on the server. Lately I was working on one personal project where I wanted to send email update...

View Article


Simple Python script to send an email.

Programmatically sending an email is really a good tool for developer’s paraphernalia. This is really handy when one automates task and wants to get notified by an email for success or failure. Lately...

View Article

Command to truncate large log file

We often need command to truncate large log files while working on production server. I have listed few of the commands which are really handy in such case. The command below is the smallest one and...

View Article

Command to recursively delete files

We often need command to recursively delete files from the current and sub-directories. Most of us execute the following command to do so. But to our utter surprise we find that it does not delete...

View Article


Tutorial on Python virtual environment

As the name suggests, it is a Python environment which is isolated from other python environments. This kind of environment is really handy when you are working on multiple projects but you don’t want...

View Article


Svn commit editor error on Ubuntu

If you are trying to commit the source code in SVN very first time and you see the following error that means You have not set the correct editor for the SVN. If you look closely the SVN suggests the...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images