Wednesday, September 25, 2013

Powershell - Get Process and Kill Process - Automation

As part amateur programming, we end up queing a lot of processes in the taskbast and manually deleting them.

I was using eclipse and i realised that I had a lot of processes with the name iexplore.exe and console.exe. Even if I manually try to kill each one, I have a long way to go.

Automation is the key. Powershell is the solution I found that worked for me.

Steps to kill a process
Launch three or four internet explorer windows in the application.
Launch the command shell - Windows + R, In the run window, enter command as "powershell" without quotes.

In the Powershell use the following commands

get-process iexplore
kill -Name iexplore

- Name tells the shell to kill all the process "names" that have iexplore.
You can get a complete list of arguments by using
help get-process

MSDN link : http://technet.microsoft.com/library/hh849832.aspx

Regards,
Ajith Moni




Sunday, September 8, 2013

Day Light Savings & Seasons in USA CST and CDT

It has long been long that I wanted to figure out what Day Light Savings actually means!


Daylight Savings Time is Effective from Mar to Nov and varies from year to year.

Daylight Saving Time resumes at 2 a.m. on Sunday, March 10, 2013 in the United States. It will end on Sunday, November 3, 2013 at 2 a.m.

Winter and Fall can be read as "Spring forward, Fall back"

The phrase "Spring forward, Fall back" helps people remember how Daylight Saving Time affects their clocks. At 2 a.m. on the second Sunday in March, we set our clocks forward one hour ahead of Standard Time ("Spring forward," even though Spring doesn't begin until late March, over a week after the start of Daylight Saving Time).

They "Fall back" at 2 a.m. on the first Sunday in November by setting our clock back one hour and thus returning to Standard Time.


The change to Daylight Saving Time ostensibly allows us to use less energy in lighting our homes by taking advantage of the longer and later daylight hours.

During the eight-month period of Daylight Saving Time, the names of time in each of the time zones in the U.S. (map) change as well.
  1. Eastern Standard Time (EST) becomes Eastern Daylight Time
  2. Central Standard Time (CST) becomes Central Daylight Time (CDT)
  3. Mountain Standard Time (MST) becomes Mountain Daylight Time (MDT)
  4. Pacific Standard Time becomes Pacific Daylight Time (PDT), and so forth.

The Act extended Daylight Saving Time by four weeks from the second Sunday of March to the first Sunday of November, with the hope that it would save 10,000 barrels of oil each day through reduced use of power by businesses during daylight hours.

USA Seasons
Spring = late March, April, June, July
Summer= late July, August, September
Fall = late September, October, November, early December
Winter = late December, January, February, March

Source & Coutesy : http://geography.about.com/cs/daylightsavings/a/dst.htm

Summary of Six Sigma and Green Belt



I took time to learn and share my understanding having heard the words Six Sigma and Green belt from an associate. Here's my short summary of the understanding.

What is Six Sigma?

It is associated with manufacturing.
Statistical modelling of manufacturing processes.
It is a set of tools and techniques/strategies for process improvements
orginally developed by Motorolla in 1981
Well known after its use in business strategy at General Electric in 1995
Focuses on Quality Management methods & statistical methods

Goals addressed by Sigma

Seeks to improve the quality of process outputs by identifying and removing the causes of defects(errors)
Minimizing variability in Manufacturing and Business Processes.
Quantified value targets
Example :
Process cycle time reduction,customer satisfaction,reduction in pollution,cost reduction & profit increase

Methodology

Follows two project methodologies - 5 phase approach
DMAIC - improve existing business process
Define, Measure, Analyze, Improve and Control
DMADV - creating a new product or process designs
Define, Measure, Analyze, Design, Verify

Tools & its application
    Arena
    ARIS Six Sigma
    Bonita Open Solution BPMN2 standard and KPIs for statistic monitoring
    JMP
Read more on : http://en.wikipedia.org/wiki/Six_Sigma


Maturity Rating

A Sigma rating indicates its yield or the percentage of defect free products it processes.
A six sigma process is one in which 99.99966% of the products manufactured are statistically expected to be free of defects
(3.4 defects per million)

All the belts

Champions take responsibility for Six Sigma implementation across the organization in an integrated manner. The Executive Leadership draws them from upper management. Champions also act as mentors to Black Belts.
Master Black Belts, identified by champions, act as in-house coaches on Six Sigma. They devote 100% of their time to Six Sigma. They assist champions and guide Black Belts and Green Belts. Apart from statistical tasks, they spend their time on ensuring consistent application of Six Sigma across various functions and departments.

Black Belts operate under Master Black Belts to apply Six Sigma methodology to specific projects.They primarily focus on Six Sigma project execution and special leadership with special tasks

Green Belts are the employees who take up Six Sigma implementation along with their other job responsibilities, operating under the guidance of Black Belts.
Additional ( informal )
Yellow Belts, for employees that have basic training in Six Sigma tools and generally participate in projects and
"White belts" for those locally trained in the concepts but do not participate in the project team.
"Orange belts" are also mentioned to be used for special cases.


Sources :

http://asq.org/learn-about-quality/six-sigma/overview/belts-executives-champions.html
http://prdweb.asq.org/certification/control/six-sigma-green-belt/index
http://en.wikipedia.org/wiki/Six_Sigma
http://www.isid.ac.in/~sqc/gb.html

Regards,
Ajith Moni

Tuesday, May 7, 2013

List of Technical Blogs

-->
Blog Category
Blog Name
Automation Testing & Quality Assurance
Oracle Application Testing Suite
R12 Oracle Applications ERP Applications
QTP
QTP and VB Scripting

-->
Above listed are blogs that have relevant technical content I have learnt and documented in the form of blogs.

Regards,
Ajith Moni ( Alias Ajith Charles )

Saturday, May 4, 2013

What is Sun sign, Moon Sign, Ascendant Nakshatra and Match Making in Astrology

Hi All,

Astrology and Terms such as sun sign, moon sign, ascendant are my findings that help every beginner to get a deeper insight to the curious questions we have as to how is astrology so true.

Ask yourself these questions ?
1) What does my Sun Sign denote from a personality point of view?
"Your Sun sign describes your basic ego"

