[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*
By Anonymous, 2015-07-22 14:51:27
if(wyraz.charAt(i) <"A" 
        && wyraz.charAt(i) != "-" 
            && wyraz.charAt(i)  != " " 
                && wyraz.charAt(i) != "." 
                    && wyraz.charAt(i) != "&" 
                        && wyraz.charAt(i) != "_" 
                            && wyraz.charAt(i) != "\"" 
                                && wyraz.charAt(i) != "'" 
                
) {                
    if(polska_litera(wyraz.charAt(i) ) == 0 ) 
                return NO; 
}
if(wyraz.charAt(i) >"Z" 
           && wyraz.charAt(i) != "-" 
                && wyraz.charAt(i)  != " " 
                    && wyraz.charAt(i) != "." 
                        && wyraz.charAt(i) != "&" 
                            && wyraz.charAt(i) != "_" 
                                && wyraz.charAt(i) != "\""
                                    && wyraz.charAt(i) != "'"
)

Just PKP :)

By Slacki, 2015-07-20 22:43:47
If Not task.PlannedEffort Is Nothing AndAlso task.PlannedEffort > 0 AndAlso Not _context.SystemSettingHelper.GetSystemSetting(SystemSetting.StatusInProgress).Split(","c).Any(Function(x) x.Trim = origIssue.fields.status.name.Trim()) AndAlso Not _context.SystemSettingHelper.GetSystemSetting(SystemSetting.StatusDone).Split(","c).Any(Function(x) x.Trim = origIssue.fields.status.name.Trim()) Then
 ' ...
End If

// TODO: remember to buy a second screen

By Anonymous, 2017-03-16 14:10:08
<form>
    Login : <input type=textbox name=login><br>
    Password : <input type=password name=pass><br>
    <input type=button value="OK" onCLick="if (login.value=='admin'&&pass.value=='123456') window.location.replace('admin.php'); ">
</form>
By Anonymous, 2015-07-22 14:31:42
<?php

function add_points ($resources, $userid) {
	return false;
}

function remove_points ($resources, $userid) {
	return false;
}

function get_userdata () {
	return '';
}
By Sobak, 2015-07-21 07:00:36
#2580 LSL +124
int my_strcmp(const char *out, const char *in   ){
  for( ;*(in) , *(out) &&  *(in) == *(out); *out++,*in++  );
	   return   *in <= *out ?  *out > *in   : -1   ;
	}

I don't know why but it works )))

By gne4do, 2022-07-06 21:52:09
function focused(evt, errors) {
	let form = evt.target

	const output = errors.map((error)=> {

		// Find first component with error on form and set focus to it

		let focusedInput = (Object.keys(error) == "phonebookId") ? Object.keys(error) :
			(Object.keys(error) == "phonebook_str") ? Object.keys(error) :
				(Object.keys(error) == "message") ? Object.keys(error) :
					(Object.keys(error) == "image") ? Object.keys(error) :
						(Object.keys(error) == "buttonLink") ? Object.keys(error) :
							(Object.keys(error) == "messageSms") ? Object.keys(error) : false
		return focusedInput.shift()
	})

	const selector = output.shift()
	form.querySelector('[id="' + selector + '"]').focus()

	return selector
}

What can I say... If you plan to work with freelancers with low rate then you should be ready to find it in them code :)

By Ya, 2016-10-02 12:16:46
if (type == cSTR_Integer) { 	
    type = cSTR_Integer; 
} else if (ctype == cSTR_String) {
    type = cSTR_String; 
}
By my boss, 2017-12-12 12:58:40
$scope.$$childHead.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling.$$nextSibling

Was trying to find a very specific text box and as an AngularJS noob, this was the only way I could find it at first. I eventually figured out how to not do this before it ever got committed to production though. :)

By Anonymous, 2017-12-12 16:47:10
<?php

/**
 * SetSelectedPlanet.php
 *
 * @version 1
 * @copyright 2008 By Chlorel for XNova
 */

function SetSelectedPlanet ( &$CurrentUser ) {
	global $_GET;
By Sobak, 2015-07-21 06:57:52


+[[>+]>[+>]+] 
By tbz, 2017-12-13 11:13:00
#557 C++ +110
int getChar(char charachter){
 int returnValue = Z;
 switch(charachter){
  case 'A': returnValue = A; break;
  case 'a': returnValue = A; break;
  case 'B': returnValue = B; break;
  case 'b': returnValue = B; break;
  case 'C': returnValue = C; break;
  case 'c': returnValue = C; break;
  case 'D': returnValue = D; break;
  case 'd': returnValue = D; break;
  case 'E': returnValue = E; break;
  case 'e': returnValue = E; break;
  case 'F': returnValue = F; break;
  case 'f': returnValue = F; break;
  case 'G': returnValue = G; break;
  case 'g': returnValue = G; break;
  case 'H': returnValue = H; break;
  case 'h': returnValue = H; break;
  case 'I': returnValue = I; break;
  case 'i': returnValue = I; break;
  case 'J': returnValue = J; break;
  case 'j': returnValue = J; break;
  case 'K': returnValue = K; break;
  case 'k': returnValue = K; break;
  case 'L': returnValue = L; break;
  case 'l': returnValue = L; break;
  case 'M': returnValue = M; break;
  case 'm': returnValue = M; break;
  case 'N': returnValue = N; break;
  case 'n': returnValue = N; break;
  case 'O': returnValue = O; break;
  case 'o': returnValue = O; break;
  case 'P': returnValue = P; break;
  case 'p': returnValue = P; break;
  case 'Q': returnValue = Q; break;
  case 'q': returnValue = Q; break;
  case 'R': returnValue = R; break;
  case 'r': returnValue = R; break;
  case 'S': returnValue = S; break;
  case 's': returnValue = S; break;
  case 'T': returnValue = T; break;
  case 't': returnValue = T; break;
  case 'U': returnValue = U; break;
  case 'u': returnValue = U; break;
  case 'V': returnValue = V; break;
  case 'v': returnValue = V; break;
  case 'W': returnValue = W; break;
  case 'w': returnValue = W; break;
  case 'X': returnValue = X; break;
  case 'x': returnValue = X; break;
  case 'Y': returnValue = Y; break;
  case 'y': returnValue = Y; break;
  case 'Z': returnValue = Z; break;
  case 'z': returnValue = Z; break;
  case ' ': returnValue = _; break;
  case '3': returnValue = B2; break;
  case '<': returnValue = TEMP; break;
  case '*': returnValue = FULL; break;
  case '|': returnValue = LINE; break;  
  case '_': returnValue = _; break;  
  case ':': returnValue = COL; break;  
  case '-': returnValue = DASH; break;  
  case ')': returnValue = BRA2; break;  
  case '%': returnValue = SMILE; break;  
  case '.': returnValue = DOT; break;    
  case '^': returnValue = COLDOT; break;      
  }
  return returnValue; //RETORNO DE INFORMAÇÃO
}

found on brazillian website

By Anonymous, 2020-02-15 00:18:29
string str = Console.ReadLine();
string len = 0;
for(int i = 0; i < str.Length; i++)
{
    len++;
}

Let's get string length :| Dummy

By Manoochehr Mojgani, 2017-12-13 16:47:11
int phoneNumberFinder(int phoneNum){
int num = 0;
   while (true){
    if(phoneNum == num){
     return num;
    else{
      num++;
    }
  }
}
By Neeson, 2017-12-13 21:33:52
string random = "1";
By Anonymous, 2018-01-11 20:23:55