Posts

Repairing your Ubuntu or Linux Dist. manually

If you are a regular user of any Linux based operating System then it is for sure that you have faced the error of "Broken Packages". When you are installing something new to your OS, it says Package cannot be installed because Package A depends on Package B, but Package B cannot be installed because of broken packages and this issue might occur while updating your system using Software Updater. If you have faced this error then trust me, you have a really good hand in that Linux Based OS because you have worked enough to corrupt it once. Now making this post a little brief lets jump directly to the solution!! There are more then one solution for it and different in OS using different packaging system, if your system is using dpkg , thus implying you'll be using apt to keep everything in tandem. So here is a list of solutions you can try for Ubuntu and few Others: This is the most easy solution if you hate CLI, but is not recommended at all. Use Synaptic Package ...

Working with MVC using Laravel 101

Laravel starting with MVC and Laravel from Scratch If you are afraid of coding or maybe MVC or maybe frameworks like Laravel, nette or *, don't worry, everyone is here to learn, someday you have to do it and trust me today is the day for you to learn MVC and Laravel ( checked your horoscope, your stars are shining bright ) Prerequisite: A working system ( OS X/ windows / linux(preferred -> you'll get to know why) ) basic knowledge of php, html, css, javascript, firebase, angular js, mysql, node js, Java An I.D.E. (hope you know, what we are dealing with) : PhpStorm (An advise not a suggestion) Working internet connection In a mood to do hands on Ooh, you got lucky, you just need php and html ( told you your stars are bright)  Let's begin now, Step 1: Installing Laravel Install Composer first, it'll help you to download all the dependencies which laravel or any other project require. You just need to command composer to do so. Go to this link to see ...

Model View Controller (The basics of </>)

M V C the basics of web development Today we'll have a look at Model, View and Controller. We'll all know that web technologies are the ones trending these days, everyone want to shift to web rather then going mobile. So let's see what is there in this fragment of web which keeps all the assiduous motivated to learn this and to make new developments in it. Let us first have a look at what MVC is in laymen language. Model: Model acts exactly as human brain, what it does is it keeps the business logic with in it and helps the application to implement what is required to make advancement in the service from business point of view. View: View is similar to our skin, all the users i.e other humans see it, our view (lets say eyes) obtain data from external world and sends it to our brain i.e. the Model, but here lies the issue, Views are not meant to directly communicate with the Models, that brings the 'C' i.e Controllers into the picture. Controllers: As per our...

Terms you often see in Ubuntu

Today's blog will be on Terms which we  often see while using Ubuntu but we usually ignore them as they are not of our use and doesn't bother us with anything. Terms which will be discussed today will be: purge saucy yannubuntu IGN HIT GET PPA launchpad i386 amd64 x86_64 Backports Purge , purge is a package that is used to remove applications completely and removing all the instances of it. We can do that by using one of the following commmands: > sudo apt-get purge > sudo apt-get --purge remove Whether they should or shouldn't both exist is perhaps a debating point. However - they are absolutely identical. You can also check that by going through the man page of apt-get. Saucy is basically Saucy Salamander who provides two images for ubuntu where one is the desktop version, the desktop image allows you to try Ubuntu without changing your computer at all, and at your option to install it permanently later. Second is the server image, t...

Directory Sturucture of Linux

Hello Readers, This blog was supposed to be on Web Development but is on Directory Structure of Linux because of a user request. Today we'll be looking deep down in the hierarchy of Linux Directories. First let's list all the directories which are present in a Linux based Operating System. Few of the directories varies from system to system which we'll not discuss like lost+found and few more. So lets look at the basic and required directories. This Hierarchy is formed under FileSystem Hierarchy Standards (F.H.S.). In total we'll discuss a total of 16 Directories which are as follows: /bin /boot /dev /etc /home /lib /media /mnt /opt /sbin /srv /tmp /usr /var /root /proc These are the 16 directories which are present in the most important directory .i.e ' / ' which is the root directory not the one mentioned above this ' / ' directory contains all the directories mentioned above. Now talking the directories mentioned above:-:  ...

Installing and Uninstalling packages from source

Hello Readers, Today I'll tell you about installing packages in Ubuntu using the config file and the .tar of the package. Firstly we'll extract that .tar file which consists of the files required to install the package.            ***************run the commands via sudoers**************** There are 2 main files in the archive where first is the config file and second is the make.in file. The config file is the file which consists of all the configuration required for the package, it checks for the preliminary packages which are required and the version whether they are updated to the latest or not and other prerequisites required for installation. To run the configure file you first need to move to that directory. Let's say you are installing a GLIB package which is placed in the download directory  > cd Downloads/glib-2.43.4  > ./configure with the ./configure command, the config file of glib wi...

Hacking Password in Ubuntu

Image
Today the blog is on how to hack the password or let's say resetting the password of any user you want. In Ubuntu resetting user password is so easy but if that is the case then you'll be thinking that if it's so easy then how come Ubuntu is more secure then Windows. The thing is in Windows I'll definitely say it's little complicated but in windows, you can reset the password of admin along with other users but in case of Ubuntu you can reset the password of users only but cannot do that with the root user and without root, you cannot perform most of the functions like installing new packages and most other things. So now putting theory aside let's begin with the practical. First of all, let me tell you that there are total of 3 methods to reset the password but this blog will tell you only 1 of them, which has a 100% success rate so why bother with the other 2. Let's Begin:: Hold shift during boot to start the GRUB menu. Press the 'e...