create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
# app/validation/AbstractValidator.php | |
<?php namespace YourApp\Validation; | |
/** | |
* Abstract implementation of a validator. | |
* | |
* @author Andrea Marco Sartori | |
*/ | |
abstract class AbstractValidator implements ValidatorInterface |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
<?php | |
// full path to text file | |
define("TEXT_FILE", "/home/www/default-error.log"); | |
// number of lines to read from the end of file | |
define("LINES_COUNT", 10); | |
function read_file($file, $lines) { | |
//global $fsize; |