How To Install A .Deb Package In Ubuntu From Terminal When Install Button Is Disabled

Here i am going to explain how we can install .deb packages in ubuntu when installed button is disabled or software center is not working.We can use the ubutu Terminal to install a software in Ubuntu.
To open terminal Go to Applications --> Accessories --> Teminal
Now type cd name of the directory where the .deb package is saved for example type cd Downloads for default downloads folder of ubuntu.
Type sudo dpkg -i package_name.deb to install opera browser from downloads folder type sudo dpkg -i opera_12.11.1661_i386.deb
Then enter your password to confirm installation.

How To Open RAR Archives in Ubuntu

Rar files are created using Winrar software.This software is not open source.So we cant install winrar in   ubuntu or linux. Alternately we can use a open source program unrar to extract rar archives.
You can install unrar in ubuntu goto Applications --> Accessories --> Terminal and type  the following sudo apt-get install unrar  and press enter key.Now type your password to confirm installation.


Now you are able to extract rar archives,To open rar files right click on any rar file and select Extract here.
you may use this code to extract rar file from terminal unrar x filename.rar

How To Run .sh File In Ubuntu

We can run .sh file from both terminal and GUI mode.To run .sh file from terminal, first  open terminal and type
cd path_of_directory_where_sh_file_is_located.
Now type sudo sh name_of_sh_file
Run .sh file from GUI
Right click on .sh file.Select Properties,

In Permissions tab check Allow Executing file as program
Now you can open the .sh file by double clicking.

How To Disable Guest Account In Ubuntu 12.04

As you know guest account is a password less account in ubuntu.By default guest account is enabled in ubuntu 12.04.Using this guest account unauthorized persons can access our computer.Follow these steps to remove guest account from ubuntu.
Goto terminal  and type the following command and press enter
gksudo gedit /etc/lightdm/lightdm.conf

Copy paste the sentence to the file and save the document
allow-guest=false 
Now restart lightdm using the following command ( all graphical user interfaced programs will be terminated)
sudo restart lightdm

How To Clear Recent Items From Dash Home In Ubuntu 12.04

By default the recently used items will be displayed in dash home.Which may be  sometimes irritating for us.If the file is very important or private we need to make it invisible from others.We can clear this recent file list from privacy settings.
Follow these steps to clear recent items
Click on System settings icon

Select privacy , there is option to clear our recent files
You have different options to clear items or history
Past hour,Past day,Past week etc. select any one of them and select Delete history . Sometimes you need to restart your computer to make the changes.

PHP Code To Access A Webpage Using Proxy


Are you looking for a php code to access a website using a proxy server with PHP.Here i am going to explain the simplest php code to read a webpages using proxy with PHP function  file_get_contents()
Code :
<?php
$aContext = array(
'http' => array(
'proxy' => 'tcp://84.201.212.38:3128', // proxy here
'request_fulluri' => true,
),
);
$cxContext = stream_context_create($aContext);
$sFile = file_get_contents("http://www.yahoo.com/", False, $cxContext); // webapge here
echo $sFile;
?>

How To Create Application Shortcuts In Desktop In Ubuntu 12.04

Probably our ubuntu 12.04 desktop will be empty and clean.Today i am going to show how you can create application shortcuts in ubuntu 12.04 without any complicated code edits.
Follow these simple steps to create A application shortcut in desktop.
First click on Dash home and type application's name
Click on the application's Icon and drag it to desktop.Now you can see the shortcut of the software in the desktop.
That's It :)

How To Hack zip file Passwords In Ubuntu and Linux

First install the software fcrackzip
Open terminal and run sudo apt-get install fcrackzip
Now type CD Name_of_folder_where the zip file is located
Eg : cd Desktop
Now type  fcrackzip -u -c a -p aaaaa file.zip
-c is the option to select the character set  (a is lowercase only and A is uppercase only aA will check both uppercase and lowercase letters )
-p indicate the starting password ( here it is aaaaa )
fcrackzip -u -c aA -p aaaaa file.zip ( code for uppercase and lowercase characters )
fcrackzip -u -c aA1 -p aaaaa file.zip( code for uppercase , lowercase characters and numbers )

NB - You may need to wait for hours or days it will depend on the password.
Video
 

Micromax Smarty 4.3 A65 Smart Phone Full Specifications And Price In India

Micromax Smarty 4.3 A65  is a smartphone works on Android Version 2.3 Gingerbread platform.It has a 4 Inch (480 X 800 Pixels) Capacitive touch screen.Micromax a65 have a 2 Megapixel Front camera with flash and VGA secondary camera.

Micromax Smarty 4.3 A65 Features And Specifications

Platform - Android Version 2.3 Gingerbread
Display - 4 Inch Capacitive Touch Screen , 480 X 800 Pixel resolution
Processor and Memory - 1Ghz , 512Mb
Supported Networks - 2G and 3G
Connectivity - Wlan (Wifi),3G,Bluetooth,USB
Camera - 2Mp Main camera with flash and Secondary VGA camera
Memory - 190 Mb internal and 32 GB support


Micromax Smarty 4.3 A65 Price in india ₹ 4999

How To Create A Facebook Application

