Lets share love

How ? copy url of this blog and share in your social network :) simple

Lets share love

How ? copy url of this blog and share in your social network :) simple

Tuesday, July 29, 2014

Play games of 80s and 90s

Have you ever wondered to play games of 90s that we used to play as children. yeah here is a link a friend gave me to play it online . i know most of you would of course like to try MARIO.


so here is Play Mario

and other games are :
Asteriod
Space Invader
Sonic

Share it to play with others :)

Monday, July 28, 2014

how to save web page as pdf

first go to file > print

now change as following

then final step is 

this is for google chrome . Process may be similar for other browsers too. Comment if have done this . 

:) 

Wednesday, July 9, 2014

A person who travelled from south India to Kathmandu describes Our kanchanpur



I left Dehradun at 1:00 PM and reached Banbasa at around 01:30am. As I got off the bus, there was no one around as I was the only person to get down from bus. Nearby, there was a shabby looking shop with around 10-12 people sitting on a wooden cot. Some of them had red eyes and looked like they were drunk or high. One of them asked me, ‘’sona hai?” (Do you want to sleep). I said yes. One of them led me to a room, which was quite spooky; it had a bulb and three wooden cots. One of the cots had a lot of mattresses on it. He told me that I can use any of the cots and would have to pay Rs.100 for it. I was quite afraid as there were a large number of people outside who were awake in the middle of the night and anyone of them could loot/steal my baggage if they wanted to. I took out my knife and slept with it. Fortunately nothing eventful happened that night. The same person came to wake me up at 4:00 am so I could proceed further. 

Tongas(horse driven carriages) run from Banbasa (India) to Mahendranagar (Nepal), which is about 15 kilometers apart, and help you cross the border. They take around INR 80-100 per passenger and some additional charge (around INR 50) to make sure you don’t run into problems with ITBP or the Nepali police(which you won’t until you carry something suspicious or behave in an unnatural manner). Unlike other borders you don’t find a big gate or a huge signboard saying “Nepal Welcomes You”. It is just that you start seeing the sign boards of Nepal Telecom and vehicles with Nepal registration number and soon the Nepal police which checks you at the entrance of the border. I had booked a bus to Kathmandu (this time it was an air-conditioned bus) from Mahendranagar. As the prevailing currency exchange rate is INR 1 = NPR 1.6, most things are relatively cheap in Nepal.

 The cost of traveling from Mahendranagar to Kathmandu (17 hour bus ride in an air-conditioned bus) is around INR 1300 inclusive of food. A few things I observed while traveling was that they have a great sense of cleanliness. There were dustbins placed at the intersection of two rows and stools were kept (as there was no leg rest in the semi sleeper buses). Occasionally they distributed drinks and stopped at a very nice place for dinner, the cost of which was included in the bus ticket itself. It was a buffet with very exceptional service, which could be easily rated above 3 stars. ... 



This Pretty Girl Was Seeking A Rich Husband. The Reply She Got From A Banker Was Priceless!

The following is what a women posted on a dating forum seeking a rich husband:


