Skip to content

Instantly share code, notes, and snippets.

View dikkedimi's full-sized avatar

dikkedimi

View GitHub Profile
@dikkedimi
dikkedimi / install_mysql.sh
Created October 19, 2017 01:33 — forked from rrosiek/install_mysql.sh
Vagrant provision script for php, Apache, MySQL, phpMyAdmin, Laravel, and javascript helpers. Tested with Ubuntu 16.04.
#! /usr/bin/env bash
###
#
# install_mysql.sh
#
# This script assumes your Vagrantfile has been configured to map the root of
# your application to /vagrant and that your web root is the "public" folder
# (Laravel standard). Standard and error output is sent to
# /vagrant/vm_build.log during provisioning.
@dikkedimi
dikkedimi / Vagrantfile
Last active October 19, 2017 02:02 — forked from bbaaxx/Vagrantfile
Vagrantfile for a cheap ember-cli box (with NVM)
# -*- mode: ruby -*-
# vi: set ft=ruby :
box = 'ubuntu/xenial64'
hostname = 'emberclibox'
domain = 'example.com'
ip = '192.168.33.10'
ram = '512'
$rootScript = <<SCRIPT
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'