Opportunities?

They are all around us...

There is power living latent everywhere waiting for the observant eye to discover it.

-Marden, Orison Swett

Last mail before leaving company

From:XYZ
Sent: Thursday, July 23, 2009 2:58 PM
To:
XYZ
Cc: XYZ
Subject: Cheerio !!!

Dear All,

After Three years of exciting and memorable stint with XYZ, I am bidding adieu today to this company to pursue other career opportunities. As I move on, I would like to take a moment to remember and cherish our times together.

It's been great interacting and knowing each one of you. It has been very stimulating, ever since my days with XYZ and throughXYZ, both professionally and personally. My sincere regards to all my seniors and colleagues for their continuous guidance and support during my tenure. Also, I would like to thank again XYZ, and Ness management for the help and guidance during all these years of my employment, and would like to extend my best wishes to the entire group.

I hope I have made my mark on teams I worked with and it has certainly made its very positive mark on me. Even though I will miss you all here I am looking forward to this new challenge and to start a new phase of my career. This is not a goodbye, only "hasta luego" or "see you later". Do stay in touch.

My personal contacts are:
Gtalk/Orkut:

Mobile: +91-9________________

Blog: http://krishnababug.blogspot.com/



Good luck and wish you all continued growth and success in your future endeavors!


Best regards,
XYZ

Resignation mail format

Its been around three years, i started my career and it is my first job. I have seen plentty of growth in my career. To step ahead I decided to resign in this company to take new challenges in career.


Tnhe mail I sent to my manager on the date June 1st 2009 is here

Hi,

With deep regret and with little excitement, I must resign as Sr. QA, effective June 1st, 2009. Keeping present internal operations in our EDC and my career in view I was searching for my luck and I got an opportunity now, this is an opportunity I cannot overlook.

I will be glad to assist in the training of my replacement. Your encouragement during the past three years has allowed me to grow in my responsibilities and capabilities. Thank you for these successful years. I will miss you all at XYZ. Your leadership provides me with many fond memories. I wish you continued success.

Sincerely,

XYZ

Convert lower case to uppercase and vice versa shell script

The following shell script will convert lower case letters to upper and uppercase to lower case.


bash-3.00# echo ramu |  tr  "[:lower:]" "[:upper:]"
RAMU

bash-3.00# echo RAMU |  tr  "[:upper:]" "[:lower:]"
ramu

bash-3.00#  echo RamU |  tr  "[:upper:]" "[:lower:]"
ramu

Replace a particular word in a file shell script - sed

How to replace a particular word in a file.


Single command :
sed "s/rama/krish/g" "a.txt" > b && rm -f a.txt && mv b a.txt
Here the above command replaces the word "rama" by "krish" in the file a.txt

To see a complete shell script see this.

Simple RFT script to test Google home page

Here is Simple dynamic RFT script which will launch a browser and then opens google home page and enters some thing in the search text box and searches for the same ...
Here is the RFT code to make it work

public void testMain(Object[] args)
    {
        startBrowser("http://google.co.in");
        sleep(25);
        TestObject[] to = getRootTestObject().find(
                atDescendant(".class","Html.INPUT.text",".title","Google Search"));
        // print dialog test object properties to console
        /*for (int i = 0; i < to.length; i++) {
           System.out.println (to[i].getProperties());
        }*/
        GuiTestObject contactLink = new GuiTestObject(to[0]);
        contactLink.click();
        BrowserTestObject b = findBrowser();
        b.inputChars("How to use RFT find method");
        TestObject[] to1 = getRootTestObject().find(
                atDescendant(".class","Html.INPUT.submit",".value","Google Search"));
        GuiTestObject searchButton = new GuiTestObject(to1[0]);
        searchButton.click();
        sleep(20);
        b.close();
    }
    private BrowserTestObject findBrowser(){
        TestObject[] foundTOs = find(atDescendant(".class", "Html.HtmlBrowser"));
        BrowserTestObject browser = (BrowserTestObject) foundTOs[0];
        return browser;
    }
}

SQL query to finf employees details for second maximum salary

Select * from emp where sal= (select max(sal) from emp where sal<(select max(sal) form emp))

The above query returns all the details of the employee whose salary is second highest.

(select max(sal) from emp where sal<(select max(sal) form emp)) will return the second max salary of an employee.

More : [1]