Skip to content

Instantly share code, notes, and snippets.

View megawubs's full-sized avatar
💭
🏋️‍♂️

Bram Wubs megawubs

💭
🏋️‍♂️
View GitHub Profile
""" Map leader to space ---------------------
let mapleader = " "
""" Plugins --------------------------------
""" set number
" Do incremental searching.
set incsearch
set ignorecase
set smartcase
set hlsearch
""" Needed for which-key pluginset which-key
@megawubs
megawubs / docker-compose.yml
Created April 7, 2016 11:54
1Password Anywhere Docker Compose
1pass:
image: httpd:2.4
ports:
- "5001:80"
volumes:
- "./1Password.agilekeychain/:/usr/local/apache2/htdocs/"
@megawubs
megawubs / .tmux.conf
Last active February 18, 2016 06:44
# Our .tmux.conf file
# Setting the prefix from C-b to C-a
# START:prefix
set -g prefix C-a
# END:prefix
# Free the original Ctrl-b prefix keybinding
# START:unbind
unbind C-b

Requirements

  • Docker Machine + Docker
  • curl
  • A Virtualbox-driven Docker Machine called "default" docker-machine create --driver virtualbox default (this is the default with Docker toolkit).

Usage

The git.io URL (http://git.io/vsk46) is a shortened form of the raw url of the plist.

PHPUnit API

  • version 3.6
@megawubs
megawubs / gist:5133158
Last active December 14, 2015 18:59
Webserver one line installation

###1 one-line installment of php, apache, mysql and phpmyadmin:

$ sudo apt-get install apache2 php5-mysql php5-curl libapache2-mod-php5 mysql-server phpmyadmin

###2: open up vim

$ sudo vim /etc/apache2/apache2.conf
@megawubs
megawubs / gist:4433753
Last active April 18, 2017 05:27 — forked from davidalexander/gist:1086455
Magento snippets

Magento Snippets

Download extension manually using pear/mage

Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/

./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent

Clear cache/reindex