dotychczasowyPostep += predkosc * 1;
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
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 :)
if (type == cSTR_Integer) {
type = cSTR_Integer;
} else if (ctype == cSTR_String) {
type = cSTR_String;
}
<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>
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*
bool IsEven(int i)
{
if (i < 0)
i *= -1;
while(i > 0)
i -= 2;
if (i == -1)
return false;
else
return true;
}
An is even function that is technically correct, but a really bad approach.
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 :)
return IsActive == true ? true : false;
$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. :)
string str = Console.ReadLine();
string len = 0;
for(int i = 0; i < str.Length; i++)
{
len++;
}
Let's get string length :| Dummy
if ( $ordinal_competitors > 0 ) {
foreach( $ordinal_bests as $label => $tuple ) {
unset( $waste[ $tuple['id']->{ '$id' } ] );
$essential[ $search_str ][ $tuple['stamp'] ][ $tuple['source'] ]['updated_at'] = $tuple['updated'];
$essential[ $search_str ][ $tuple['stamp'] ][ $tuple['source'] ]['proposals'][ $label ] = $tuple['price'];
$final_count ++;
}
}
+[[>+]>[+>]+]
string random = "1";
<?php
function add_points ($resources, $userid) {
return false;
}
function remove_points ($resources, $userid) {
return false;
}
function get_userdata () {
return '';
}