Why girls don’t love software guys….?


Why girls don’t love software guys….?

image014

image015

image016

image017

Advertisements

Muttiah Muralitharan reaches 800


Muttiah Muralitharan leads Sri Lanka off the field after taking 5-63 in the first innings of his final Test

Muralitharan celebrates after ripping through the India first innings

 

Muttiah Muralitharan became the first bowler to take 800 Test wickets on the final day of his Test career in Galle.

The Sri Lanka off-spinner, 38, who made his Test debut in 1992, began his final match against India on 792 wickets.

He ousted record Test run-scorer Sachin Tendulkar on Tuesday and went on to take 5-63 as India had to follow on.

Team-mate Lasith Malinga took 5-48 but with the last pair together, Murali had last man Pragyan Ojha caught by Mahela Jayawardene at slip to reach his 800.

TOP TEST WICKET-TAKERS
800* Muttiah Muralitharan (SL)
708 Shane Warne (Aus)
619 Anil Kumble (Ind)
563 Glenn McGrath (Aus)
519 Courtney Walsh (WI)
434 Kapil Dev (India)
431 Sir Richard Hadlee (NZ)
421 Shaun Pollock (SA)
414 Wasim Akram (Pakistan)
405 Curtly Ambrose (WI)
*includes 5 for ICC XI

It left Sri Lanka needing to score 95 to win the game and take a 1-0 lead in the series, but Muralitharan’s achievement – reached in his 133rd Test – will overshadow the game.

Earlier in July, the BBC Sinhala Service revealed Muralitharan’s retirement plans – and he later confirmed that this Test in Galle, the first of a three-game series, would be his last.

He is expected to continue to play limited-overs internationals until next spring’s World Cup, which will be staged in Sri Lanka, India and Bangladesh.

Born in Kandy, Muralitharan has also taken 515 wickets in 337 one-day internationals, and a further 13 in Twenty20 internationals.

source: http://news.bbc.co.uk/sport2/hi/cricket/other_international/sri_lanka/8841333.stm?utm_source=twitterfeed&utm_medium=twitter

World Cup 2010 Final


Spain celebrate winning the 2010 FIFA World Cup South Africa Final

Champions of Europe and now champions of the world, Spain captured football’s Holy Grail for the first time with a 1-0 victory over the Netherlands thanks to Andres Iniesta’s 116th-minute strike at Soccer City.

The solitary goal came with penalties looming as substitute Cesc Fabregas played in Iniesta and the little midfielder drove emphatically across Maarten Stekelenburg and into the far corner. With this victory – their fourth successive single-goal win in South Africa – Spain became the eighth name on the FIFA World Cup™ Trophy and also the first European team to have triumphed on a different continent. For the Netherlands, who lost defender John Heitinga to a red card in extra time, there is only the heartache of another tale of what might have been after they completed a hat-trick of Final losses.

This was a match preceded by much talk of two like-minded footballing cultures, of the influence of Dutchmen like Johan Cruyff and Rinus Michels, of ‘tiki taka‘ and Total Football. In many ways, as the first 116 minutes showed, it was also a case of the irresistible force versus the immovable object. The Dutch had won 14 straight games to get to the Final, in qualifying and the tournament proper, and Spain 15 out of 16, their only slip the defeat by Switzerland in their first game here in South Africa.

It was the Spanish found their stride first, living up to their pre-game billing as favourites. Vicente del Bosque’s side dominated possession and created the early chances. With the Dutch penned inside their half, goalkeeper Stekelenburg had to make a save after five minutes, diving low to stop a Sergio Ramos header from Xavi’s free-kick from the right. Gerard Pique looked poised to follow up only to be denied by a combination of Joris Mathijsen and Dirk Kuyt.

Ramos came again in the tenth minute, beating Kuyt on the right and driving in a low centre that Heitinga deflected behind. From the corner came another scare for the Netherlands. Xavi played the ball back to Xabi Alonso whose cross went beyond the far post to David Villa but the in-form No7 sliced his volley into the side-netting. After those near things, however, both defences got on top with none of the flair players on either side able to take a grip on proceedings. Instead the yellow-card count began to rise with Nigel de Jong becoming the fifth player in Howard Webb’s notebook by the time the half-hour mark arrived.

