Skip to content

Instantly share code, notes, and snippets.

@jowave
jowave / .vimrc
Created March 24, 2018 17:34
Configuration file for Vim
" vimrc file by jowave
set nocompatible " Use vim defaults, not vi
" pathogen install:
" mkdir -p ~/.vim/autoload ~/.vim/bundle && \
" curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
call pathogen#infect()
syntax on
filetype plugin indent on
@jowave
jowave / Vagrantfile
Created December 1, 2016 09:22
Reading ".env" in Vagrantfile to provide environment for docker-compose
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
if !Vagrant.has_plugin?("vagrant-docker-compose")
print " WARN: Missing plugin 'vagrant-docker-compose'.\n"
print " Use 'vagrant plugin install vagrant-docker-compose' to install.\n"
end
compose_env = Hash.new