2) What does my Moon Sign denote from a personality point of view?
"Your Moon sign describes your emotional inner self"

3) What does my Ascendant denote from a personality point of view?
"Your Ascendant describes the facade you show the rest of the world"

Find your Sun Sign
What do you need to find your Sun Sign ?
You will need to have your DOB
Example : 13-JAN-1982
http://en.wikipedia.org/wiki/Sun_(astrology)

Find your Moon Sign ( Raasi )
What do you need to find your Moon Sign ?

You will need to have your DOB + Time of Birth + Place of Birth
Example : 13-JAN-1982 18:00 pm
Note : If you do not know the time of birth and location, I'm afraid you might not be able to do much but to somehow find it out.
Punch in these details in the site mentioned below
http://www.prokerala.com/astrology/nakshatra-finder/


The result on query shows a name against "Raasi". Note this down.
"Raasi" indicates your moon sign. To translate the Raasi in "English", you can use the following link
http://www.maharishiyagya.org/jyotish/rashis.html

Find Your Ascendant
Similarly you can find your "Ascendant" using the following link with the same details specified in the moon sign.Punch in these details as mentioned during finding your moon sign in the site mentioned below.
http://www.cafeastrology.com/ascendantcalculator.html

Match Making
Finally the curious part, Find out how much you score against your partner, any score above 18 is considered a good match. You will need DOB + Time of birth + Location of birth of both the boy and the girl.

http://askganesa.com/services/free_horoscope/gun-milan-new1.aspx

Note : Again Astrology has its deeper insights and I am an amateur. You will need to consult an astrologer for a much more detailed report.

I read and believe astrology more from a psychological point of view to to understand to a person and accept the way they are.
I get to understand the persons ego, inner self and facade to the rest of the world from a psychological point of view. The match making is just to spice it up ;-).

How you take this forward is upto you :-). Good Luck


Regards,
Ajith Moni

Wednesday, April 10, 2013

Heres the update guys...

I found this amazingly lovely list of a mix of Love and Rock music I would love to share, some of them i've already heard but find it rejuvenating and amazingly nostalic.

Year of the cat - Al Stewart
Time after time - Cyndi Lauper
I just died in your arms tonight
Thats what love is for - Amy Grant
Teach me Tiger - April Stevens

i'll add up more to this...
Hi Folks,

Got up with this crazy thought of catching up on lost Rock Music.

Initiated a download for the hits of Nirvana and Bob Marley to start off with.
Listening to an existing mix of collections of rock songs i have on my computer.

I will keep you guys posted with my favourite pics i've picked for now are :

 I don't wanna a thing - Aerosmith
Sultans of swing - Dire Straights

Saturday, April 14, 2012

Quotes day out

Today Morning I awoke with the thirst to do something I loved to read before, "Quotes".
Here are a few picks from the very well know one and only "George Bernard Shaw"

  • Beauty is all very well at first sight; but who ever looks at it when it has been in the house three days?
  • Beware of false knowledge; it is more dangerous than ignorance.
  • Beware of the man who does not return your blow: he neither forgives you nor allows you to forgive yourself.
  • Choose silence of all virtues, for by it you hear other men's imperfections, and conceal your own.
  • Clever and attractive women do not want to vote; they are willing to let men govern as long as they govern men.
  • Dancing is a perpendicular expression of a horizontal desire.
  • First love is only a little foolishness and a lot of curiosity.
  • He who can, does. He who cannot, teaches

  • A fashion is nothing but an induced epidemic
  • A fool's brain digests philosophy into folly, science into superstition, and art into pedantry. Hence University education.
  • A gentleman is one who puts more into the world than he takes out
  • A happy family is but an earlier heaven.
  • A life spent making mistakes is not only more honorable, but more useful than a life spent doing nothing.
  • A man never tells you anything until you contradict him
  • A perpetual holiday is a good working definition of hell
  • A veteran journalist has never had time to think twice before he writes
  • Alcohol is the anesthesia by which we endure the operation of life.
  • All great truths begin as blasphemies
  • Americans adore me and will go on adoring me until I say something nice about them.
  • An asylum for the sane would be empty in America




Saturday, February 11, 2012

Agile Testing: Performance vs. load vs. stress testing

Agile Testing: Performance vs. load vs. stress testing: Here's a good interview question for a tester: how do you define performance/load/stress testing? Many times people use these terms intercha...

Thursday, February 2, 2012

Another Day Another Month Another Year

Life changes too fast. It shows India is growing too fast and changing too fast. Just a year back i had a different set of friends and habits. Today i am altogether a new person. The change is too drastic. I sometimes wonder if change is really good. You loose yourself in the midst of the tremendous change. Although change is a welcome moment thats helped me be a better person, but the way i would be happy as in contended is lost somewhere. Am i part of the rat race or have I become a rat. Either ways I've lost the me in me.


Money seems to be everything in todays world and most times it buys me artificial happiness. Have I lost those days when all i worried was about having fun. Today I have to define happiness the way Life defines it to be.

Theres no conclusion to what I've been trying to picturize. I just am worried that I am part of the movie where the frames are played too fast to actually freeze a moment and completely enjoy it.

Friday, November 18, 2011

I blog again!

It's been over three months since I've opened my blog to review my Personal life.
A lot has changed and I realise its for the good.
A change in Career has made me explain and explore my life.

Today, I took time out to blog myself out.
Lifes pretty much ended the same way it was before I tried to Change my life.
I end up being bored the same way I was three months back.

I've gained a lot with the change but lost my good old life.

Today is the day I break my shakkles and regain the good old life again ...!


One liner Stress buster for the day ends with the note
"Driving your point inn and trying to be good to everyone is touch task and ask. You ultimately end up being the culprit or rather looser."

Sunday, June 26, 2011

Find IP Address of a machine using Java (java.net)

Code to Find the IP Address of a local machine or any website on the network

import java.io.IOException;

import java.net.*;
public class Network {

    /**
     * @param args
     * @throws IOException
     */
    public static void main(String[] args) throws IOException {
        // TODO Auto-generated method stub
        // Get Hostname of the local machine
        sop("Local Host Name"+InetAddress.getLocalHost());
        //Get IP of google.co.in
        //Get IP of google.com
        sop("IP of website google.co.in : "+InetAddress.getByName("google.co.in"));
        sop("IP of website google.com  : "+InetAddress.getByName("google.com"));
        sop("IP address of my website "+InetAddress.getByName("javaapionline.com"));
       
   
       // Google has multiple IPs. To List all the IP's use getAllByName
        InetAddress SW[] = InetAddress.getAllByName("www.google.com");
        for (int i=0; i
        System.out.println(SW[i]);
       
       
        // Google - Sites - Using Instance of Address
        // Access hostname or host address
        InetAddress Address = InetAddress.getByName("google.com");
        sop("Google Host Name : "+Address.getHostName());
        sop("Google Host Address : "+Address.getHostAddress());
             
    }

    public static void sop(String b)
    {
        System.out.println(b);
       
    }
    public static void sop(boolean b)
    {
        System.out.println(b);
    }
}


--------------------------------------------------------------------------------

Sample Output ( Could Vary on your machine )
Local Host Name : xxx-xxx/124.123.161.188
IP of website google.co.in : google.co.in/74.125.236.49
IP of website google.com  : google.com/74.125.236.51
IP address of my website javaapionline.com/38.101.213.236
www.google.com/74.125.236.48
www.google.com/74.125.236.49
www.google.com/74.125.236.50
www.google.com/74.125.236.52
www.google.com/74.125.236.51
Google Host Name : google.com
Google Host Address74.125.236.51