This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reference: https://superuser.com/a/258103 | |
Add this to the bottom of the file: | |
[www] | |
comment = another share | |
path = /var/www | |
guest ok = yes | |
browseable = yes | |
read only = no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Finds the smallest positive integer which does not exist in an array. | |
* | |
* @param array $a | |
* The array to check. | |
* | |
* @return int | |
* The smallest positive integer not found in $a. | |
*/ | |
function solution2(array $a) { |
NewerOlder