Today i am going to explain the steps to create your first facebook application to read user data using fql.This app is very simple and which is used to read user's name.

Dowload The Source Code

First we need to register the faceook application at developers 
Click on create new app

Enter app's name and app's namespace (like username)
Verify capcha and you will get a secret key and application id
Select website with Facebook login and Enter your website's url  ( site.com/process.php )

Edit config files as shown in the video
Upload the application to your website
Now goto site.com/index.php
Hope it works :D

Micromax A30 Dual SIM Android Smart Phone Full Specifications And Price In India

Micromax A30 Smarty 3.0 is a very attractive android smart phone with dual sim support.It operates on Android Gingerbread platform. Micromax A30 have 3 Inch TFT Display.It only have 10Mb internal memory and it support upto 32GB externally through SD cards.Micromax A30 Smarty 3.0's 1500 mAh battery provide 160 hours of stand by time.

Micromax A30 Full Specifications

Platform - Android Version 2.3 Gingerbread
Display - Capacitive Touch Screen
Supported networks - 2G & 3G
Connectivity - Wifi,Bluetooth,GPRS,EDGE,3G,USB
Camera - 2 Mega Pixel camera with Flash and 2X Digital Zooming
Memory - 10Mb Internal and 32GB external support

Micromax A30 Dual SIM Android Smart Phone Price In India is ₹ 3800


8085 Microprocessor Assembly language Program For Static Display


Aim
8085 Microprocessor Assembly language Program For Static Display

Program
Address
Mnemonics
Opcode
LSB
MSB
Comments
2000
MVI A,90
3E
90
 
Move 90 to A
2002
OUT 19
D3
19
 
Out the port
2004
MVI C,06
0E
06
 
Move 06 to C
2006
LXI H,2500
21
00
25
Load 2500 to HL
2009
MOV A,M
7E
  
Move M to A
200A
OUT 90
D3
18
 
Out the result
200C
INX H
23
  
Increment h
200D
DCR C
0D
  
Decrement C
200E
JNZ 2009
C2
09
20
Jump on non zero
2011
HLT
76
  
End

8085 Microprocessor ALP Program To Wave Form Generation Using Sod Pin

Aim 
To write a 8085 Microprocessor ALP Program To Wave Form Generation Using Sod Pin

Program
Address
Mnemonics
Opcode
LSB
MSB
Comments
2000
MVI B,36
06
36
Move 36 to B
2002
EI
FB
Enable interrupt
2003
MVI A,10
3E
10
Move 10 to A
2005
SIM
30
SIM
2006
DCR B
05
Decrement B
2007
JNZ 2002
C2
02
20
Jump on non zero
200A
MVI B,36
06
36
Move 36 to B
200B
EI
FB
36
Enable interrupt
200C
MVI A,90
3E
90
Move 90 to A
200E
SIM
30
SIM
200F
DCR D
05
Decrement D
2010
JNZ 200C
C2
0C
20
Jump on non zero
2013
JMP 2000
C3
00
20
Jump to 2000

8085 Microprocessor Assembly language Program To Find Square Of the Given Number

Aim
To write an ALP (8085 Microprocessor Assembly language Program ) To Find Square Of the Given Number


Program
Address
Mnemonics
Opcode
LSB
MSB
Comments
2000
LDA 2500H
3A
00
25
Load accumulator
2003
MOV B,A
47
  
Copy A to Register B
2004
MOV C,A
4F
  
Copy A to Register C
2005
MVI A,00
3E
00
 
Clear A
2007
MVI D,00
16
00
 
Clear D
2009
ADD C
81
  
Add A+D
200A
JNC 200E
D2
0E
20
Jump on no carry
200E
DCR B
05
  
Decrement B
200F
JNZ 2009
C2
09
20
Jump on non zero
2012
STA 27F4
32
F4
27
Store result in 27F4
2015
MOV A,D
7A
  
Move D to A
2016
STA 27F5
32
F5
27
Store result in 27F5
2019
CALL 06E3
CD
E3
06
Call subroutine
201C
HLT
76
  
Stop



Observation / Output
i/p
2500 FF
o/p
FE 01

8085 Microprocessor Assembly language Program To Divide 2 Numbers


Aim
To Write assembly language program (ALP ) to divide two number using 8085 microprocessor.
Program
Address
Mnemonics
Opcode
LSB
MSB
Comments
2000
LDA 2201H
3A
01
22
Load accumulator
2003
MOV B,A
47
  
Move A to B
2004
LDA 2202H
3A
02
22
Load accumulator
2007
MVI C,00H
0E
00
 
Clear C
2009
CMP B
B8
  
Compare B with A
200A
JC 200B
DA
0B
20
Jump on carry
200D
SUB B
90
  
Subtract B
200E
INR C
0C
  
Increment C
200F
CMP B
B8
  
Compare B with A
2010
JNC 2000
D2
00
20
Jump on Non carry
2013
STA 27F5
32
F4
27
Store result
2016
MOV A,C
79
  
Move C to A
2017
STA 27F5
32
F5
27
Store result
201A
CALL 06E3
CD
E3
06
Call subroutine
201D
76
76
  
Stop