Unprecedented things!

Today I installed LXDE in my ubuntu. For accomplishing this task:

sudo apt-get install lxde

Further, it will create session files under:  /usr/share/xsessions 

LXDE.desktop         openbox.desktop

It’s a light weight desktop version and I found it really cool. But somehow I have to uninstall it later on (official reason).

sudo apt-get –purge autoremove lxde


Apart from this, I was trying to install phpmyadmin and not only this program. Usually whenever I try to install stuff I encountered an error related to unmet dependencies and uninstallable candidate.
So, for banishing this:
sudo rm -rf  /var/lib/apt/lists/*
sudo apt-get update
Then, sudo apt-get install phpmyadmin
Further, add this in /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache2.conf
Now, restart apache2.
Beside this, I get to know about an open source Accounting Software today i.e ERP Next
ERPNext  can setup email alerts on anything, Invoices, Orders, Leads, Opportunities, so you never miss a thing.
Beside this, some previous work regarding project and website.

Why is the majority Average?

Are we meant to be average minded? No.

Just because Average people are better than others under them, doesn’t mean you have accomplished everything in your life.

Today, a thought just passed by my mind left me unanswered. So here I am annotating the fact .

We always feel amazed, surprised or even shocked by seeing multitalented personalities around us and land up giving statements like some are god gifted, few are book-worms etc. etc.

Really? Every child is god gifted. So, if they can excel, so can you.

Nothing worth comes easily dear. Indeed, they are excelling, because they are pushing themselves beyond limits. They are dedicated enough to reach heights. They are away from all the distractions.

These are just few points (or can say there secret to success) :

  • Daily work to enhance their ken.
  • Being subtle for achieving their Goals.
  • Rising like trough to crust. (Only because of hard work)
  • Passion and Dedication are the secret keys to their anomaly.
  • Hustle until you get it.

This is just the trailor. The subtle reason behind the excellence is learning from mistakes and courage to get up each time you fall.

The Majority is average because they aren’t putting their careers at first priority (atleast at right time.) We are being deviated by alot of distractions.

So, just gear up. Prove the world, more importantly prove yourself that you are worth it.

Django Poll App

Firstly What Django is?

Django is a free and open source web application framework, written in Python. A web framework is a set of components that helps you to develop websites faster and easier.

This is a perfect tutorial for getting started. Choose the tutorial as per the version of your django installed. One can go with the latest: https://docs.djangoproject.com/en/1.11/intro/tutorial01/

You can install it using:

sudo apt-get install python-django

I had followed the above link to make my django app. I used django version 1.7 and python 3+

Here I am going to discuss about some of my struggles in doing this work:

This app is basically that people can view poll and can vote in that. Admin can add, delete or change polls.

  • The first problem I faced was in below command:
    django-admin.py startproject mysite

    This command is for starting a new project. Later on it’s solved by removing .py from above command. As in ubuntu there is django-admin.

  • django-admin is Django’s command-line utility for administrative tasks.
  • In mysite/settings.py, you need to edit as per your database. I had used Mysql so I replaced:

    ‘default’: {
        ‘ENGINE’: ‘django.db.backends.sqlite3’,
        ‘NAME’: os.path.join(BASE_DIR, ‘db.sqlite3’),

which is of Sqlite with mysql:

    ‘default’: {
        ‘ENGINE’: ‘django.db.backends.mysql’,
        ‘NAME’: ‘database name’,
        ‘USER’: ‘root’,
        ‘PASSWORD’: ‘**’,
        ‘HOST’: ‘localhost’,


  • I was getting an error when I gave this command:
python manage.py migrate

Error: pymysql not found

Then I installed: sudo apt-get install python-pip

pip install pymysql

  • One more error I was getting that mysql can not be connected to localhost. I had given some random port address in settings.py file after HOST. Then I deleted that line.

Till this point I am done with Django Welcome Page.

Its just a discussion that after that you will see a make migration command. By running makemigrations, you’re telling Django that you’ve made some changes to your models. This reminds me of Commit and push commands of git which finally pushes the changes to the rmeote repository.

Now lets play with API provided by Django,

  • It was silly but I got Indentation Error due to space between >>> and my text.
  • Its good to set different port number if you are working on a server

python manage.py runserver 8100

Basically you are working separately in API, admin and user content.

Part-2 :


It’s all about creating an admin page and setting a GUI for managing Question, Choices etc.



Here comes the section for polls.



Key to Success

Hello, everyone. Today I am not gonna share stuff related to technology or my daily experience. I am here to write anything (literally anything) using some new words I have encountered today. Trust me it will definitely improve your vocabulary and is indispensable for those who want to build his/her skills. You want to overcome your fear? Do you feel a little inferior or not confident enough to face the stage? Wanna be a public speaker? Or any other similar kind of thing. The kick start is nothing else, just stop procrastinating your work. Do not delay anything by making excuses that you are being ingrained with such kind of habits and now it’s really difficult to get over them.
There is no such thing like Impossible, it’s just the matter of choice and priority.
Even Impossible says, “I’M Possible”
Being lethargic is another thing, but keep on lounging day by day is really not acceptable. Try to embrace every sought of thing you encounter in your routine. Just learn things from that because everything around is teaching us something.
Don’t be afraid at all. Even if you are in a dilemma, then quitting won’t help. If you don’t, then someone else will surely jeopardize things for a start. There are chances that you will get success if you are courageous enough to jump into the pool. Otherwise, you are on the safer side and it’s a NO to a bright future already. So, just keep doing and keep growing.
Even if you fail, then you have come across 10,000 reasons which won’t work. (Never Stop) This is nothing else but your experience. You have gained a lot already. (Believe me)
There is a common example we watch around. Whenever we are out, most of the people try to haggle things at the shopping store, grocery market etc. There isn’t a surety that the shopkeeper will bargain the things but still, we try. Why? Because we want best out of least. (Yes, we want to save our money.)
This concept works in this case. But in terms of success, we can’t get best out of least. One has to put a lot of effort to achieve something bigger in his/her life. Nothing worth came easier.
So just stop going for shortcuts, or believing the myths that these things will help, because in a long run it won’t. Once these habits will be infused within you, it will be difficult to go through them. (Again not impossible)
So avoid these temporary relaxation things, and go for permanent wonders.
Dreams do come true if seen from open eyes (not at the time of being drowsy r sleeping.)

Remember, “No Gain, Without Pain” 🙂