logo

Blog

Drupal.org dark theme

Submitted by Ivan Abramenko on Mon, 10/14/2019 - 07:25

I'm used to working with dark themes everywhere: PhpStorm, Ubuntu, Chrome, phone applications. It's pretty annoying when you switched from dark theme to fully white browser tab. I don't know when Drupal.org will have dark theme, so I added this CSS hack for yourself:

 https://gist.github.com/levmyshkin/c127f1ff539965923fdac6679c530a5b

You can use Chome extension User CSS and add CSS code separately for Drupal.org site:

Install xdebug on Ubuntu LAMP

Submitted by Ivan Abramenko on Sun, 07/08/2018 - 13:24

Firstly, we need to install php library for xdebug:

sudo apt update
sudo apt install php7.2-xdebug

For other versions of PHP you can use php7.x-xdebug or php5.x-xdebug for PHP 5.x versions.

Further we need to see /usr/lib/php folder and find our xdebug.so file. 

cd /usr/lib/php
ls

PHP xdebug

Install LAMP on Ubuntu

Submitted by Ivan Abramenko on Wed, 06/27/2018 - 03:45

Install apache:

sudo apt-get update
sudo apt-get install apache2

Install additional packages:

sudo apt-get install curl git

Install MySQL:

sudo apt-get install mysql-server

Execute mysql secure installation:

mysql_secure_installation

Install PHP