LEMP, NGINX stack - Only home page works fine, all others give 404 error

If you have a problem where you have LEMP Stack (Nginx instead of apache) and you get 404 on all pages but front you probably need to change one line in your "/sites-enabled/your-iste" file. So lets open this nginx file that defines virtual block and change the part under "location" directive from
 

Installing composer on dedicated server

If you are having problems with installing composer on your dedicated server try it like this

sudo curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer

also check if you have openssl enabled as extension in your php.ini (this depends on php version)

Logging arrays with logger

In drupal 8 for logging we use logger service, to log array data in some readable format, you should use little hack like in drupal 7 adding html code and print_r to array.

First drush driver behat test

With drush driver for behat you will have some more power, basically drush power to do things. So to make out first drush test, you will need to bring some change in behat.yml file and change some lines.

Behat - log in to a site using only blackbox driver

This just another simple test for behat and mink combo with plain blackbox driver. To log in to a site and do check some behavior you can write this simple test, again no PHP needed for it. You will be logged in and checking what is on people admin page. Add it to your some.feature file and run behat.