Thursday, May 18, 2017

How to convert a binary number to a decimal number easily?

I thought you might interested to know a shorter method to convert binary(base 2) to decimal (base 10) numbers easily and quickly. So lets get to it by an example right away.
Lets take the binary 1010 for the convenience.


Following above steps we can easily convert many simple binary numbers to decimal without writing anything down.
(Originally Answered in Quora: What are the steps of converting binary 0011 to decimal? )

Monday, June 30, 2014

Kali Linux: How to add Root Terminal Here command in context menu

Hello friends,
This is a guide to add "Open Root Terminal Here" in the right click context menu.

Install Nautilus-Actions
sudo add-apt-repository ppa:dr3mro/nautilus-actions-extra
sudo apt-get update
sudo apt-get install nautilus-actions-extra
and restart nautilus using nautilus -q or logout and re-login.
Launch Nautilus Actions Configuration Tool
 Go to
Applications -> System Tools ->Nautilus Actions Configuration Tool

Adding Action
Click on "Define New Action" Icon

In the Action tab set the Context Label with appropreate name
eg: Open Root Terminal Here
 In the Command tab
type gksu in the Path text field
In parameters text field type /usr/bin/x-terminal-emulator %d
Type %d in the Working directory text field also.

Then, in the left pane item list right-click on the Item you just added.
and select Preferences;
in the Runtime Preferences tab
Un-check Create a root `Nautilus-Actions` menu
Un-check Create a root `About Nautilus-Actions` item in the Nautilus context menus
 Then press CTRL + S to save the action
Then close the Nautilus-Actions  Confuguration Tool

Then test your action in nautilus. Right click on a folder and click "Open toot terminal Here". You will be prompted for the password of the currrently logged user.

Then a root terminal will start.

Hope this helps to do your works faster.

See you later