Sunday, 30 August 2015

Easiest way to learn concepts in Computer Programming

Understanding C/C++ style declarations!!!

There are certain rules known as Clockwise/Spiral rules to understand C/C++ style declarations.
It follows 3 simple rules:( see example below for better understanding).


  1. Starting with the unknown element, move in a spiral/clockwise direction; when encountering the following elements replace them with the corresponding English statements:


    • [X] or []=> Array X size of… or Array undefined size of…
    • (type1, type2)=> function passing type1 and type2 returning…
    • *=> pointer(s) to...

     2. Keep doing this in a spiral/clockwise direction until all tokens have been covered.     3. Always resolve anything in parenthesis first.

Thursday, 23 July 2015

Remove shortcut virus from USB and PC.

There have been a lot of issues regarding a virus that creates shortcut files of USB drives again and again even after removing them.
Here I am going to show you some of the effective tools to remove that virus permanently from your device.
Before begin the tutorial, let me first discuss about what actually shortcut virus is, and how it can harm the infected system.


What is shortcut virus and how can it affect your device?



The Shortcut Virus usually spread through USB peripheral devices including USB pen drives, Memory cards, Mobile phones, Digital Cameras or  external hard disks. Once you have completed copying a file to your device you may see files on your device with a shortcut arrow in the preview. This is where the infection begins.  Once clicked the file, it starts running a “.vbs” file/script which runs a series of task including making two copies of its code or registry key one for temporary use and other for start/restart.

Friday, 29 May 2015

How To Install Wine 1.7.42 On Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04 And Derivative Systems

The latest version available is Wine 1.7.42, which has been recently released, coming with the below changes:
  • Support for dynamic timezone information.
  • Initial desktop shell window support.
  • Some more Direct2D support.
  • Various bug fixes.



To install wine all you have to do is 
  1. add the ppa to your system, 
  2. update the local repository index and 
  3. install the wine1.7 and winetricks packages.
$ sudo add-apt-repository ppa:ubuntu-wine/ppa

$ sudo apt-get update

$ sudo apt-get install wine1.7 winetricks



Optional, to remove Wine 1.7.42 and winetricks, do:

$ sudo apt-get remove wine1.7 winetricks

Also visit: installing wine in Kali Linux

Thursday, 28 May 2015

Repair Grub error: Unknown filesystem. Grub rescue>

Here is my another post on how to solve Grub rescue problem. Here I am going to describe a method of recovering grub without booting from the LiveCD.



How to fully fix the Windows bootloader using a Windows disk

If your system is dual booted with Windows XP/Vista/7/8 and ubuntu and you want to get rid off ubuntu partition. One can simply delete the space allocated to ubuntu from Disk Manager. But this would take away access to windows partition.
When system is restarted, it throws the error!

No Such partition.
Grub rescue>