Archive for the ‘How-to’ Category

How to Increase the Display Results Count in Google Search Per Page

By default Google search would display 10 search results and we can navigate to the next set of search results through the page navigation in bottom of the screen.googlesreachnav

But suppose if we are tried to go for the next set of results by the page navigator at the bottom,there is a option to change the number of search results to be displayed per page in Google search.Here are the simple steps to change the no of results to be displayed :-

  • Go to Google.com
  • Select search settings at the top right corner of the screen.It will go to the preference page.
SearchSetting

Search Setting If Not Logged In Gmail

Search Setting if logged in

Search Setting If Logged In Gmail

  • Locate the Number of Results block by scrolling down
  • Select the display no of results to be displayed from the drop down which has five set of numbers 10,20,30,50 and 100

Search Results

  • Click Save Preferences button at the bottom of the screen.

After saving it will automatically returns to Google search with last searched value.Now the search results would display with the number of display results we have set.

Popularity: 2% [?]

Accessing Multiple Gmail accounts from the same browser window

I was wondering, it would be great if I am able to login into two of my gmail accounts at the same time from the same browser window. Historically, Google doesn’t allow you to login to multiple google accounts; if you try to login to another user account then Google will prompt you to log off the currently logged in account.

Now its made possible in gmail by the new feature called ‘Multiple Sign-in‘. To enable this feature you need to login into Google account.

Multiple Sign-in Feature

Multiple Sign-in Feature

Click the ‘Edit‘ link in the Muliple Sign-in, you will be forwarded to the page where you should click on ‘On‘ radio button and couple of ‘checkboxes’ and click ‘Save‘. Now, your account is enabled with multiple Sign-on feature.

Sign in to another account

To add another account, click on the Accounts menu at top right side of the Browser menu and select ‘Sign in to another account‘.After you login into another gmail account the Accounts menu will show you both the accounts.

To switch between accounts click the accounts menu and click the appropriate Google account.

Swith accounts

Switch between accounts

Note:

  • As of now this feature is available only for Desktop browsers and not for Mobile browsers.
  • You can use this for the following Google products only :Code, Calendar, Gmail, Reader, Sites, Voice.

Popularity: 2% [?]

In Task Manager Title Bar,Menu Bar and Tabs are Missing,Is it a virus attack? – Windows XP

In Windows XP,if you find the task manager with out title bar,program tabs or menu bar,don’t be panic,the Task Manager is running in Tiny Footprint mode. Its not the virus which made your task manager like this.You may have double-clicked the empty space in the border around the tabs thus Task Manager switches to this mode.
Task Manager Without Tabs

This problem can be handled easily.Simply just double-click on the border of the window showing to bring back the task manager to normal mode.

Task Manager With Tabs

Ref Source :Microsoft Support

Popularity: 2% [?]

How to override the DNS locally ?

Problem:

I was wondering how to override the DNS locally. There is a server in my network having static IP and has a registered Domain name. My local network doesn’t allow me to connect to internet and the server is part of my network, so how do I connect to this server using the same domain name instead of LAN IP or system name.

Solution:

  1. Goto ‘Drivers’ folder inside the system32 folder. “C:\WINDOWS\system32\drivers
  2. Open ‘etc’ folder “C:\WINDOWS\system32\drivers\etc
  3. Open the ‘hosts’ file in wordpad
  4. At the end of this file you will find this  “127.0.0.1       localhost
  5. Now enter the LAN IP of the server and the domain name of the server separated by ‘TAB’ eg., 10.35.68.8          www.yourserver.com
  6. Now you can ping and test the connectivity.

When you do this you are just bypassing the DNS.

Popularity: 5% [?]

How to create an OpenID and use it ?

openid-logo

OpenID

Fed up with creating new accounts for multiple websites, here comes OpenID for the rescue. It allows you to use an existing account to sign in to multiple websites without ‘sign up’. OpenID replaces the common login process that uses a login name and password for every website.

An OpenID is in the form of a unique URL (e.g., http:\\me.yahoo.com\testid), which is authenticated by the user’s OpenID provider. Some of the websites who supports, allows and provides OpenID are Yahoo, Google, ZOHO, Microsoft, AOL, PayPal, Verisign. The OpenID doesn’t rely on a central authority to authenticate the user. The OpenID protocol leaves the type of authentication to the provider, the authentication forms may include passwords and biometrics.