pretty girl
I’m going to be honest of what I’m going to say here. I’m 25 this year. I’m very pretty, have style and good taste. I wish to marry a guy with $500k annual salary or above. You might say that I’m greedy, but an annual salary of $1M is considered only as middle class in New York.
My requirement is not high. Is there anyone in this forum who has an income of $500k annual salary? Are you all married? I wanted to ask: what should I do to marry rich persons like you?
Among those I’ve dated, the richest is $250k annual income, and it seems that this is my upper limit.
If someone is going to move into high cost residential area on the west of New York City Garden(?), $250k annual income is not enough.
I’m here humbly to ask a few questions:
1) Where do most rich bachelors hang out? (Please list down the names and addresses of bars, restaurant, gym)
2) Which age group should I target?
3) Why most wives of the riches are only average-looking? I’ve met a few girls who don’t have looks and are not interesting, but they are able to marry rich guys.
4) How do you decide who can be your wife, and who can only be your girlfriend? (my target now is to get married)
Ms. Pretty
A philosophical reply from CEO of J.P. Morgan below:
Dear Ms. Pretty,
I have read your post with great interest. Guess there are lots of girls out there who have similar questions like yours. Please allow me to analyse your situation as a professional investor.
My annual income is more than $500k, which meets your requirement, so I hope everyone believes that I’m not wasting time here.
From the standpoint of a business person, it is a bad decision to marry you. The answer is very simple, so let me explain.
Put the details aside, what you’re trying to do is an exchange of “beauty” and “money” : Person A provides beauty, and Person B pays for it, fair and square.
However, there’s a deadly problem here, your beauty will fade, but my money will not be gone without any good reason. The fact is, my income might increase from year to year, but you can’t be prettier year after year.
Hence from the viewpoint of economics, I am an appreciation asset, and you are a depreciation asset. It’s not just normal depreciation, but exponential depreciation. If that is your only asset, your value will be much worse 10 years later.
By the terms we use in Wall Street, every trading has a position, dating with you is also a “trading position”.
If the trade value dropped we will sell it and it is not a good idea to keep it for long term – same goes with the marriage that you wanted. It might be cruel to say this, but in order to make a wiser decision any assets with great depreciation value will be sold or “leased”.
Anyone with over $500k annual income is not a fool; we would only date you, but will not marry you. I would advice that you forget looking for any clues to marry a rich guy. And by the way, you could make yourself to become a rich person with $500k annual income.This has better chance than finding a rich fool.
Hope this reply helps.
signed,
J.P. Morgan CEO


Copied from : http://www.jewsnews.co.il/2014/03/27/this-pretty-girl-was-seeking-a-rich-husband-the-reply-she-got-from-a-banker-was-priceless/

Tuesday, July 8, 2014

I have a personal library of books :)

Yeah i do have a library. i started it about a year ago . haha yeah it is a very mini library but nothing suddenly becomes big at once. it grows and my library will grow slowly :) . and sad news for you people you cannot borrow books from here :p. Guys here is a image of my library. i will update as it grows. till then suggest me some good books :) . And i want to thank uncle Deepak Prakash Bhatta. I am inspired by him for this . He used to have a big library of books as a student.


Wednesday, July 2, 2014

Enterprise storage

Enterprise storage is a broad category that includes products and services designed to assist large organizations with saving and retrieving digital information. Unlike consumer or small business storage devices, enterprise storage can handle large volumes of data and large numbers of users. It usually involves centralized storage repositories, such as storage area networks (SANs) ornetwork-attached storage (NAS) devices.
Enterprise storage can be broken down into several categories. Primary storage houses the data that end users are actively accessing. Backup storage contains copies of the information in primary storage for use in disaster recovery situations or in other circumstances where a secondary copy is necessary. Backup storage is closely related to archive storage, which is where enterprises keep outdated information that needs to be saved for compliance or other purposes.

Benefits of Enterprise Storage: On-Premises or Cloud Deployment

Organizations can choose to purchase and deploy on-premises enterprise storage systems, or they can choose to store their data with an external cloud computing service. The advantage of on-premises enterprise storage is that the organization retains complete control of the hardware and data, satisfying some security and compliance concerns. On the other hand, cloud-bases enterprise storage simplifies storage management and may lower costs in some cases. Some companies take a hybrid approach and use a combination of both on-premise and cloud-based storage.
One of the key benefits of enterprise storage solutions is that they enable file sharing and collaboration among workers. Many offer security features, such as user-based permissions, that aren't commonly found in consumer storage solutions. Enterprise storage also offers better performance, reliability, availability and scalability than other types of storage solutions.

Enterprise Storage Networking and Management

Enterprise storage devices utilize similar technology as consumer and small business storage solutions. However, enterprise data storage generally offers higher reliability, availability and scalability. As a result, enterprise storage generally costs more than consumer or small business storage. It also usually requires more time and expertise to set up, while many consumer storage vendors takes a plug-and-play approach, and enterprise storage networks are typically run by specialized personnel or administrators.
Terms frequently associated with enterprise storage include storage networking, which is the linking of storage devices with each other and other computer systems, and storage management, which includes technology and processes that help organizations control and maintain their storage systems.

