$ php worker.php &
$ php worker.php &
$ php worker.php &
$ php worker.php &
$ php worker.php &
$ php client.php
#!/usr/bin/env python3 | |
def isOdd(i): | |
return False if format(i,'b')[-1] == '0' else True | |
def isEven(i): | |
return not isOdd(i) | |
if __name__ == '__main__': | |
for x in range(100): |
#!/usr/bin/env python3 | |
def isOdd(i): | |
return False if (i >> 1 << 1) == i else True | |
def isEven(i): | |
return not isOdd(i) | |
if __name__ == '__main__': | |
for x in range(100): |
<?php | |
function bmi ($height,$mass){ | |
return $mass / pow($height/100,2); | |
} | |
function h($str) { | |
return htmlspecialchars($str, ENT_QUOTES, "UTF-8"); | |
} | |
?> | |
<!DOCTYPE html> |