A blog about Django, Python, mongo DB, LINUX, Amazon Web Services


Postgresql Installation and management basics.

Posted On 08 February 2014 By MicroPyramid

PostgreSQL or simply postgres is the most advanced, SQL-compliant and open-source objective-RDBMS. In This Article, you will learn how to Install, Connect and Manage a postgres database.


Posted On 30 January 2014 By MicroPyramid

Using Fabric, we can develop interactive script for ec2 region, ec2 flavour amazon web services. For this, you need aws account, security group, key pair, access key id, secret access key. Here we will explain about creating server, then do the operation with fabric like create ec2 instance.

Fabric - Learning part1

Posted On 27 January 2014 By MicroPyramid

Using Fabric, we can configure Linux production server with uwsgi, nginx, vsftpd, mysql, mongodb, postfix, php, python tools, and other relevant pieces of software single-handedly . Using fabric, we can easiyt do perform operations on local, server like database backup, restore a backup etc.

Best Practices of Using Django Celery in Django Social Auth

Posted On 27 January 2014 By MicroPyramid

Best Practices of Using Django Celery in Django Social Auth.

Advanced Querying in MongoDB

Posted On 26 January 2014 By MicroPyramid

Advanced Queries of MongoDB: Inserting records to the database and retrieving data from database.
1. Wrapped Queries: Like, sort, limit, count.
2. Query Using Modifiers: set, increment, push,Set Elements in Array, AddToSet Modifier, each.

Imageview customization (circular image view)

Posted On 23 January 2014 By MicroPyramid

In android designing we'll come across ImageView. An ImageView displays an arbitrary image, such as an icon. The ImageView class can load images from various sources (such as resources or content providers), takes care of computing its measurement from the image so that it can be used in any layout manager, and provides various display options such as scaling and tinting. it is recommended to customise it through bitmaps(BitMap in android) instead of reshaping the image manually.

MySQL Setup and Security

Posted On 25 December 2013 By MicroPyramid

In This Post you'll learn to install and secure your MYSQL Setup to interact with external applications.

TMUX - Sharing terminal between Users

Posted On 02 December 2013 By MicroPyramid

More Often you wouldve come across sharing screens with applications like Teamviewer, Windows Remote Desktop Connection or remmina (if you're a linux user). But if you want to share only your terminal, you can look upto Tmux.

Custom Decorators To Check User Roles And Permissions In Django

Posted On 17 November 2013 By MicroPyramid

A decorator is a function that takes another function and returns a newer,prettier version of that function.

To know more about decorators in python see here https://micropyramid.com/blog/programming-with-python-decorators/

The most common use of a decorator is the login_required. This decorator is used in conjunction
with a view that restricts access to authenticated users only.

Implement search with Django-haystack and Elasticsearch Part-1

Posted On 05 November 2013 By MicroPyramid

Haystack works as search plugin for django. You can use different back ends Elastic-search, Whose, Sorl, Xapian to search objects. All backends work with same code. In this post i am using elasticsearch as backend.

pip install django-haystack

Need any Help in your Project?Let's Talk