Enterprise Storage Implementation

When you decide to deploy a new enterprise storage system, you face a number of choices. First, you must decide whether to design and build your own storage system or to utilize a cloud-based storage service. If you decide to use a cloud computing service, you won't have to make very many decisions about the hardware and network architecture, because the cloud vendor will handle those for you. Generally, the deployment steps for cloud storage will be fairly simple: Select a cloud service that meets your needs, sign up for the service and configure it to work with your existing applications and networks. Your most important task will be researching the services to make sure that you get one that can meet your needs and work with your current infrastructure.
Webopedia Did You Know
Choosing an Enterprise Storage Implementation: Learn about building your own storage system, utilizing a cloud-based storage service or combining both solutions in this Webopedia article.

Three Steps to Deploy On-Premises

The following three steps for deploying on-premises storage networks involve setting up the physical hardware and cables, migrating data (if necessary), configuring the devices and testing the system.

1) Choose a Storage Media

If you decide to build your own storage system, you'll have to make some additional decisions .For example, you'll need to select which storage media to use: Tape, hard disk drives (HDDs) or solid state drives (SSDs). Tape is the least expensive medium, but its performance and capabilities generally make it suitable only for backup and archive applications. HDDs are more expensive than tape, but they offer the higher performance necessary for primary storage.SSDs cost the most of all, but they offer much better performance and reliability than either tape or HDDs. Many organizations use a mix of tape, HDDs and SSDs, and some storage devices themselves include a mix of HDDs and SSDs.

2) Choose a Storage Architecture

You'll also need to decide on your storage architecture. Enterprise storage can include direct-attached storage (DAS), storage area networks (SANs) or network-attached storage (NAS) devices. DAS devices connect directly to an individual PC or server and don't offer the same collaboration capabilities as networked storage. However, you do gain collaboration benefits from SAN and NAS devices. SANs provide block-level storage for access by servers, while NAS devices offer file-level storage for access by end users. Many organizations use a combination of DAS, NAS and SAN devices.

3) Choose a Network Protocol

You'll also need to choose which network protocol you'll use. Your options include the Internet Protocol Suite (TCP/IP), Fibre Channel Protocol (FCP) and Internet SCSI (iSCSI) protocol. The type of storage architecture you select will impact which network protocol(s) you can use. For example, Fibre Channel and iSCSI are SAN protocols, while NAS is an IP storage protocol. Fibre Channel over Ethernet (FCoE) has emerged as one way for Ethernet and Fibre Channel networks to converge.

Enterprise Storage Technology

One of the primary organizations involved in setting standards for the enterprise storage industry is the Storage Networking Industry Association (SNIA). It has published numerous standards, including the Storage Management Initiative Specification (SMI-S)Solid State Storage Performance Test Specification (SSS PTS) and the eXtensible Access Method (XAM) specification.
The Internet Engineering Task Force (IETF) publishes the TCP/IP and iSCSI protocols. The Fibre Channel Industry Association (FCIA) publishes Fibre Channel specifications.


Exactly copied from http://www.webopedia.com/TERM/E/enterprise_storage.html

Relationships Between Domain Classes Grails

Relationships Between Domain Classes     Grails main page
  • There are two static variables that define relationships between domain classes: 
    • belongsTo  
    • hasMany
  • For example, if there is a class Company, and there are many Employees in a Company, you say the following:
  • Put this in the Company class
    • static hasMany = [employees: Employee]
  • Put this in the Employee class:
    • static belongsTo = Company
    • Company company
  • As mentioned before, constraints tell the order that fields get displayed.  So in the in the Company class you would say:
    static constraints = {
                    ....
                    employees()
                    ....
    }
  • The belongsTo also tells Grails that the Employee instance is owned by the Company instance, so that when a Company is deleted, all Employees are automatically deleted also.
  • Using these two static declarations, you can describe the following relationships.
    one-to-many
    many-to-one
    one-to-one

