Pages

Thursday, 19 November 2015

[Solution] Vagrant can't mount shared folder in VirtualBox in Windows 8.1 OS!

                                    So to fix this problem all you need to do is install a plugin vagrant-vbguest using vagrant and the problem will be fixed. If you face troubles will installing vagrant-vbguest then go to this LINK=>[Solution of Vagrant plugin installation failure problem] and then just run the following command in command prompt as shown in the pic below.


after installation halt the vagrant using command vagrant halt and then run vagrant up and after that shared folder will mount in both windows and linux, fixed!

[SOLUTION] Vagrant Plugin Installation failure in Windows 8.1 OS

                                             The problem exist in ruby for windows ... it has some issues related to space in folder names and by default vagrant home is the C:/users/your user name/.vagrant.d all you need to do is to set the environment variable VAGRANT_HOME to something like C:/Vagrant/Home .... so to do it first make the folder Vagrant in C drive and then make another folder in Vagrant directory i.e. Home ... So you have something like this C:/Vagrant/Home
                                                                                   After making the folder run the following command in windows command prompt as shown in the pic below


After running this command RESTART windows and then vagrant plugins will install and the problem is fixed!


Friday, 16 October 2015

Solved! mysql2 (0.4.1) ain't working on rails 4.2.4!

                                   


                                      So, guys you have worked with rails with mysql and everything worked great untill you upgraded your version of rails to 4.2.4 and you got stuck connecting rails to mysql ... following error pops up "Specified 'mysql2' for database adapter, but the gem is not loaded. Add gem 'mysql2' to your Gemfile(and ensure its version is at the minimum required AciveRecord)."

and the patch i applied is i downgraded the gem mysql2 from version 0.4.1 to version 0.3.18.. and it worked!

to downngrade mysql2 add the following line in the Gemfile in place of gem 'mysql2'  like this

gem 'mysql', '~> 0.3.18'

and after that simply run bundle install !! Bundle will pull the dependencies and so in the Gemfile.lock file you will see the mysql2 version downgraded from 0.4.1 to 0.3.18! fixed.

Saturday, 26 September 2015

Kubuntu Flickering | Amd Radeon | Solved | Swapnil Singh

                                                          Hey guys in this post i'm gonna show you how to stop flickering in kubuntu 15.04. So open the terminal and add the following command in terminal.

sudo nano /etc/X11/xorg.conf

and add the following lines in the file

Section "Device"
 Identifier     "Configured Video Device"
 Driver "radeon"
EndSection

thats it.

Wednesday, 23 September 2015

Terminator in Kali Sana 2.0 | Swapnil Singh

                                  hey guys in this post i'm gonna show ya'll how to install the most powerful fully featured linux terminal emulator in kali sana 2.0 i.e. Terminator !
So basically all you need to do is type the following command in kali sana 2.0


This command will basically install terminator in your kali sana 2.0 ... and here is how your new terminal emulator looks in kali sana



The main advantage of using terminal emulator like terminator is that you can split your screen vertically or horizontally so that you can monitor multiple screens/processes at same time like shown in the picture below.


Cool, isn't it ?? Feel free to comment in the comment section if you have any problem related to kali sana :)

Saturday, 19 September 2015

Kali Sana 2.0! Internet Download Manager, Aria2, Uget!

                                                  Hey guys in this post i'm gonna show you all how to install a awesome download manager in kali sana 2.0 ! So, first of all open the teminal and enter the following command as show in the screenshot below


This command will basically install aria2 ... the command line download manager available for all linux distros. Bascially it's the dependency of our GUI software ... You can use aria2 from command line by just entering the command aria2c http://example.com/download/123.mp3 ... but in this post i'm gonna introduce you with this awesome open source gui software... that is Uget download manager ... it's easy af to install uget download manager just enter the following command in the terminal, shown in the screenshot below.


so now aria2 and uget both are installed in your kali sana 2.0 .


and that's how uget download manager looks in kali sana 2.0!

Tuesday, 15 September 2015

Fixed! Kali Sana 2.0 VLC media player | Swapnil Singh

                     So, you installed a fresh copy of kali sana and when you tried to open vlc media player it doesn't open... In this article i'm gonna show ya how to fix this problem!

First of all open the terminal and type this one simple command as shown in the screenshot below...


after running this command try to open vlc and yes this will solve your problem!