11
February
2014

No Comments | Shares | | Tags: AWS EC2 crontab Devops linux Python ubuntu

I recently faced a weird issue where I had a Python Script when run in my normal shell prompt as ./shell_script.sh runs fine, but when I run it as a cron job, it fails. After a lot of digging around I found out that the culprit was an OS command running in the python script. Read more →

7
June
2013

Comments Off | Shares | | Tags: Devops Python-Fabric

As a DevOps guy working in a complex distributed systems project implemented in Agile we are constantly looking for innovative yet simple,elegant and robust solutions.We desperately needed a solution which would help us in Deployment,diagnosis of an issue,gather statistics or just the need to run scripts. Fabric allows us to do all of the above Read more →

18
March
2013

No Comments | Shares | | Tags: Python

Pdb is Interactive debugging environment for Python programs. It includes features to pause a program, look at the values of variables, and watch program execution step by step and all this on terminal itself, you don’t need to install any IDE. Let’s learn some basic of PDB. Starting the Debugger There are three ways to Read more →

11
March
2013

No Comments | 2 Shares | | Tags: AWS AWS EC2 Python Python-Fabric

Amazon Web Services has made it extremely easy and cost effective for anyone to own computing infrastructure on the Cloud as a service and launch applications that can be made highly scalable. We have been working on AWS now for more than 2 years and have had situations where our application is spread across 50 Read more →

26
February
2013

Comments Off | Shares |

Recently I have been working on python web scrapers. The main tools used in this project are urllib2 and Beautifulsoup3. Web scrapping : A software technique to extract information from websites. A computer program which extracts required data from the web page and organizes it in structured database for analysis and processing. Urllib2 : A Read more →

21
February
2013

2 Comments | 11 Shares | | Tags: Facebook php Social Login

These days a lot of websites use social media login. It is easy for users to simply click, click, click and sign up instead of filling up long forms, set a password and so on.. Implementing social sign-in is pretty easy if you have right API documentation. In fact finding the right version of API Read more →

9
February
2013

No Comments | 2 Shares | | Tags: Django Python

I have worked on a couple of projects  that required some customization of the Django admin. Here are some of the ways I was able to customize the admin to add functionality. Adding Buttons to the Change View One of the major features needed for a project was the ability to manage a work flow Read more →

7
February
2013

No Comments | 2 Shares | | Tags: MySQLdb Python

Although I don’t write much of code these days, I do architect and RnD on the new frameworks and modules that get adopted in my projects. This implies that I need to have a development environment ready for trying out new frameworks to adopt. When I had to reinstall my Mac because of performance issues Read more →