Skip to content

Instantly share code, notes, and snippets.

View perandre's full-sized avatar

Per André Rønsen perandre

View GitHub Profile
@perandre
perandre / wp-vagrant
Last active August 29, 2015 14:23
Vagrant setup for WP core dev
- Install latest version of Vagrant + VirtualBox
- Download https://github.com/Varying-Vagrant-Vagrants/VVV and unzip VVV-folder
- cd into VVV/ and run:
- $ vagrant plugin install vagrant-hostsupdater
- $ vagrant box add ubuntu/trusty64 contributor.box
- $ vagrant up
- Wait for it
- Visit one of the local URLs here https://github.com/Varying-Vagrant-Vagrants/VVV
@perandre
perandre / bakeri-grid
Last active October 3, 2017 11:31
Bakeri grid
<h2>3 kolonner</h2>
<div class="l-row grid-three">
<div class="grid-item">Col 1</div>
<div class="grid-item">Col 2</div>
<div class="grid-item">Col 3</div>
</div>
<h2>2 kolonner</h2>
# START WP-CLI BUILD BLOCK
# ------------------------------------------------------------
# This block is generated everytime you run 'wp build generate'
# Rules: Exclude everything from git except for your custom plugins/themes
# ------------------------------------------------------------
/*
!.gitignore
!build.yml
!wp-content
wp-content/*
core:
download:
version: 4.9.*
locale: en_US
plugins:
gutenberg:
version: 2.2.0
wp-super-cache:
version: '*'
themes: