Fraud hit Company ‘Satyam’ goes to TechMahindra


Tech Mahindra wins Satyam bid; Gets 31% stake for Rs. 1757 crore
Tech Mahindra Ltd., wins the bid for Satyam Computer Services Ltd(fourth largest Indian software services company). Tech Mahindra bid at Rs 58/share while L&T bid at Rs 49.50/share, states Dow Jones on CNBC TV18. Tech Mahindra wins bid for Satyam and three months of drama comes to an end for Satyam. Tech Mahindra to pay Rs 1757 crore for 31% at Rs 58/share. Tech Mahindra stocks surged today in the morning to 24% and is now trading at Rs 369, up 15% on the BSE. Experts feel the Satyam board deserves a pat for resolving the issue within 3 months.

Satyam Computer Services Ltd., surged yesterday to 14 per cent in the Mumbai trading as both Larsen & Toubro Ltd. and Tech Mahindra Ltd. vie for control. They competed with bids for achieving a controlling stake in the company which is amidst fraud inquiry. While Larsen & Toubro Ltd., played at Rs. 49.50 per share, Tech Mahindra Ltd won it at Rs. 58 per share.

Climbing north to 14 percent to 53.80 rupees just sometime back as of 10 a.m. yesterday morning; the outcome of the bidding is that Tech Mahindra won the stake in the company.

It means Tech Mahindra Ltd., will now get control over Satyam’s 50,000 employees that and also a chance to increase its domain expertise breadth from Telecom to clients like Nestle, GM, Nissan. Tech Mahindra Ltd. is a company that is partly owned by BT Group PLC.

THE ULTIMATE SEARCH ENGINE LOOPHOLE


THE ULTIMATE SEARCH ENGINE LOOPHOLE
It is not easy to describe what The Ultimate Search Engine Loophole is because the concept is so very innovative and different. At best, it is a method to bring websites to the top of search engine rankings by exploiting a loophole that is present in them, especially in MSN.

The product has been designed by Chris Rempel (TheLazyMarketer.com) and Dave Kelley (Arundel.com) in joint collaboration. Chris Rempel is famous for his previous product The Conduit Method also, and Dave Kelley is known for Linkvana.

>
Benefits of The Ultimate Search Engine Loophole
The Ultimate Search Engine Loophole taps a defect in the search engine algorithms in order to bring websites to the top of the rankings.
It is specially designed for the MSN search engine.
The method does not do anything illegal. It is completely white hat.
There are various things that The Ultimate Search Engine Loophole contains. This product has an eBook, an automating software applications, blogs (for which the program shows how to generate content), links to several websites and a particular kind of web hosting that can target some special IP addresses for the website that can improve its ranking.
The method described in this product is a long lasting method. It will not give just a temporary spurt to your website rankings, but they will stay there for a long time.
The search engine rankings are improved through any keyword that the author chooses.
The improvement in the search engines using this technique becomes apparent within a short time, as short as 5 days.
What’s Unique about The Ultimate Search Engine Loophole?
Everything about The Ultimate Search Engine Loophole is unique because it is a never-before concept. It is a guaranteed technique to bring your website to the top of MSN, even as the first result. Though MSN pales in comparison with Google, it is still used by a significant number of users, which makes this technique valuable.

The best thing about The Ultimate Search Engine Loophole is that it is perfectly legal. You are not tweaking the system in any way; you are only making use of a defect in MSN’s own system. This cannot be considered illegal by any counts.

Also, the method puts a paid to keyword based SEO. Any keyword can be used by marketers – there is also a list of noncompetitive impossible keywords present on the website – which marketers can use in order to boost their search engine rankings on MSN.

Other Features
The price of The Ultimate Search Engine Loophole is a bit steep at $67 considering that it works only for MSN, but even then it is worth considering because a significant number of people from over the world use MSN as their primary search engine. However, this is a onetime payment to use this technique for life, for any number of websites. There are no recurring payments to be made. Payment is accepted through Clickbank. Any credit card is applicable.

How to create a new file from existing file using grep command in unix.


Consider i have a file named as main.log having following contents:
Today is Monday
Today is Monday
Today is Tuesday
Today is Monday
Today is Wednesday
Today is Monday
Today is Thursday

And now i want to make a new file which contains line having “Monday” .
Command is :
grep “Monday” main.log > monday.log

Now if in case you want to append to the same file then:
grep “Monday” main.log >> monday.log

The single > is used to create a new file and >> is used to append the existing file.

How the substring() function of String class works..


Consider the following code

String s1 = "Monday";
String s = s1.substring(0,3);
or
s1.substring(0,3).equals("Mon")

substring is clever. It does not make a deep copy of the substring the way most languages do. It just creates a pointer into the original immutable String, i.e. points to the value char[] of the base string, and tracks the starting offset where the substring starts and count of how long the substring is.
The downside of this cleverness is a tiny substring of a giant base String could suppress garbage collection of that big String in memory even if the whole String were no longer needed. (actually its value char[] array is held in RAM; the String object itself could be collected.)
If you know a tiny substring is holding a giant string in RAM, that would otherwise be garbage collected, you can break the bond by using

String s = new String(s1.substring(0,3));

How to inject prototype dependency in a singleton bean


As we know once the singleton bean is created all the properties object defined in it are created once. But what about special and rare case in which one of the property object needs to be created everytime the singleton object is required. for example i have put a property in a singleton object as Timestamp, which can tell me when my singleton object was accessed. For this I need to know the exact time when the object is fetched and not created.
Possible solution could be everytime the method “getInstance()” is called a new Timestamp object is created and injected into spring object.
This is also possible in Spring using look-up method injection.
Lookup method injection refers to the ability of the container to override methods on container managed beans, to return the result of looking up another named bean in the container. The lookup will typically be of a prototype bean.

public abstract class SingletonBean{
public abstract Timestamp getCurrentTime();
}


In spring.xml
< bean id="mySingleton" class="com.SingletonBean" >
< lookup-method name="getCurrentTime" bean="currentTimeBean"/ >
< / bean >
< bean id ="currentTimeBean" class="java.sql.TimeStamp" scope="prototype"/ >

It is mandatory to make currentTimeBean as prototype otherwise same instance of bean will be passed.