Saturday, June 21, 2014

database backup from cmd prompt


->  go to mysql/bin

->   $ mysqldump -u root -p databaseName > backupJune15.sql

-> your backup will be created in BIN folder with name backupJune15.sql


Wednesday, May 28, 2014

How to Setup SVN Server on Windows

http://svnrating.com/how-to-setup-svn-server-on-windows/

Friday, May 23, 2014

To deploy grails WAR file on your local computer

You need following :

-tomcat (i used ->apache-tomcat-7.0.42)

So here are the steps you need to follow::

1. In config.groovy change your setting on production environment

             production {
                                grails.logging.jul.usebridge = true
                                grails.serverURL = "http://localhost:8080/pms"

                              }

2. In dataSource.groovy comment all you have in production environment and copy all from development environment and paste to production environment.

             

3. Now you have to create war file . look at this screenshot
4. After WAR file is build copy the file from target  folder and paste it to
                                        C:\tomcat\apache-tomcat-7.0.42\webapps

5. Now go to cmd prompt and go to bin of apche tomcat server.

                          -> bin / catalina.bat run

6. This will run your application . now go to browser and browse 

                            localhost:8080/applicationName

Simple !!! isn't it :) 
.

Thursday, May 22, 2014

Hard things

You have to do the hard things. 
  • You have to make the call you’re afraid to make.
  • You have to get up earlier than you want to get up.
  • You have to give more than you get in return right away.
  • You have to care more about others than they care about you.
  • You have to fight when you are already injured, bloody, and sore.
  • You have to feel unsure and insecure when playing it safe seems smarter.
  • You have to lead when no one else is following you yet.
  • You have to invest in yourself even though no one else is.
  • You have to look like a fool while you’re looking for answers you don’t have.
  • You have to grind out the details when it’s easier to shrug them off.
  • You have to deliver results when making excuses is an option.
  • You have to search for your own explanations even when you’re told to accept the “facts.”
  • You have to make mistakes and look like an idiot.
  • You have to try and fail and try again.
  • You have to run faster even though you’re out of breath.
  • You have to be kind to people who have been cruel to you.
  • You have to meet deadlines that are unreasonable and deliver results that are unparalleled.
  • You have to be accountable for your actions even when things go wrong.
  • You have to keep moving towards where you want to be no matter what’s in front of you.
You have to do the hard things. The things that no one else is doing. The things that scare you. The things that make you wonder how much longer you can hold on.
Those are the things that define you. Those are the things that make the difference between living a life of mediocrity or outrageous success.
The hard things are the easiest things to avoid. To excuse away. To pretend like they don’t apply to you.
The simple truth about how ordinary people accomplish outrageous feats of success is that they do the hard things that smarter, wealthier, more qualified people don’t have the courage — or desperation — to do.
Do the hard things. You might be surprised at how amazing you really are.


Read more: http://danwaldschmidt.com/2014/01/attitude/hard-things#ixzz32SUry9rN

Monday, May 19, 2014

Nurse reveals the top 5 regrets people make on their deathbed

