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


Working with Django Plugins

Posted On 04 November 2015 By MicroPyramid

This blog describes about how to work with django-plugins. Django Plugin is a Simple Plugin Framework for Django. By using django-plugins, you can make your app more reusable. By using it, you can define plugin points and plugins. It comes with many features like synchronization with database, plugins management from django admin and many more.

Being focused and Productive at your work

Posted On 23 October 2015 By MicroPyramid

Plan your tasks in a smart way to achieve success in your life. Here are some tips to help you work smarter so you can be more productive at work.

Prioritize your work/tasks to achieve success in your project, Prioritize your tasks based on client requirements. Any guy can work on a project, but the trick is to know how. Prepare your tasks like a list by priority wise on each day. Having priorities and knowing what they are will help you meet goals.

Export html web page to pdf using jspdf

Posted On 15 October 2015 By MicroPyramid

jsPDF is used to generate pdf files in client-side Javascript. You can find the links for jsPDF here and also you can find the link to project homepage. You've to include the scripting files/links in head section to work properly.

Tip: We have to download the newest version of the library and include it in the HEAD or at the end of the BODY section.

Usage and configuring i3 window manager in Ubuntu

Posted On 02 October 2015 By MicroPyramid

i3 is a tiling window manager, tiling window manager is non-overlapping frames of application windows. In this tutorial you will learn how to install i3wm

Paginating S3 objects using boto3

Posted On 28 September 2015 By MicroPyramid

When using Boto you can only List 1000 objects per request. So to obtain all the objects in the bucket. You can use s3's paginator.

Building Documentation with readthedocs

Posted On 24 September 2015 By MicroPyramid

In this blog, I'm going to explain you how to write the Sphinx docs using reStructuredText to host in the Read the Docs.

Installing Sphinx
$ pip install Sphinx

And we have script called sphinx-quickstart in Sphinx that sets up a source directory and creates a default conf.py with the most useful configuration values from a few questions it asks you. Just run the following command-
$ sphinx-quickstart

Preserve file names with sorl for better SEO

Posted On 21 September 2015 By MicroPyramid

We use sorl-thumbnail for scaling images by keeping the original one intact. Sorl proven to be great tool for generating different sized images throughout website. I presume that you know how to use sorl-thumbnail. Here we see how to preserve filename. Search Engines will give importance to image alt tag content but it definately have some impact on relevant image file name too.

Automate Django Deployments with fabfile

Posted On 15 September 2015 By MicroPyramid

Fabric is a Python library and command-line tool with the ability to execute commands on a remote server. It is designed to use SSH to execute system administration and deployment tasks on one or more remote machines.

Ansible for Server Process Automation

Posted On 31 August 2015 By MicroPyramid

Ansible is one of the few automation tools which uses an agentless architecture, where you dont need to install daemons in client nodes for interacting with controlling system. It combines multi-node software deployment, ad hoc task execution, and configuration management.

Creating Elastic Search Cluster (EC2, cloud-aws Plugin)

Posted On 09 August 2015 By MicroPyramid

While handling Large amounts of data with elasticsearch, you may run out of server capacity or compute power, Forming a Elasticsearch cluster will reduce the load distribution. In Single ElasticSearch Instance end point acts as Data Node + Master Node + Client Node.

Need any Help in your Project?Let's Talk