Skip to content

Instantly share code, notes, and snippets.

View LehaMotovilov's full-sized avatar
🇺🇦
Just do IT!

Oleksii Motovilov LehaMotovilov

🇺🇦
Just do IT!
View GitHub Profile
// Типы данных
// 123
// 'hello'
// true / false
// []
// Переменные
const leha = 'margo';
const margo = 'margo1';
@LehaMotovilov
LehaMotovilov / nginx.conf
Created May 26, 2016 12:43
nginx http to https
server {
listen 80;
server_name domain.com;
rewrite ^(.*) https://$server_name$1 permanent;
}
@LehaMotovilov
LehaMotovilov / xdebug.php.ini
Created April 22, 2016 14:22
xdebug.php.ini
; xdebug
xdebug.cli_color=2
xdebug.overload_var_dump=1
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.remote_connect_back=1
xdebug.idekey=PHPSTORM
@LehaMotovilov
LehaMotovilov / error
Created April 15, 2016 11:14
vim error
alekseymotovilov@MacBook-Pro-Aleksey  ~/Sites/vim   master  vim +PluginInstall +qall
Error detected while processing /Users/alekseymotovilov/.vimrc:
line 46:
E117: Unknown function: vundle#begin
line 48:
E492: Not an editor command: Plugin 'VundleVim/Vundle.vim'
line 49:
E492: Not an editor command: Plugin 'scrooloose/nerdtree'
line 50:
E492: Not an editor command: Plugin 'chase/vim-ansible-yaml'