For many years I worked in palliative care. My patients were those who had gone home to die. Some incredibly special times were shared. I was with them for the last three to twelve weeks of their lives. People grow a lot when they are faced with their own mortality.
I learnt never to underestimate someone’s capacity for growth. Some changes were phenomenal. Each experienced a variety of emotions, as expected, denial, fear, anger, remorse, more denial and eventually acceptance. Every single patient found their peace before they departed though, every one of them.
When questioned about any regrets they had or anything they would do differently, common themes surfaced again and again. Here are the most common five:
1. I wish I’d had the courage to live a life true to myself, not the life others expected of me.
This was the most common regret of all. When people realize that their life is almost over and look back clearly on it, it is easy to see how many dreams have gone unfulfilled. Most people had not honoured even a half of their dreams and had to die knowing that it was due to choices they had made, or not made.
It is very important to try and honour at least some of your dreams along the way. From the moment that you lose your health, it is too late. Health brings a freedom very few realise, until they no longer have it.
2. I wish I didn’t work so hard.
This came from every male patient that I nursed. They missed their children’s youth and their partner’s companionship. Women also spoke of this regret. But as most were from an older generation, many of the female patients had not been breadwinners. All of the men I nursed deeply regretted spending so much of their lives on the treadmill of a work existence.
By simplifying your lifestyle and making conscious choices along the way, it is possible to not need the income that you think you do. And by creating more space in your life, you become happier and more open to new opportunities, ones more suited to your new lifestyle.
3. I wish I’d had the courage to express my feelings.
Many people suppressed their feelings in order to keep peace with others. As a result, they settled for a mediocre existence and never became who they were truly capable of becoming. Manydeveloped illnesses relating to the bitterness and resentment they carried as a result.
We cannot control the reactions of others. However, although people may initially react when you change the way you are by speaking honestly, in the end it raises the relationship to a whole new and healthier level. Either that or it releases the unhealthy relationship from your life. Either way,you win.
4. I wish I had stayed in touch with my friends.
Often they would not truly realise the full benefits of old friends until their dying weeks and it was not always possible to track them down. Many had become so caught up in their own lives that they had let golden friendships slip by over the years. There were many deep regrets about not giving friendships the time and effort that they deserved. Everyone misses their friends when they are dying.
It is common for anyone in a busy lifestyle to let friendships slip. But when you are faced with your approaching death, the physical details of life fall away. People do want to get their financial affairs in order if possible. But it is not money or status that holds the true importance for them. They want to get things in order more for the benefit of those they love. Usually though, they are too ill and weary to ever manage this task. It is all comes down to love and relationships in the end. That is all that remains in the final weeks, love and relationships.
5. I wish that I had let myself be happier.
This is a surprisingly common one. Many did not realise until the end that happiness is a choice. They had stayed stuck in old patterns and habits. The so-called ‘comfort’ of familiarity overflowed into their emotions, as well as their physical lives. Fear of change had them pretending to others, and to their selves, that they were content. When deep within, they longed to laugh properly and have silliness in their life again. When you are on your deathbed, what  others think of you is a long way from your mind. How wonderful to be able to let go and smile again, long before you are dying.
Life is a choice. It is YOUR life. Choose consciously, choose wisely, choose honestly. Choose happiness



from :: http://worldobserveronline.com/

Sunday, May 18, 2014

How to Create a Desktop Shortcut to a Website

Creating desktop shortcuts to a websites is useful. When you double-click the icon from your desktop it automatically launches the browser and opens the site. It will open the website in the browser you used when creating the shortcut.

3 Simple Steps to Create a Shortcut to a Website

The following steps will guide you through the process of creating a desktop shortcut to a website using Firefox, Chrome or Internet Explorer (IE).
1) Resize your Web browser so you can see the browser and your desktop in the same screen.
2) Left click the icon located to the left side of the address bar. This is where you see the full URL to the website.
3) Continue to hold down the mouse button and drag the icon to your desktop. This creates the shortcut.

After creating the shortcut you can right-click on the icon and select Rename to edit the text description.

Thursday, May 15, 2014

MySQL COALESCE() function

MySQL COALESCE() function returns the first non-NULL value of a list, or NULL if there are no non-NULL values.
MySQL Version : 5.6



Syntax

COALESCE(value1,value2,value3,...)
The above syntax is equivalent to the following IF-THEN-ELSE statement
  IF value1 is not NULL THEN
     result = value1;
  ELSIF value2 is not NULL THEN
     result = value2;
  ELSIF value3 is not NULL THEN
     result = value3;
  ELSE
     result = NULL;
  END IF; 
- See more at: http://www.w3resource.com/mysql/comparision-functions-and-operators/coalesce-function.php#sthash.mgOL7uGR.dpuf