Recent Topics

Enable authentication or add users with different role permission in MongoDB

After MongoDB installation by default Authentication was disabled. So we nned to create users with different role permission to enable Authentication . In this topic I am going to explain all steps to add users to enable Authentication in MongoDB

Read More

Common Logger sturucture for any project

Monitoring, troubleshooting and debugging is most imporatnt part of software developer's life.

Logging makes this a much easier and smoother process.

Common Format of logger

Format of each line in the log file. Each line must start with "~# " (tilde hash space)

Read More

Remove user from Mongo

Sometimes we need to remove users from mongoDB which was added by mistake or no need of that users

So here I am going to explain steps to remove user from mongoDB

Read More

Python Pandas- Compare Two CSV files, based on that comparison update CSV file

Sometimes we need to compare 2 CSV and get a list of common rows or common columns, that is a very common requirement.

But sometimes we also need to compare CSV files and based one comparison need to update CSV file. In this example I am going to elaborate that, hope that will help others.

Read More