Posts

Project Wild Penguin - Installing Node.js on Xubuntu 15.04

Image
In this post, I have going to share the simplest way to install Node.js on your Linux system, specifically, Ubuntu and its other flavors. The server side component of the MEAN stack - node.js can be installed on your Linux server by following the below steps: 1. Go to  https://nodejs.org/en/download/  and download the Linux binaries based on your system architecture (32 or 64 bit). I've downloaded the 64 bit version. 2. Open the terminal and type in the following command:           sudo tar -C /usr/local --strip-components 1 -xzvf node-v5.5.0-linux-x64.tar.gz  3. Both node and npm should now be installed in "/usr/local/bin" and check this by typing:               ls -l /usr/local/bin/node       ls -l /usr/local/bin/npm Alternatively, you can check the version of node installed by typing:     node -v Thanks to the Coding Samaritans out there. My online nightmare is what ...

Project Wild Penguin: The Environment (To Find version of Ubuntu or desktop environment you are running)

Image
I have had an on and off relationship with the Wild Penguin, the Linux. The reason for this was my lack of trust on the stability of the Linux Desktop Environments that I tried. The main issues started when Ubuntu made the switch to Unity which caused my laptop to overheat due to AMD drivers issue. It also kept sending my old desktop into dark space exploration by breaking its GUI on every second boot. This complicated relationship turned into a stable partnership when I came across xfce-based Ubuntu flavor called Xubuntu.  I have been using it for more than a year on both my lappy and desktop. And after using it for so long, it has become my favorite OS. It has helped me make the complete switch from Windows to Linux. Now all my devices, my tab, phone, desktop and laptop all run on Linux based operating system. It is a important partner in my Odyssey to become a better computer scientist and engineer. So, while I was trying to brush up my Linux command line skills, I got a qu...

Project Wild Penguin - The Master Code

Image
So, I was lost in the labyrinth of the Programming Heaven for a while. There is so much to learn, so many shiny new technologies and concepts to learn that I end up being this guy: That's right the Master of Chaos. So I'm trying to bring some method to my madness. I have decided to use the following Master Code to get my fundamentals strong and basics right. The Master Code: 1. Learn a relevant programming language (or any language that you're interested in or in love with. In my case, that would be python) 2. Practice and do some interesting stuff in it. 3. Learn Data Structures and Algorithms and practice through it. 4. Keep making connections with other components like networking, operating system and database concepts. 5. Most important of all, keep experimenting and updating your self with new technologies as well but always in moderation. And hopefully, I will follow this code and in the end be more like this: Ciao.

Project Wild Penguin - The Intro

Image
So after getting a taste of IT Service Sector and getting disinterested and disillusioned with programming for nearly 6 months, I have decided to set my house in order. I started this blog to keep a record of problems that I encounter and the solutions that I found to solve them  but sadly I haven't used it for that purpose. Like many of my other  personal codes that I have violated, this violation has also cost me bad. But I have decided to fix it before the end of this year. So, I've a rough blueprint in my mind which I'm going to put in words here. It is not my complete blueprint but it covers the most important features of it. So, the current technology that I've been trained in is .NET + C# which seems to me is just good for being a maintenance guy and it doesn't give me scope to further my skills and even have better opportunities. That's why I'm going to have a three pronged approach to improve my programming skills and build myself a better de...

Django import error - no module named django.conf.urls.defaults

This error occurs because django.conf.urls.defaults has been removed in Django 1.6. I encountered this error while working with django-uploadify. For newer version of Django can be fixed by changing the import to from django.conf.urls import patterns, url, include I hope this helps anyone facing this problem. Cheers, MG.

Reset lost root password in Ubuntu

Image
Recently while installing Xubuntu 12.04 on my old PC, I encounter the problem where Xubuntu was not accepting my root/admin password that I set during the installation. I found the solution to my problem on http://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password. I'm posting this solution here so that I can keep a record of the problem I've faced and working solutions for them. By default the first user's account is an administrative account, so if the UI is prompting you for a password it's probably that person's user password. If the user doesn't remember their password you need to reset it. To do this you need to boot into recovery mode. Boot up the machine, and  after  the BIOS screen, hold down the left  Shift  key. You will then be prompted by a menu that looks something like this: I've noticed on some systems that timing when to hit the left  Shift  key can be tricky, sometimes I miss it and need to try it ...

ANPR Week 21 - 24: Documentation

Finally the project is completed. This last month of training was spent in creating project report that will be submitted to the supervisor and in the college. Also proper comments was inserted in the source code. This will help in understanding the code in future. Additional work will be done in the project, especially to create a GUI using Qt. Initially it has hung on executing the application. Also additional information related to project in detail will be posted soon on this blog.