"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself"
Sam Levenson
Pages: 123 ... 10
  1:  foreach (IWebElement option in allOptions)
  2:  {
  3:  	Console.WriteLine("Value is: " + option.Text);
  4:  	if ("Yahoo Mail".Equals(option.Text))
  5:  	{
  6:  		option.Click();
Tags: C#, continue, for View more Last activity 2 days, 4 hours ago  
  1:  $datum = Date("d.m.Y");
  2:  $kontrola1 = dibi::fetchSingle("SELECT date FROM upozorneni WHERE typ=%s AND date = %s","1",$datum);
  3:  $kontrola2 = dibi::fetchSingle("SELECT date FROM upozorneni WHERE typ=%s AND date = %s","2",$datum);
  4:  $kontrola3 = dibi::fetchSingle("SELECT date FROM upozorneni WHERE typ=%s AND date = %s","3",$datum);       
  5:  if ($kontrola1 != "") {
  6:    ...somestuff here...
Tags: mysql php dibi View more Last activity 2 days, 6 hours ago  
  1:  function clienti(){
  2:  	global $conn,$site,$sqldett,$viewdett,$viewdettant,$filtroAccount;
  3:  	$link    = $site . 'clienti/';
  4:  
  5:  	/*SEARCH*/
  6:  	$addsql = "";
Tags: config, sql, spaghetti, sql injection View more Last activity 4 days ago  
Csharp  Calculate array length -4 Votes
  1:      static int CalcArrayLength(int[] array)
  2:      {
  3:        int length = 0;
  4:        try
  5:        {
  6:          while(true)
Tags: array length View more Last activity 4 days, 3 hours ago  
Cpp  How to parse a date -7 Votes
  1:  char[7] textbox ;
  2:  
  3:  int one, two, three ;
  4:  char[3] temp ;
  5:  
  6:  temp[0] = textbox[0] ;
Tags: parsing date View more Last activity 6 days, 22 hours ago  
Lua  Spam can be an issue -331 Votes
  1:  just look deeper
View more Last activity 6 days, 22 hours ago  
Java  Found in production -13 Votes
  1:  // TODO: just testing, remove in production!!!
  2:  if (true) return false;
Tags: mistake View more Last activity 1 week, 1 day ago  
  1:  for (int i = 0; i < [framesPerPage count]; i++) {			
  2:  	if (i+4<[framesPerPage count]) {
  3:  		NSArray *frame = [NSArray arrayWithObjects:[framesPerPage objectAtIndex:i+1],
  4:                                 [framesPerPage objectAtIndex:i+2],[framesPerPage objectAtIndex:i+3],
  5:                                  [framesPerPage objectAtIndex:i+4],nil];
  6:                   i+=4;
Tags: objective-c iOS for View more Last activity 2 weeks, 2 days ago  
Cpp  I don't trust "if" -94 Votes
  1:  if (result <= 10) {
  2:     handling();
  3:  }
  4:  else if (result > 10) {
  5:    otherHandling();
  6:  }
View more Last activity 4 weeks, 1 day ago  
Java  xookrbu mcbxhzd 0 Votes
  1:  aewiecbeqsphsbnnjoh, <a href="http://www.mdhimolpdq.com/">nejwblgaxl</a> , [url=http://www.rlljvuhrkt.com/]rcmsbtygtx[/url], http://www.iczcuohlpp.com/ nejwblgaxl
Tags: mpcrhiqv View more Last activity 1 month ago