Let us create a OpenID with Yahoo!

  1. Go to Yahoo OpenID website Yahoo! OpenID
  2. Get Started, login with your Yahoo ID

    Yahoo! OpenID

    Yahoo! OpenID

  3. Now Yahoo will display the OpenID URL (identifier) generated for you

    OpenID generated

    OpenID generated

  4. To create custom identifier click on ‘Show customization Options‘. Check for available identifiers, Yahoo recomends not to use mail id as part of the openID as it may expose our mail id. click on ‘Save My Customization‘.

    Custom OpenID

    Custom OpenID

Let us check how to use the OpenID.

  1. Go to Live Journal, click on ‘Login with OpenID‘ in the login page to open the OpenID login page.livejournal-openid-login
  2. Enter your OpenID and click Login (I don’t have account in Live Journal)
  3. This will forward it to Yahoo, where you need to login with Yahoo ID
  4. Now you have logged into Live Journal using OpenID.

The major advantage of an OpenID is you need not create a new account for every website you visit, instead create an OpenID and use the same account to log into all websites you visit.

Popularity: 8% [?]

What is SVG?

Scalable Vector Graphics (SVG) is a XML based language for describing 2D (two dimension) graphics, both static and dynamic.

SVG is an open standard developed by W3C (World Wide Web Consortium). Since the SVG images are defined in XML, they can be searched, indexed, compressed. SVG images can be edited using any text editors.

All major web browsers except Internet Explorer supports and renders the SVG images. Internet Explorer needs a plugin for rendering SVG images.

SVG allows 3 types of graphics:

1. Vector Graphics

2. Raster Graphics

3. Text

A typical SVG image’s xml look like

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
         "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <polygon fill="red" stroke-width="10" fill-opacity="0.4"
           points="350, 75 379,161 469,161 397,215
                   423,301 350,250 277,301 303,215
                   231,161 321,161"
           transform="translate(-350,-200) scale(2) rotate(10)" />
</svg>

and its Image output

Popularity: 1% [?]

What is JSON?

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.

Popularity: 1% [?]

Usage of Stored Procedures

Reduce network traffic: You have to send the SQL statement across the network. With sprocs, you can execute SQL in batches, which is also more efficient.

Caching query plan: The first time the stored procedure is executed, SQL Server creates an execution plan, which is cached for reuse. This is particularly performant for small queries run frequently.

Ability to use output parameters: If you send inline SQL that returns one row, you can only get back a recordset. With stored procedures you can get them back as output parameters, which is considerably faster.

Permissions: When you send inline SQL, you have to grant permissions on the table(s) to the user, which is granting much more access than merely granting permission to execute a stored procedure

Separation of logic: Remove the SQL-generating code and segregate it in the database.

Ability to edit without recompiling: This can be controversial. You can edit the SQL in a sproc without having to recompile the application.

Find where a table is used: With stored procedures, if you want to find all SQL statements referencing a particular table, you can export the stored procedure code and search it. This is much easier than trying to find it in code.

Optimization: It’s easier for a DBA to optimize the SQL and tune the database when stored procedures are used. It’s easier to find missing indexes and such.

SQL injection attacks: Properly written inline SQL can defend against attacks, but stored procedures are better for this protection.

Popularity: 2% [?]

What is IBATIS?

The iBATIS Data Mapper makes it easier to use a database with Java and .NET applications. iBATIS couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the iBATIS Data Mapper over object relational mapping tools.

The iBatis framework is a lightweight data mapping framework and persistence API that can be used to quickly leverage a legacy database schema to generate a database persistence layer for your Java application. A set of XML encoded SQL Map files–one for each database table–holds SQL templates that are executed as prepared statements and map the expected results to Java domain classes. From application code, a layer of iBatis Data Access Objects (DAO) acts as the API that executes the SQL Map templates and assigns the results to the corresponding Java domain classes.

To enable communication among DAO layers and Sql Map layers, an XML configuration file describes each DAO interface and implementation class, as well as the location of a second XML configuration file that in turn points to each SQL Map file and contains the database connection information.

Popularity: 1% [?]

What is Linked List ?

Linked list is one of the fundamental concepts in the data structure. It consists of a set of nodes, each containing a ‘data’ field and one or two references (pointing to adjacent nodes). It is a self referential datatype since it contains reference(s) of the adjacent (next or previous) datum of the same type.

Advantage :
Advantage of linked list compared to conventional array are

  • Insertions and deletions of nodes can be done at anywhere in the list.
  • List size can be increased and decreased in runtime.
  • Order of the linked items can be different from how it is stored in memory or disk, thus allowing the list of items to be traversed in different order.

Types of linked lists exist are Singly linked list, Doubly linked list and Circular linked list.

Popularity: 1% [?]

Designed by: Business Web Hosting | Thanks to Buy Icons, travel tips and Used Cars