Tuesday, 23 August 2011

Simply Awesome.


Please Go to Below Link.. 

World's first 111 Giga Pixel Picture...

http://www.sevilla111.com/default_en.htm

The picture was made with the Canon 5D mark II and a 400mm-lens.

It consists of 1.665 full format pictures with 21.4 mega pixel, which was Recorded by a photo-robot in 172 minutes. 

The converting of 102 GB raw Data by a computer with a main memory cache of 48 GB and 16 processors took 94 hours. 

The picture is the largest in the world.

Zoom in to see any particular building/object.

Monday, 22 August 2011

How to Remotely Shutdown Windows 7 Computer


This article will tell you how to remotely  shutdown or restart a Windows 7 PC using the Remote Shutdown Dialog box or command line.
Using the Remote Shutdown Dialog box, you can remote shutdown, restart or log off local or networked computers, quite easily.
To open the Remote Shutdown Dialog box, open a command prompt, type shutdown -i and hit Enter.
  
The Remote Shutdown Dialog window will open.




In the window which opens, click Add. This will let you add the name of the copmuter that you want to remote-shutdown. You can find the name of the PC by right-clicking Computer and selecting properties. As an example, I have used his-pc and her-pc. Alternatively, you can also use the browse button to look for other PC’s on your network.

Next select the command. I have selected Shutdown and allowed for a 60 seconds time span before shutdown commences. You can also give a message, which will be displayed before shutdown commences.

Once done, click OK.

You can also document the reason for an unexpected restart or shutdown of a remote computer without logging on locally to that computer.


Do note that:
· To send commands to other PC’s you will have to have administrative privileges on those computers as well
· For Shutdown Event Tracker to be able to record information, the Remote Registry service must be enabled on the remote computer
· The Remote Administration and Windows Management Instrumentation firewall exceptions must be enabled on the remote computer.

CS Menu- Get Classic Start Menu in Windows 7


In Windows 7 and Windows Server 2008 R2 it is not possible easily revert to the original, Classic Start menu that was used since Windows NT 4.0 SP6a with IE 4 and the Active Desktop addition. The classic version was previously included in all MS operating systems, including Windows 95/98/ME/2000/XP/2003/Vista/2008. While in Windows XP and Windows Server 2003 we did get a new looking Start menu, it was still possible to right-click on it and in its Properties window, get it to use the Classic menu.

CSMenu is a little application which acts like the classic start menu. It's designed for Windows 7, which doesn't have a classic start menu.

For CS Menu visit: www.csmenu.com

Courtesy : http://doputtur.blogspot.com/

Sunday, 21 August 2011

SQL Server 2008 - Interview Questions and Answers


1. What are the basic functions for master, msdb, model, tempdb and resource databases?
1.     The master database holds information for all databases located on the SQL Server instance and is theglue that holds the engine together. Because SQL Server cannot start without a functioning masterdatabase, you must administer this database with care.
2.     The msdb database stores information regarding database backups, SQL Agent information, DTS packages, SQL Server jobs, and some replication information such as for log shipping.
3.     The tempdb holds temporary objects such as global and local temporary tables and stored procedures.
4.     The model is essentially a template database used in the creation of any new user database created in the instance.
5.     The resoure Database is a read-only database that contains all the system objects that are included with SQL Server. SQL Server system objects, such as sys.objects, are physically persisted in the Resource database, but they logically appear in the sys schema of every database. The Resource database does not contain user data or user metadata.
2. What is Service Broker?
Service Broker is a message-queuing technology in SQL Server that allows developers to integrate SQL Server fully into distributed applications. Service Broker is feature which provides facility to SQL Server to send an asynchronous, transactional message. it allows a database to send a message to another database without waiting for the response, so the application will continue to function if the remote database is temporarily unavailable.
3. Where SQL server user names and passwords are stored in SQL server?
They get stored in System Catalog Views sys.server_principals and sys.sql_logins.

