Skip to content

Instantly share code, notes, and snippets.

@joestrong
joestrong / .vimrc
Last active February 13, 2016 19:39
.vimrc configuration
set nocompatible
set number
:inoremap jj <ESC>
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab
:set backspace=indent,eol,start
@joestrong
joestrong / .aliases
Last active October 20, 2015 23:47
Bash/Zsh aliases/config
alias dc="docker-compose"
alias spec="./vendor/bin/phpspec"
alias behat="./vendor/bin/behat"
alias jasmine="./node_modules/jasmine/bin/jasmine.js"
alias ll="ls -lah"
@joestrong
joestrong / docker-nginx-php7fpm
Created September 20, 2015 14:29
Simple Nginx & PHP-FPM setup
docker run -tid -v /home/user/webdir:/usr/share/nginx/html --name php7fpm php:7-fpm
docker run -tidp 127.0.0.1:80:80 -v /home/user/webdir:/usr/share/nginx/html -v /home/user/webdir/nginx-host.conf:/etc/nginx/conf.d/default.conf --link php7fpm --name webapp nginx