This file contains 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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: yuklia | |
* Date: 6/16/15 | |
* Time: 3:51 PM | |
*/ | |
namespace Groups\Forms; |
This file contains 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
<?php | |
/** | |
* @copyright Bluz PHP Team | |
* @link https://github.com/bluzphp/skeleton | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace Application\Groups; |
This file contains 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
<?php | |
class Math | |
{ | |
public static function min($original) | |
{ | |
$i = 0; | |
$mi = $original[$i]; | |
for (; $i < count($original);) { |
This file contains 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
<?php | |
function calculate($arr, $len){ | |
$inArray = function($ar, $value){ | |
for ($i = 0; $i < count($ar); $i++) { | |
if ($ar[$i] == $value) { | |
return true; | |
} | |
} |
This file contains 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
/* | |
SQLyog Ultimate v8.32 | |
MySQL - 5.6.16 : Database - problem2 | |
********************************************************************* | |
*/ | |
/*!40101 SET NAMES utf8 */; | |
/*!40101 SET SQL_MODE=''*/; |
This file contains 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
<phpunit bootstrap="Bootstrap.php" colors="true"> | |
<php> | |
<var name="DB_DSN" value="mysql:host=172.17.0.2;dbname=ss_test" /> | |
<var name="DB_USER" value="yuklia" /> | |
<var name="DB_PASSWD" value="123" /> | |
<var name="DB_DBNAME" value="ss_test" /> | |
<server name="REMOTE_ADDR" value="http://ss"/> | |
</php> | |
<testsuites> | |
<testsuite name="all-tests"> |
This file contains 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
run # git pull origin develop | |
docker/ubuntuBase.Dockerfile was removed. Use ss/docker/ubuntu/ubuntuBase.Dockerfile instead |
This file contains 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
run # git pull origin develop | |
Sorry for an error "Step 8 : ADD add_dev_user /home" | |
It was because of extension ".sh". So i removed it and image was successfully built. | |
This file contains 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
run # git pull origin develop | |
Sorry for an error "Step 8 : ADD add_dev_user /home" | |
It was caused by extension .sh. So I made a decision to remove it and image was successfully built. |
This file contains 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
run # git pull origin develop | |
Sorry for an error "Step 8 : ADD add_dev_user /home" | |
It was caused by extension .sh. So I made a decision to remove it and image was successfully built. | |
If you run into such error : ERROR: No such image: 13d6972f73f7a175ef3e9c8627ee330d802e865cbdf3ffb8d1d05b40976d74dc | |
Try to remove all containers | |
# docker stop $(docker ps -a -q) | |
# docker rm $(docker ps -a -q) |
OlderNewer