Posts

Showing posts from November, 2016

Python Program for Binary Search with explanation

Binary search algorithm is used to find a number in a sorted list. so, the pre condition for binary search is that the list should be sorted. If the number is found then its index is returned. This algorithm works on divide and conquer principle. Read more »

How to style Django Forms with Bootstrap

Image
Though we can use third-party packages like Django-Crispy forms to style forms in django with ease but still it's sometimes required to style django generated forms all by yourself, here we will see how to do that. the form will be able to show errors also. Read more »

Connect Filezilla with Amazon EC2 Ubuntu Server

In this quick guide we will learn how to connect to your amazon aws ec2 ubuntu server using a FTP client like Filezilla. 1. first make sure filezilla is installed sudo apt-get install filezilla Read more »

Make all Images responsive with bootstrap automatically!

Image
Hi guys, in this post we will see how to make all images on your website responsive automatically with bootstrap. this will get rid of the problem of the images breaking out of the content area of your website on any kind of display. I have written a simple script that will apply the img-responsive bootstrap class to all your images. Read more »