With the orange sections of the 84,490 Soccer City crowd finding their voice, Bert van Marwijk’s men almost gave them something to sing about from a corner in the 37th minute. Robben rolled the ball to Mark van Bommel on the edge of the box and although he failed to make a clean connection he unwittingly diverted the ball on to the unmarked Mathijsen but the defender missed his kick. As half-time approached, Iker Casillas had barely had a save to make but entering stoppage time, he had to be alert to deny Robben at his near post as a spell of Dutch pressure ended with the winger spearing in a low shot from the corner of the box.

Puyol, Spain’s semi-final matchwinner, showed his aerial threat once more minutes after the restart when he rose above Heitinga and headed to the far post but Joan Capdevila failed to make contact. The game was gradually opening up and the Dutch spurned a golden opportunity in the 62nd minute when Wesley Sneijder sent Robben running clear. Casillas came to Spain’s rescue, deflecting the shot behind with his right foot when falling the wrong way.

Spain coach Del Bosque had already sent on Jesus Navas for Pedro on the hour and the winger helped pick a hole in the Dutch defence in the 70th minute. Xavi sent him flying down the right into the box and when Heitinga failed to deal with Navas’s low cross, the ball fell to Villa who looked odds-on to score only to see his effort deflected behind. Ramos was equally profligate after 78 minutes when he headed over a Xavi centre when unmarked, after Villa had forced another corner.

Spain were looking the more likely winners and it took Sneijder of all people to foil Iniesta with a smart tackle after his jinking run into the box. Yet Robben’s pace was a persistent threat and theOranje No11 almost embarrassed Puyol in the 82nd minute, speeding clear of the Spain defender when second-favourite to reach a through-ball. Resisting Pique’s attempt to tackle too, he was foiled only by Casillas, the captain saving at Robben’s feet as the Dutchman tried to round him.

Extra time began with opportunities for Spain. Xavi failed to connect when well positioned and when the ball ran to Villa, his shot went wide off an orange shirt. Substitute Fabregas then broke clear on to Iniesta’s through-ball but was foiled by Stekelenburg. Mathijsen headed wide from a corner but like waves, Spanish attacks kept rolling on to the Netherlands back line and Navas was close with a shot deflected into the side-netting.

Fernando Torres replaced Villa midway through the extra period and Spain gained a man advantage four minutes later with Heitinga’s dismissal for pulling back Iniesta on the edge of the box, the offence earning him a second yellow. Iniesta would not be denied, however, and his fine late strike put Spain into the history books and left a Dutch dream shattered.

World Cup Final, Spain Vs Netherland


Football News: Iker Casillas

A closer look at the key battles on the pitch in the 2010 FIFA World Cup™ Final to be held later today.

The great underachievers of world football meet at Johannesburg’s Soccer City stadium on Sunday, both bidding for their first tournament success at the World Cup.

We preview the key battles around the pitch.

WESLEY SNEIJDER vs XAVI

Sneijder has been the hit of the tournament and promises to be the main midfield threat to Spain’s dream of lifting the World Cup. The Inter Milan ace has bagged five goals so far and is bidding to land the tournament’s Golden Boot. The passing ability of the Barcelona’s Xavi is unsurpassed in the tournament and he was the main architect of all their best moves against Germany in the semi-final. If the Dutch are to nullify his threat, they will have to be on top of their game.

Verdict: Xavi to triumph.

MAARTEN STEKELENBURG vs IKER CASILLAS

Both goalkeepers will have to be at their very best throughout 90 minutes, but the possibility of extra-time and a penalty shoot-out will heap more pressure on the pair. When it comes to penalties, Real Madrid’s Casillas, 29, has the upper hand. He made two saves against Italy in Euro 2008. Stekelenburg has no penalty shoot-out experience but has, so far, enjoyed a fine tournament although he was partly at fault for Diego Forlan’s long-range goal for Uruguay in the semi-final.

Verdict: Experienced Casillas to rule.

ARJEN ROBBEN vs JOAN CAPDEVILA

Former Chelsea winger Arjen Robben has been absolutely outstanding in a World Cup when so many of the game’s biggest stars have failed to shine. Robben, 26, came into the tournament on the back of an exceptional season with Bayern Munich and his form has simply got even better. The man to stop the Dutch destroyer is likely to be 32-year-old left-back Capdevila, especially as Robben likes to cut in from the right wing. The Villarreal defender may not be the quickest but has more than enough experience to cope with the threat of Robben.

Verdict: Capdevila to neutralise Robben.

