Skip to content

Instantly share code, notes, and snippets.

View qWici's full-sized avatar

Ivan Kucher qWici

View GitHub Profile
@qWici
qWici / .zshrc
Created April 14, 2018 10:58
.zshrc
export TERM="xterm-256color"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/w33ha/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@qWici
qWici / .vimrc
Created March 2, 2018 07:36
Vim config
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'stanangeloff/php.vim'
Plug 'shawncplus/phpcomplete.vim'
Plug 'arnaud-lb/vim-php-namespace'
Plug 'pangloss/vim-javascript'
Plug 'jdkanani/vim-material-theme'
Plug 'jiangmiao/auto-pairs'
Plug 'kien/ctrlp.vim'
@qWici
qWici / google-chrome.desktop
Last active December 5, 2017 07:15
Fix the problem by opening the empty Chrome tab on Ubuntu
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.
@qWici
qWici / appache_settings.txt
Last active January 11, 2018 08:43 — forked from georgebent/appache_settings.txt
Apache 2 Server Settings
<VirtualHost localhost:80>
ServerName test.dev
ServerAlias www.test.dev
DocumentRoot /home/yura/projects/test.dev
<directory /home/yura/projects/test.dev>
AllowOverride All
Require all granted
</directory>
ErrorLog /home/w33ha/dev/logs/smc.dev/error.log
LogLevel warn
@qWici
qWici / httpd
Created December 2, 2017 21:54
XAMPP config for redirect to local site
// Add in end of file
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/{site_folder}"
ServerName {site_url}
<Directory "C:/xampp/htdocs/{site_folder}">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
@qWici
qWici / .env.travis
Last active February 25, 2020 00:24 — forked from gilbitron/.env.travis
Laravel 5.5 Travis CI config
APP_ENV=testing
APP_KEY=SomeRandomString
DB_CONNECTION=testing
DB_TEST_USERNAME=root
DB_TEST_PASSWORD=root
CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_DRIVER=sync