4. What is Policy Management?
Policy Management in SQL SERVER 2008 allows you to define and enforce policies for configuring and managing SQL Server across the enterprise. Policy-Based Management is configured in SQL Server Management Studio (SSMS). Navigate to the Object Explorer and expand the Management node and the Policy Management node; you will see the Policies, Conditions, and Facets nodes.
5. What is Replication and Database Mirroring?
Database mirroring can be used with replication to provide availability for the publication database. Database mirroring involves two copies of a single database that typically reside on different computers. At any given time, only one copy of the database is currently available to clients which are known as the principal database. Updates made by clients to the principal database are applied on the other copy of the database, known as the mirror database. Mirroring involves applying the transaction log from every insertion, update, or deletion made on the principal database onto the mirror database.
6. What are Sparse Columns?
A sparse column is another tool used to reduce the amount of physical storage used in a database. They are the ordinary columns that have an optimized storage for null values. Sparse columns reduce the space requirements for null values at the cost of more overhead to retrieve nonnull values.
7. What does TOP Operator Do?
The TOP operator is used to specify the number of rows to be returned by a query. The TOP operator has new addition in SQL SERVER 2008 that it accepts variables as well as literal values and can be used with INSERT, UPDATE, and DELETES statements.
8. What is CTE?
CTE is an abbreviation Common Table Expression. A Common Table Expression (CTE) is an expression that can be thought of as a temporary result set which is defined within the execution of a single SQL statement. A CTE is similar to a derived table in that it is not stored as an object and lasts only for the duration of the query.
9. What is MERGE Statement?
MERGE is a new feature that provides an efficient way to perform multiple DML operations. In previous versions of SQL Server, we had to write separate statements to INSERT, UPDATE, or DELETE data based on certain conditions, but now, using MERGE statement we can include the logic of such data modifications in one statement that even checks when the data is matched then just update it and when unmatched then insert it. One of the most important advantages of MERGE statement is all the data is read and processed only once.
10. What is Filtered Index?
Filtered Index is used to index a portion of rows in a table that means it applies filter on INDEX which improves query performance, reduce index maintenance costs, and reduce index storage costs compared with full-table indexes. When we see an Index created with some where clause then that is actually a FILTERED INDEX.

For more : SQL Server 2008 - Interview Questions and Answers - Download

Windows XP Secrets








Notepad Secrets
Create a log

1.      Open Notepad
2.      On the very first line, type in ".LOG" (without quotes) then press Enter for a new line
3.      Now you can type in some text if you want, then save the file.
4.      Next time when you open the file, notice its contents. Notepad automatically adds a time/date log everytime you open the file.
Text becomes unreadable

1.      Open Notepad
2.      On the very first line, type in "dont eat the donut" (without quotes) then save and close the file. Note: the file should have only one line of the text above.
3.      Now, open the same file. You'll notice the text becomes unreadable squares. (try this with different text with the same format and length).





Paint Secrets
Create a trail image

1.      Open Paint, then open an image.
2.      Right-click on the image and select "Select All"
3.      Now hold the "Shift" key and move the image around. The image will be drawn with trail.
10x Zoom

1.      Open Paint, then open a small image.
2.      Select the zoom "Magnifier" tool.
3.      Windows Paint lists out the zoom options from 1x to 8x, but there is a 10x...
4.      After selecting the Magnifier tool, point the mouse right at the border line right under "8x" and left-click. There you go.. the hidden 10x.




Other Secrets
Where is the relaxing music that you've heard during Windows XP Installation?

1.      The file is in:
C:\Windows\system32\oobe\images\title.wma




Game Secrets
 Solitaire: Instant Win

1.      Press Alt + Shift + 2 to instantly win
 Solitaire: Draw only 1 card (instead of 3)

1.      Hold down Ctrl + Alt + Shift then click on unopen cards to draw.
 FreeCell: Instant Win

1.      Hold down Ctrl + Shift + F10 while playing, then click Abort.
2.      Now move one card.
 FreeCell: Hidden Game Modes

1.      Go to "Game" menu choose "Select Game"
2.      Here you can choose from game mode 1 to 1,000,000. But -1 and -2 will also work (hidden modes)
 Hearts: Show All Card

Warning! this requires a modification on your registry. Be sure you follow the steps carefully. Damage your registry might damage your Windows.
1.      Open the "Registry Editor" by: "Start" >> "Run" then type "regedit" and press Enter
2.      Expand toHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Hearts
3.      Right-click on the right panel and create a new String value with the name "ZB"
4.      Double-click to open this key "ZB" to edit its value. Then enter "42" and close the Registry Editor.
5.      Start Hearts and Press Ctrl + Alt + Shift + F12 to show all the cards
 Minesweeper: Stop The Timer