Source: http://www.espnstar.com/football/world-cup/news/detail/item465326/Spain-vs-Netherlands—Key-Battles/


Deleting the Windows Service


We can delete the windows service using the .net. We need low level delete for this case. If service is running, it should be stopped first. DeleteService method deletes the closed service. Following full code implements the service deletion strategy.

class Program
{

static void Main(string[] args)

{

try

{

ServiceController sc = new ServiceController("Full Service Name");

// If service is not found in the machine, we should get exception from sc.Status

if (sc.Status == ServiceControllerStatus.Running)

{

TimeSpan waitTo = new TimeSpan(0, 0, 30);

sc.Stop();

sc.WaitForStatus(ServiceControllerStatus.Stopped, waitTo);

}

IntPtr schSCManager = OpenSCManager(null, null, SCM_ACCESS.SC_MANAGER_ALL_ACCESS);

if (schSCManager != IntPtr.Zero)

{

IntPtr schService = OpenService(schSCManager, "Full Service Name",

SERVICE_ACCESS.SERVICE_ALL_ACCESS);

if (schService != IntPtr.Zero)

DeleteService(schService);

CloseServiceHandle(schSCManager);

// if we don't close this handle, Services control panel

// shows the service as "disabled", and we'll get 1072 errors

// trying to reuse this service's name

if (schService != IntPtr.Zero)

CloseServiceHandle(schService);

}

}

catch (Exception)

{

Console.WriteLine("Failed");

}

Console.ReadKey();

}

[DllImport("advapi32.dll", SetLastError = true)]

[return: MarshalAs(UnmanagedType.Bool)]

public static extern bool DeleteService(IntPtr hService);

[DllImport("advapi32.dll", SetLastError = true, CharSet = CharSet.Auto)]

static extern IntPtr OpenService(IntPtr hSCManager, string lpServiceName, SERVICE_ACCESS dwDesiredAccess);

[DllImport("advapi32.dll", EntryPoint = "OpenSCManagerW", ExactSpelling = true, CharSet = CharSet.Unicode, SetLastError = true)]

static extern IntPtr OpenSCManager(string machineName, string databaseName, SCM_ACCESS dwDesiredAccess);

[DllImport("advapi32.dll", SetLastError = true)]

[return: MarshalAs(UnmanagedType.Bool)]

static extern bool CloseServiceHandle(IntPtr hSCObject);

}

[Flags]

public enum SERVICE_ACCESS : uint

{

STANDARD_RIGHTS_REQUIRED = 0xF0000,

SERVICE_QUERY_CONFIG = 0x00001,

SERVICE_CHANGE_CONFIG = 0x00002,

SERVICE_QUERY_STATUS = 0x00004,

SERVICE_ENUMERATE_DEPENDENTS = 0x00008,

SERVICE_START = 0x00010,

SERVICE_STOP = 0x00020,

SERVICE_PAUSE_CONTINUE = 0x00040,

SERVICE_INTERROGATE = 0x00080,

SERVICE_USER_DEFINED_CONTROL = 0x00100,

SERVICE_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED |

SERVICE_QUERY_CONFIG |

SERVICE_CHANGE_CONFIG |

SERVICE_QUERY_STATUS |

SERVICE_ENUMERATE_DEPENDENTS |

SERVICE_START |

SERVICE_STOP |

SERVICE_PAUSE_CONTINUE |

SERVICE_INTERROGATE |

SERVICE_USER_DEFINED_CONTROL)

}

[Flags]

public enum SCM_ACCESS : uint

{

STANDARD_RIGHTS_REQUIRED = 0xF0000,

SC_MANAGER_CONNECT = 0x00001,

SC_MANAGER_CREATE_SERVICE = 0x00002,

SC_MANAGER_ENUMERATE_SERVICE = 0x00004,

SC_MANAGER_LOCK = 0x00008,

SC_MANAGER_QUERY_LOCK_STATUS = 0x00010,

SC_MANAGER_MODIFY_BOOT_CONFIG = 0x00020,

SC_MANAGER_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED |

SC_MANAGER_CONNECT |

SC_MANAGER_CREATE_SERVICE |

SC_MANAGER_ENUMERATE_SERVICE |

SC_MANAGER_LOCK |

SC_MANAGER_QUERY_LOCK_STATUS |

SC_MANAGER_MODIFY_BOOT_CONFIG

}