sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| 1. Open a PC file $HOME/.local/share/applications/google-chrome.desktop | |
| 2. Find a line in it Exec=/opt/google/chrome/chrome | |
| 3. At the end of the line add '%U' to succeed Exec=/opt/google/chrome/chrome %U | |
| 4. Save the file. |
| На сервері: | |
| інсталюємо xdebug; | |
| редагуємо документ xdebug.ini (/etc/php5/conf.d/; /etc/php/7.0/fpm/conf.d/); | |
| zend_extension=/usr/lib/php5/20100525/xdebug.so - якщо відсутній рядок у файліЮ то прописуємо | |
| xdebug.profiler_enable = 0 | |
| xdebug.remote_enable = 1 | |
| xdebug.remote_host = 127.0.0.1 | |
| xdebug.remote_port=9001 | |
| xdebug.remote_handler=dbgp |
| #!/bin/bash | |
| # for install docker and docker-compose | |
| sudo apt-get update | |
| sudo apt-get -y install docker.io docker-compose | |
| # open file and write DOCKER_OPTS="--bip 172.17.42.1/16" | |
| sudo nano /etc/default/docker | |
| # then restart docker service |
| # http://editorconfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 4 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
| <?php namespace App; | |
| use App\Carbon\LocalizedDiffForHumansTrait; | |
| use Illuminate\Database\Eloquent\Model; | |
| // example model | |
| class Article extends Model | |
| { | |
| use LocalizedDiffForHumansTrait; |