1.      When you start to play a new game, the timer is ticking...
2.      Press Windows Key + D to show desktop.
3.      Now come back to the game by selecting it from the taskbar. The timer is stopped.
 Pinball

1.      Unlimited Balls: Type bmax at a new game to get unlimited balls (no notification).
2.      Extra Balls: Type 1max at a new game to get extra balls.
3.      Gravity Well: Type gmax at a new game to activate Gravity Well.
4.      Promotion: Type rmax at a new game or while playing to get instant promotion and raising rank.
5.      Extra points with partial shots: Partially shot the ball just to pass the yellow light bars. There are 6 bars. With the first bar, you'll get 15,000 points, 2nd: 30,000,...
6.      Extra points with partial shots: Partially shot the ball just to pass the yellow light bars. There are 6 bars. With the first bar, you'll get 15,000 points, 2nd: 30,000,...
7.      Test Mode: Type hidden test with a new ball or new game. Now you can use your mouse to drag and move the ball where you want.



Internet Connection Sharing on Windows XP


This trick shows you how to share your internet connections on multiple computers within a workgroup with Windows XP. Windows XP has a built-in feature that called "Internet Connection Sharing" (ICS) that allows home users to share their internet connections on multiple computers. 
If you are not familiar with the network configurations, the easiest way to share your internet connection is to purchase a router or hub. Use this trick only if you don't have a router, or don't want to use a router, or if you just want to try out the feature. 
A simple way to understand this feature is, you are making your host computer (the computer directly connects to the internet) functioning as a router for other computers. 

What do you need?

  • A "Host" computer that running Windows XP. This computer must have at least TWO (2) network adapters. One adapter - let's call it "Adapter #1" - connects to the internet and another, "Adapter #2", connects to a hub or directly to other computers.

  • Client computer(s), which run any version of Windows. A client computer can be connected to the host computer directly by a cross-over cable or indirectly through a hub.

  • This trick assumes that the host computer is connected to the internet and you are able to access the internet on this computer.


Configure the Host Computer

  1. Logon the host computer as Administrator.

  2. Click Start >> Control Panel.

  3. Click Network and Internet Connections.

  4. Click Network Connections.

  5. Right-click the connection that you use to connect to the internet (the connection with Adapter #1). This connection can be either a high-speed internet connection or a dial-up connection.

  6. Click Properties.

  7. Click Advanced tab.

  8. Under Internet Connection Sharing, select the Allow other network users to connect through this computer's Internet connection check box.

  9. If you are sharing a dial-up Internet connection, select the Establish a dial-up connection whenever a computer on my network attempts to access the Internet check box if you want to permit your computer to automatically connect to the Internet.

  10. Click OK. You'll reieve the following message:
    When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP address 192.168.0.1. Your computer may lose connectivity with other computers on your network. If these other computers have static IP addresses, it is a good idea to set them to obtain their IP addresses automatically. Are you sure you want to enable Internet Connection Sharing?

  11. Click Yes.

Configure the Client Computer(s)
To use the shared connection from the Host computer, a client computer must be configured with "Automatic IP address". The main configurations are: 
  1. Configure TCP/IP Automatic IP

  2. Configure Internet Connection

The steps for the above two configurations are vary on different versions of Windows.
The following procedures are for Windows XP client computers.
  1. Log on to the client computer as Administrator or as Owner.

  2. Click Start >> Control Panel.

  3. Click Network and Internet Connections.

  4. Click Network Connections.

  5. Right-click Local Area Connection, and then click Properties.

  6. Click the General tab, click Internet Protocol (TCP/IP) in the This connection uses the following items list, and then click Properties.

  7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address automatically(if it is not already selected), and then click OK. 


  8. Click Start >> Control Panel

  9. Click Network and Internet Connections.

  10. Click Internet Options.

  11. In the Internet Properties dialog box, click the Connections tab.

  12. Click the Setup button. The New Connection Wizard starts.

  13. On the Welcome to the New Connection Wizard page, click Next.

  14. Click Connect to the Internet, and then click Next.

  15. Click Set up my connection manually, and then click Next.

  16. Click Connect using a broadband connection that is always on, and then click Next.

  17. On the Completing the New Connection Wizard page, click Finish.

  18. Exit Control Panel and test the internet. You might need to restart the computer.