Friday, May 22, 2009

Keyboard shortcuts

Searching for the mouse everytime u open and close the window and also for each and every option makes the life difficult for techie guys.Most of the Times we feel lazy performing all the operations wid mouse and loty of time is wasted on it.Instead we can use the keyboard shortcuts which are convenient and easy to use.So Here iam listing almost all the firefox keyboard shorcuts that wud make our life easier.

Alt + D / Ctrl + L- Allows you to directly jump into the location bar(address bar).

ALT + Enter-Opens the address of the website u are viewing in the new tab.

CTRL + R -Reloads the page.

ESC-Stops loading the page.

F11-Full screen mode.Pressing it once will open up the full screen mode and press it again to return back to the normal mode.

Tab-This will help to navigate through all the links in the page u are viewing and hitting the enter will open up that link.

CTRL + T-Opens a new tab.

CTRL + Tab-Selects the next tab. Suppose you have opened up about five tabs to research a couple of different issues, you may need to navigate back and forth between the tabs. This shortcut allows you to move to the next tab to the right. However, you can actually navigate left and right by using CTRL + PG UP and CTRL + PG DN, respectively. Even better, you can CTRL + (1 to 8) to select a specific tab (as long as you have no more than 8 tabs open) since CTRL + 9 takes you directly to the last tab on the right.

ALT + Left Arrow / ALT + Right Arrow-Equivalent to clicking on the Back and Forward buttons to navigate within a website.

CTRL + D-Booknarks the current page u are viewing.

ALT + Home-This Takes u back to the Homepage i.e the page that opens when u first launch the Firefox.

CTRL + W-Closes the Current Tab.

CTRL + Shift + T-Suppose u have closed a wrong Tab by mistake!Don't worry this tab helps u to Undo the closing of a tab.

CTRL + Shift + DEL-Clears the Private Data and keeps the cache and cookies clean.

ALT + F4-This shortcut closes the window i.e entire firefox session.

Ctrl++-Zoom in the page.

Ctrl---Zoom Out the page

Ctrl+0-Reset the page

'-Helps u to find the specified links in the page.

/-Helps to find the specified text in the page.Can be an alternative to the
Ctrl+F

Ctrl+K/Ctrl+E-Allows u to do the web search.

Ctrl +Home-Move Tab to beginning when Tab is focussed.

Ctrl+End-Move Tab to the End when Tab is focussed.

Ctrl+Shift+D-This Allows u to Bookmark all the Tabs.

Ctrl+J-Allows to view all the Downloads

Ctrl+H-History

Ctrl+Enter-adds http://www. and .com at the beginning and end of a word. i.e if we give myspace in the addressbar and press this it will fill the adress for u i.e the adress now will be http://www.myspace.com/ saving ur time in typing the whole address.

Shift+Enter-This shortcut completes the .net address.

Ctrl+Shift+Enter-This shortcut completes the .org address.

Ctrl+Shift+I-Opens up the DOM Inspector.

F7-Caret Browsing

F3-Find Again.

Guys these are the shortcuts which shd be helpful to u and shd be an good option for ur
laziness :)
So keep ur mouse a side and increase ur firefox productivity with these keyboard shorcuts.

Hope,i covered all the shorcuts.Am i missing anything????If yes then do temee.Will post some if i find any, till then

Happy Browsing!!!!!:)




















Friday, May 15, 2009

Writing the First Hello World Program Using The Eclipse.

Hi all,

It has been quite long since i posted anything new in my blog.Right Now iam working in a java environment where everything is new to me as i have been working on asp.net platform for an year,doing both testing and development.As iam leaned towards development i started learning java.Started off with creating a project in Eclipse which was quite simple,so i wanted to share the same with u all as it wud be useful to all those beginners like me who spent a lot of time in searching for these kind of stuff.So let's start learning!!

(1)First,install the latest version of eclipse on your computer from any of the trusted sites.
(2)Then run the eclipse which would be for the first time :)
(3)Go to File->New->project,then select a wizard window appears,in that select java project and click next(sometimes u can directly find java project in the New Tab).
(4)In create a java project window give the project name and click finish.Now u have a new project created which is shown in the package explorer.
(5)Next step is to create a package where we need to keep all the source files related to the project.Before that right click on the project name and create a new folder named src by using the New option.
(6)Then Click on the New Java Package icon present in the tool bar as shown.
(7)In the New Java Package window that appears give the package name and click Finish.
(8)Last step is to create a class file where we i need to write the code.That can be done by clicking on the New Java Class icon present in the tool bar as shown.
(9)In the New Java Class window that appears give the relevant name and check the public static void main check box as shown and click Finish.

That's it Guys!!! U are now ready with the class file which appears in the workspace where u can write ur code and execute it.

Here i wrote a simple program and executed it to console.

To Run your Java project. Right click the 'TutorialClass.java' file in the Package Explorer window, then click Run As > Java Application.Output will appear in the console

Done!!U wrote ur first java application and displayed it to console.Isn't it easy and cool...
Happy Coding:)
Hope It helps.......





Sunday, May 3, 2009

Failed to Access IIS Metabase Error

Hey all
Today I was working on VS2008 and with the help of "view in browser" option i was trying to view the website but i came across the error "Failed to access IIS Metabase". I was seeing this error for the first time.So i tried to figure out what the problem was and after a long research i was successfull in finding out the solution for this which i would like to share with you all.
Below i mentioned the problem and solution in detail so go through it.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:
System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC).
Cause:

Microsoft .Net framework installation registers the framework on the IIS. Beside performing many other configrations in the OS and IIS, it also creates ACLs (Access Control List). .NET framework installation registers the framework in the IIS using ASP.NET IIS Registration Tool (aspnet_regiis.exe). The ASP.NET IIS registration tool allows installation program (or administrator) to update script maps for ASP.NET applications to point to the ASP.NET ISAPI version that is associated with the tool.
Solution:

Run the following in the Command Prompt (cmd.exe)

C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

-i switch is used for installing ASP.NET and upgrading all application pools to ASP.NET version which came with the ASP.NET IIS Registration Tool. It will ignore the previous version of application pool. Please note that the above command will only affect the applications that are currently mapped to an earlier version of ASP.NET.
The following command will install the script maps pointing to the ASP.NET version that is associated with the ASP.NET IIS Registration Tool to the application "App1".

aspnet_regiis -s W3SVC/1/ROOT/App1
Hope this helps... :)
Happy Coding.